Advertisement
hcaine

Untitled

Nov 3rd, 2015
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. This is the before file
  2. #####
  3. # Loopback interface
  4. #####
  5. iface lo inet loopback
  6.  
  7. #####
  8. # IPv4 network interfaces
  9. #####
  10.  
  11. # --- External NIC ---
  12. iface eth0 inet dhcp
  13. pre-up sysctl -q -e -w net.ipv6.conf.eth0.disable_ipv6=1
  14.  
  15. # --- Internal NIC ---
  16. iface eth1 inet static
  17. address 192.168.80.1
  18. netmask 255.255.255.0
  19. pre-up sysctl -q -e -w net.ipv6.conf.eth1.disable_ipv6=1
  20. # DNS Settings for Internal Net
  21. dns-nameservers 192.168.80.1
  22. dns-search LinuxMCE
  23.  
  24. #####
  25. # Activating interfaces
  26. #####
  27. auto eth0 eth1 lo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement