summaryrefslogtreecommitdiff
path: root/examples/source/init-lan/up
blob: 9877c141acc6b1785ea912deabf37b5b7e822b21 (plain)
1
2
3
4
5
6
7
8
9
10
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 }