Advertisement
hcaine

Untitled

Nov 3rd, 2015
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. This is the after 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. iface inet static
  26. address
  27. netmask
  28. pre-up sysctl -q -e -w net.ipv6.conf..disable_ipv6=0
  29. # DNS Settings for Internal Net
  30. dns-nameservers
  31. dns-search LinuxMCE
  32.  
  33. #####
  34. # Activating interfaces
  35. #####
  36. auto eth0 eth1 lo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement