diff options
author | Anand B Jyoti <anand.b.jyoti@intel.com> | 2017-08-10 12:16:53 +0530 |
---|---|---|
committer | Anand B Jyoti <anand.b.jyoti@intel.com> | 2017-09-27 03:29:32 +0530 |
commit | 14714e067d8e04a5b0ed9ee7f57b8bacbb8bccf3 (patch) | |
tree | 8c828ef8c6eea865256708fe2462947c6fa1bf1c /VNFs/vCGNAPT/config | |
parent | 33dff16b1f7d4b3bcf9a96f0506fcee0e9f6701a (diff) |
vCGNAT: changes for gateway packet forwarding
JIRA: SAMPLEVNF-61
Integrating gateway packet forwarding to CGNAT VNF.
Change-Id: Ifd528b40134da2d12644a406b2da05a5f044aa1c
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
Diffstat (limited to 'VNFs/vCGNAPT/config')
-rw-r--r-- | VNFs/vCGNAPT/config/sample_hwlb_2port_2WT.tc | 11 | ||||
-rw-r--r-- | VNFs/vCGNAPT/config/sample_swlb_2port_2WT.tc | 8 |
2 files changed, 10 insertions, 9 deletions
diff --git a/VNFs/vCGNAPT/config/sample_hwlb_2port_2WT.tc b/VNFs/vCGNAPT/config/sample_hwlb_2port_2WT.tc index 47ee0633..3cb90c9a 100644 --- a/VNFs/vCGNAPT/config/sample_hwlb_2port_2WT.tc +++ b/VNFs/vCGNAPT/config/sample_hwlb_2port_2WT.tc @@ -19,12 +19,13 @@ link 1 up ;p 1 arpadd 0 0064:ff9b:0:0:0:0:ca10:6414 00:00:00:00:00:01 ;p 1 arpadd 1 0064:ff9b:0:0:0:0:ac10:2814 00:00:00:00:00:02 -routeadd 0 202.16.100.20 0xff000000 -routeadd 2 172.16.40.20 0xff000000 +; routeadd <net/host> <port #> <ipv4 nhip address in decimal> <Mask/NotApplicable> +routeadd net 0 202.16.100.20 0xff000000 +routeadd net 1 172.16.40.20 0xff000000 -;routeadd <port #> <ipv6 nhip address in hex> <Depth> -;routeadd 0 0064:ff9b:0:0:0:0:ca10:6414 64 -;routeadd 1 0064:ff9b:0:0:0:0:ac10:6414 64 +;routeadd <net/host> <port #> <ipv6 nhip address in hex> <Depth/NotApplicable> +;routeadd net 0 0064:ff9b:0:0:0:0:ca10:6414 64 +;routeadd net 1 0064:ff9b:0:0:0:0:ac10:6414 64 set fwd rxonly diff --git a/VNFs/vCGNAPT/config/sample_swlb_2port_2WT.tc b/VNFs/vCGNAPT/config/sample_swlb_2port_2WT.tc index 05ed058d..d7465690 100644 --- a/VNFs/vCGNAPT/config/sample_swlb_2port_2WT.tc +++ b/VNFs/vCGNAPT/config/sample_swlb_2port_2WT.tc @@ -20,8 +20,8 @@ link 1 up ;p 1 arpadd 1 0064:ff9b:0:0:0:0:ac10:2814 00:00:00:00:00:02 routeadd 0 202.16.100.20 0xff000000 -routeadd 2 172.16.40.20 0xff000000 +routeadd 1 172.16.40.20 0xff000000 -;routeadd <port #> <ipv6 nhip address in hex> <Depth> -;routeadd 0 0064:ff9b:0:0:0:0:ca10:6414 64 -;routeadd 1 0064:ff9b:0:0:0:0:ac10:6414 64 +; routeadd <net/host> <port #> <ipv4 nhip address in decimal> <Mask/NotApplicable> +;routeadd net 0 0064:ff9b:0:0:0:0:ca10:6414 64 +;routeadd net 1 0064:ff9b:0:0:0:0:ac10:6414 64 |