Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cat /etc/network/interfaces
- # interfaces(5) file used by ifup(8) and ifdown(8)
- auto lo
- iface lo inet loopback
- #10.0.2.193 Bcast:10.0.3.255 Mask:255.255.254.0
- auto br0
- iface br0 inet static
- address 10.0.2.199
- netmask 255.255.254.0
- gateway 10.0.2.1
- dns-nameservers 8.8.8.8
- #set static route for LAN
- post-up route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.1 dev br0
- bridge_ports eth1
- bridge_stp off
- bridge_fd 0
- bridge_maxwait 0
Add Comment
Please, Sign In to add comment