Guest User

Untitled

a guest
Jun 20th, 2012
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #####
  2. # Loopback interface
  3. #####
  4. iface lo inet loopback
  5.  
  6. #####
  7. # IPv4 network interfaces
  8. #####
  9.  
  10. # --- External NIC ---
  11. iface eth0 inet dhcp
  12. pre-up sysctl -q -e -w net.ipv6.conf.eth0.disable_ipv6=1
  13.  
  14. # --- Internal NIC ---
  15. iface eth1 inet static
  16. address 192.168.80.1
  17. netmask 255.255.255.0
  18. pre-up sysctl -q -e -w net.ipv6.conf.eth1.disable_ipv6=1
  19.  
  20. #####
  21. # Activating interfaces
  22. #####
  23. auto eth0 eth1 lo
Advertisement
Add Comment
Please, Sign In to add comment