From f0bfb2b0c8467154990b49beafb991b7515e37e3 Mon Sep 17 00:00:00 2001 From: Deepak S Date: Mon, 17 Apr 2017 23:03:43 -0700 Subject: vCGNAPT VNF initial check-in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JIRA: SAMPLEVNF-5 The vCGNAPT implementation contains following features: • Static and dynamic Network address translation. • Static and dynamic Network address and port translation • ARP (request, response, gratuitous) • ICMP (terminal echo, echo response, pass-through) • ICMPv6 and ND • UDP, TCP and ICMP protocol pass-through • Multithread support and Multiple physical port support • Limiting max ports per client • Limiting max clients per public IP address • Live Session tracking to NAT flow • NAT64 – connectivity between IPv6 access network to IPv4 data • PCP - Port Control protocol • SIP functionality • FTP functionality Change-Id: I5ebb44ae60e32dd6da5e793efd91a6831a4d30a7 Signed-off-by: Deepak S --- VNFs/vCGNAPT/config/arp_hwlb_scriptfile_4P.cfg | 50 ++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 VNFs/vCGNAPT/config/arp_hwlb_scriptfile_4P.cfg (limited to 'VNFs/vCGNAPT/config/arp_hwlb_scriptfile_4P.cfg') diff --git a/VNFs/vCGNAPT/config/arp_hwlb_scriptfile_4P.cfg b/VNFs/vCGNAPT/config/arp_hwlb_scriptfile_4P.cfg new file mode 100644 index 00000000..0dc60e1d --- /dev/null +++ b/VNFs/vCGNAPT/config/arp_hwlb_scriptfile_4P.cfg @@ -0,0 +1,50 @@ + +link 0 down +link 0 config 152.16.100.21 24 +link 0 up +link 1 down +link 1 config 152.16.40.21 24 +link 1 up +link 2 down +link 2 config 192.16.100.25 24 +link 2 up +link 3 down +link 3 config 192.16.40.25 24 +link 3 up + +; uncomment to enable static NAPT +;p entry addm prvport> +;p 3 entry addm 152.16.100.20 1234 152.16.40.10 1 0 500 65535 1234 65535 + +; uncomment below lines to enable static arp +;p 1 arpadd 0 152.16.100.20 00:00:00:00:00:01 +;p 1 arpadd 1 152.16.40.20 00:00:00:00:00:02 +;p 1 arpadd 2 192.16.100.20 00:00:00:00:00:03 +;p 1 arpadd 3 192.16.40.20 00:00:00:00:00:04 + + +; uncomment below lines to enable static arp +;p 1 arpadd 0 0064:ff9b:0:0:0:0:9810:6414 00:00:00:00:00:01 +;p 1 arpadd 1 0064:ff9b:0:0:0:0:9810:2814 00:00:00:00:00:02 +;p 1 arpadd 2 0064:ff9b:0:0:0:0:c010:6414 00:00:00:00:00:03 +;p 1 arpadd 3 0064:ff9b:0:0:0:0:c010:2814 00:00:00:00:00:04 + + +set fwd rxonly +set_sym_hash_ena_per_port 0 enable +set_hash_global_config 0 simple_xor ipv4-udp enable +set_sym_hash_ena_per_port 1 enable +set_hash_global_config 1 simple_xor ipv4-udp enable +set_hash_input_set 0 ipv4-udp src-ipv4 udp-src-port add +set_hash_input_set 1 ipv4-udp dst-ipv4 udp-dst-port add +set_hash_input_set 0 ipv4-udp src-ipv6 udp-src-port add +set_hash_input_set 1 ipv4-udp dst-ipv6 udp-dst-port add + +set_sym_hash_ena_per_port 2 enable +set_hash_global_config 2 simple_xor ipv4-udp enable +set_sym_hash_ena_per_port 3 enable +set_hash_global_config 3 simple_xor ipv4-udp enable +set_hash_input_set 2 ipv4-udp src-ipv4 udp-src-port add +set_hash_input_set 3 ipv4-udp dst-ipv4 udp-dst-port add +set_hash_input_set 2 ipv4-udp src-ipv6 udp-src-port add +set_hash_input_set 3 ipv4-udp dst-ipv6 udp-dst-port add -- cgit 1.2.3-korg