|
|
@ -24,6 +24,7 @@ set network.lan.ifname=eth0.1 |
|
|
|
set network.wan=interface |
|
|
|
set network.wan=interface |
|
|
|
set network.wan.ifname=eth0.2 |
|
|
|
set network.wan.ifname=eth0.2 |
|
|
|
set network.wan.proto=dhcp |
|
|
|
set network.wan.proto=dhcp |
|
|
|
|
|
|
|
commit network |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
HAS_SWITCH=1 |
|
|
|
HAS_SWITCH=1 |
|
|
|
fi |
|
|
|
fi |
|
|
@ -33,6 +34,7 @@ fi |
|
|
|
set network.wan=interface |
|
|
|
set network.wan=interface |
|
|
|
set network.wan.ifname=eth1 |
|
|
|
set network.wan.ifname=eth1 |
|
|
|
set network.wan.proto=dhcp |
|
|
|
set network.wan.proto=dhcp |
|
|
|
|
|
|
|
commit network |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|