Guest User

Untitled

a guest
Jul 25th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. # cat /etc/network/interfaces
  2. # interfaces(5) file used by ifup(8) and ifdown(8)
  3. auto lo
  4. iface lo inet loopback
  5. #10.0.2.193 Bcast:10.0.3.255 Mask:255.255.254.0
  6. auto br0
  7. iface br0 inet static
  8. address 10.0.2.199
  9. netmask 255.255.254.0
  10. gateway 10.0.2.1
  11. dns-nameservers 8.8.8.8
  12. #set static route for LAN
  13. post-up route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.1 dev br0
  14. bridge_ports eth1
  15. bridge_stp off
  16. bridge_fd 0
  17. bridge_maxwait 0
Add Comment
Please, Sign In to add comment