From db7e83c95875fdc630a4014b323f9fbec205ba6c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 12 Jul 2015 05:33:01 +0000 Subject: Added the example source. --- examples/source/init-lan/up | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 examples/source/init-lan/up (limited to 'examples/source/init-lan/up') 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 } -- cgit v1.2.3