NAT: Rename snat plugin to nat (VPP-955)
[vpp.git] / src / scripts / vnet / nat44_static_with_port
similarity index 85%
rename from src/scripts/vnet/snat_static_with_port
rename to src/scripts/vnet/nat44_static_with_port
index f646145..15bef1b 100644 (file)
@@ -32,13 +32,13 @@ packet-generator new {
   }
 }
 
-snat add address 172.16.1.3
-snat add static mapping local 10.0.0.3 3000 external 172.16.1.3 3000
+nat44 add address 172.16.1.3
+nat44 add static mapping local 10.0.0.3 3000 external 172.16.1.3 3000
 set int ip address pg0 10.0.0.1/24
 set int ip address pg1 172.16.1.1/24
 set int state pg0 up
 set int state pg1 up
 set ip arp static pg0 10.0.0.3 abcd.abcd.abcd
 set ip arp static pg1 172.16.1.2 cdef.abcd.abcd
-set int snat in pg0 out pg1
+set int nat44 in pg0 out pg1
 trace add pg-input 10