1 create packet-generator interface pg0
2 create packet-generator interface pg1
13 UDP: 10.0.0.3 -> 172.16.1.2
15 length 128 checksum 0 incrementing 1
20 packet-generator new {
29 UDP: 172.16.1.2 -> 172.16.1.3
31 length 128 checksum 0 incrementing 1
35 nat44 add address 172.16.1.3
36 nat44 add static mapping udp local 10.0.0.3 3000 external 172.16.1.3 3000
37 set int ip address pg0 10.0.0.1/24
38 set int ip address pg1 172.16.1.1/24
41 set ip arp static pg0 10.0.0.3 abcd.abcd.abcd
42 set ip arp static pg1 172.16.1.2 cdef.abcd.abcd
43 set int nat44 in pg0 out pg1