000 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031 032 033
| # The primary network interface
auto eth0
iface eth0 inet static
address xx.xx.197.77
netmask 255.255.255.224
gateway xx.xx.197.65
pre-up /etc/network/secure-interface
# Test Interface
iface eth3 inet static
address xx.xx.226.131
netmask 255.255.255.224
gateway xx.xx.197.65
auto br0
iface br0 inet static
address xx.xx.226.190
netmask 255.255.255.192
pre-up brctl addbr br0
pre-up brctl addif br0 eth1
pre-up brctl addif br0 eth2
pre-up ifconfig eth1 0.0.0.0
pre-up ifconfig eth2 0.0.0.0
post-down brctl delif br0 eth1
post-down brctl delif br0 eth2
post-down ifconfig br0 down
post-down ifconfig eth1 down
post-down ifconfig eth2 down
post-down brctl delbr br0
up route add -net xx.xx.226.0 netmask 255.255.255.192 gw xx.xx.197.65
|