aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/extras/nat_dynamic
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/extras/nat_dynamic')
-rw-r--r--src/plugins/nat/extras/nat_dynamic9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/nat/extras/nat_dynamic b/src/plugins/nat/extras/nat_dynamic
new file mode 100644
index 00000000000..f723b918a9c
--- /dev/null
+++ b/src/plugins/nat/extras/nat_dynamic
@@ -0,0 +1,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
+