Advertisement
Guest User

/etc/network/interfaces

a guest
Nov 6th, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. # cat /etc/network/interfaces
  2. # This file describes the network interfaces available on your system
  3. # and how to activate them. For more information, see interfaces(5).
  4.  
  5. # The loopback network interface
  6. auto lo
  7. iface lo inet loopback
  8.  
  9. # The primary network interface
  10. allow-hotplug eth0
  11. iface eth0 inet static
  12. address 192.168.0.254
  13. netmask 255.255.255.0
  14. network 192.168.0.0
  15. broadcast 192.168.0.255
  16.  
  17. #inet
  18.  
  19. allow-hotplug eth1
  20. iface eth1 inet static
  21. address 192.168.1.254
  22. netmask 255.255.255.0
  23. network 192.168.1.0
  24. broadcast 192.168.1.255
  25. gateway 192.168.1.253
  26.  
  27. ### wan
  28. allow-hotplug eth2
  29. iface eth2 inet static
  30. address 192.168.5.254
  31. netmask 255.255.255.0
  32. network 192.168.5.0
  33. broadcast 192.168.5.255
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement