Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
nat: pick outside addr based on local addr
[vpp.git]
/
src
/
scripts
/
vnet
/
nat44_static
diff --git
a/src/scripts/vnet/nat44_static
b/src/scripts/vnet/nat44_static
index
2b8f25e
..
3c76187
100644
(file)
--- a/
src/scripts/vnet/nat44_static
+++ b/
src/scripts/vnet/nat44_static
@@
-6,7
+6,6
@@
packet-generator new {
limit 1000000
node ip4-input
size 64-64
limit 1000000
node ip4-input
size 64-64
- no-recycle
worker 0
interface pg0
data {
worker 0
interface pg0
data {
@@
-22,7
+21,6
@@
packet-generator new {
limit 1000000
node ip4-input
size 64-64
limit 1000000
node ip4-input
size 64-64
- no-recycle
worker 1
interface pg1
data {
worker 1
interface pg1
data {
@@
-38,7
+36,7
@@
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 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 ip
neighbor
static pg0 10.0.0.3 abcd.abcd.abcd
+set ip
neighbor
static pg1 172.16.1.2 cdef.abcd.abcd
set int nat44 in pg0 out pg1
trace add pg-input 10
set int nat44 in pg0 out pg1
trace add pg-input 10