Advertisement
Guest User

Untitled

a guest
Nov 13th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. # This file describes the network interfaces available on your system
  2. # and how to activate them. For more information, see interfaces(5).
  3.  
  4. # The loopback network interface
  5. auto lo
  6. iface lo inet loopback
  7.  
  8. auto eth0
  9. iface eth0 inet manual
  10. up ifconfig $IFACE 0.0.0.0 up
  11. up ip link set $IFACE promisc on
  12. down ip link set $IFACE promisc off
  13. down ifconfig $IFACE down
  14.  
  15. auto eth1
  16. iface eth1 inet dhcp
  17.  
  18. iface br-eth0 inet static
  19. address 192.168.1.1
  20. netmask 255.255.0.0
  21. gateway 192.168.0.1
  22. dns-nameservers 192.168.0.1 8.8.8.8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement