Guest User

Untitled

a guest
Nov 7th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 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. # The primary network interface
  9. auto eth0
  10. #iface eth0 inet dhcp
  11. iface eth0 inet static
  12. address 192.168.0.120
  13. netmask 255.255.255.0
  14. gateway 192.168.0.1
  15. dns-nameservers 8.8.8.8
  16.  
  17. auto eth1
  18. iface eth1 inet static
  19. address 192.168.7.0
  20. netmask 255.255.255.0
  21.  
  22. post-up /etc/nat
Add Comment
Please, Sign In to add comment