summaryrefslogtreecommitdiff
path: root/examples/source/init-lan/up
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source/init-lan/up')
-rw-r--r--examples/source/init-lan/up11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/source/init-lan/up b/examples/source/init-lan/up
new file mode 100644
index 0000000..9877c14
--- /dev/null
+++ b/examples/source/init-lan/up
@@ -0,0 +1,11 @@
+multisubstitute
+{
+ import -i ETH0_IP4
+ import -i ETH1_IP4
+ import -i ETH2_IP4
+}
+
+if { ifconfig lo 127.0.0.1 netmask 255.0.0.0 }
+if { ifconfig eth0 ${ETH0_IP4} netmask 255.255.255.0 }
+if { ifconfig eth1 ${ETH1_IP4} netmask 255.255.255.0 }
+if { ifconfig eth2 ${ETH2_IP4} netmask 255.255.255.0 }