Advertisement
Guest User

Untitled

a guest
Jan 29th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 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. source /etc/network/interfaces.d/*
  5.  
  6. # The loopback network interface
  7. auto lo
  8. iface lo inet loopback
  9.  
  10. # The primary network interface
  11. auto eth0
  12. iface eth0 inet static
  13. address 192.168.x.x
  14. netmask 255.255.255.0
  15. network 192.168.x.0
  16. broadcast 192.168.x.255
  17. gateway 192.168.x.1
  18. # dns-* options are implemented by the resolvconf package, if installed
  19. dns-nameservers 8.8.8.8
  20.  
  21. auto eth1
  22. iface eth1 inet static
  23. address 192.168.x.x
  24. netmask 255.255.255.0
  25. network 192.168.x.0
  26. broadcast 192.168.x.255
  27. gateway 192.168.x.1
  28. # dns-* options are implemented by the resolvconf package, if installed
  29. dns-nameservers 8.8.8.8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement