Advertisement
mech_coder

ub2_network_ifaces

Mar 15th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. # interfaces(5) file used by ifup(8) and ifdown(8)
  2.  
  3. auto lo
  4. iface lo inet loopback
  5.  
  6. auto eth0
  7. iface eth0 inet dhcp
  8. dns-nameservers 8.8.8.8 8.8.4.4
  9. up ethtool -s eth0 wol g
  10.  
  11. # Below works but disabled to improve boot time
  12. #auto wlan0
  13. #iface wlan0 inet dhcp
  14. #iface wlan0 inet manual
  15.  
  16. # Proxy Server network interface
  17. # auto eth1
  18. # iface eth0:1 inet static
  19. # address 10.0.3.1
  20. # broadcast 10.0.0.255
  21. # gateway 10.0.0.1
  22. # dns-nameservers 8.8.8.8 8.8.4.4
  23. # up ethtool -s eth0:1 wol g
  24.  
  25. # netmask 255.255.255.0
  26. # broadcast 10.0.0.255
  27. # gateway 10.0.0.1
  28. # #network 10.0.0.0
  29. # dns-nameservers 8.8.8.8
  30. # pre-up ifconfig $IFACE up
  31. # up ethtool -s eth1 wol g
  32. # post-down ifconfig $IFACE down
  33.  
  34. # Set up the internal wired/wireless network bridge
  35. #
  36. auto br0
  37. iface br0 inet static
  38. address 10.0.0.102
  39. netmask 255.255.255.0
  40. gateway 10.0.0.1
  41. bridge_ports eth0 eth1
  42. bridge_stp off
  43. #bridge_fd 0
  44. bridge_maxwait 0
  45. bridge_hw 6a:b4:5c:66:12:2b
  46. dns-nameservers 8.8.8.8 8.8.4.4
  47. up ethtool -s br0 wol g
  48.  
  49. # 06:ef:4a:02:8a:f3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement