blob: 87c9de339ff04b690239cba7d53bc2b2ee0baf3a [file] [log] [blame]
Matus Fabian51e759f2017-12-07 23:22:51 -08001create packet-generator interface pg0
2create packet-generator interface pg1
3
Damjan Marion3153f002022-05-14 00:14:02 +02004packet-generator new { \
5 name f1 \
6 limit 10 \
7 node ip6-input \
8 size 64-64 \
9 worker 0 \
10 interface pg0 \
11 data { \
12 UDP: 2000::3 -> 64:ff9b::ac10:102 \
13 UDP: 3000 -> 3001 \
14 length 128 checksum 0 incrementing 1 \
15 } \
Matus Fabian51e759f2017-12-07 23:22:51 -080016}
17
18
Damjan Marion3153f002022-05-14 00:14:02 +020019packet-generator new { \
20 name f2 \
21 limit 10 \
22 node ip6-input \
23 size 64-64 \
24 interface pg0 \
25 worker 1 \
26 data { \
27 UDP: 2000::3 -> 64:ff9b::ac10:102 \
28 UDP: 3005 -> 3006 \
29 length 128 checksum 0 incrementing 1 \
30 } \
Matus Fabian51e759f2017-12-07 23:22:51 -080031}
32
33nat64 add pool address 172.16.1.3
34set int ip address pg0 2000::1/64
35set int ip address pg1 172.16.1.1/24
36set int state pg0 up
37set int state pg1 up
ShivaShankarKb0f956c2020-03-18 15:34:11 +053038set ip neighbor pg0 2000::3 abcd.abcd.abcd static
39set ip neighbor static pg1 172.16.1.2 cdef.abcd.abcd
Matus Fabian51e759f2017-12-07 23:22:51 -080040set interface nat64 in pg0 out pg1