summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/extras/nat_dynamic
blob: f723b918a9cf19493e4da27962eb5d4d0241f491 (plain)
1
2
3
4
5
6
7
8
9
set int ip address TenGigabitEthernet4/0/0 172.16.2.1/24 
set int ip address TenGigabitEthernet4/0/1 172.16.1.1/24 
set int state TenGigabitEthernet4/0/0 up 
set int state TenGigabitEthernet4/0/1 up 
ip route add 2.2.0.0/16 via 172.16.1.2 TenGigabitEthernet4/0/1
ip route add 10.0.0.0/16 via 172.16.2.2 TenGigabitEthernet4/0/0
set int nat44 in TenGigabitEthernet4/0/0 out TenGigabitEthernet4/0/1
nat44 add address 172.16.1.3 - 172.16.1.163