X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fscripts%2Fvnet%2Fnat44_static_with_port;fp=src%2Fscripts%2Fvnet%2Fsnat_static_with_port;h=15bef1be3bae545774a6e0b33ecb48bee88e2203;hb=2ba92e32e0197f676dd905e5edcb4ff3e1bec241;hp=f646145a5bfee5eaf73e3de4ffc5b50a93d12c38;hpb=cfc997ef3da9f406afe5caad99fc98a53aab7a77;p=vpp.git diff --git a/src/scripts/vnet/snat_static_with_port b/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 f646145a5bf..15bef1be3ba 100644 --- a/src/scripts/vnet/snat_static_with_port +++ b/src/scripts/vnet/nat44_static_with_port @@ -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