Advertisement
Guest User

Untitled

a guest
May 5th, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.90 KB | None | 0 0
  1. casey@cosmos:~$ 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. auto eth0 eth0:0 eth0:1 eth0:2
  11.  
  12. # eth0 - This is the main IP address that will be used for most outbound connections.
  13. # The address, netmask and gateway are all necessary.
  14. iface eth0 inet static
  15. address 72.**.***.***
  16. netmask 255.255.255.0
  17. gateway 72.**.***.1
  18.  
  19. # eth0:0
  20. # This is a second public IP address.
  21. iface eth0:0 inet static
  22. address 72.**.***.**
  23. netmask 255.255.255.0
  24.  
  25. # eth0:1
  26. # This is a third public IP address.
  27. iface eth0:1 inet static
  28. address 173.***.***.**
  29. netmask 255.255.255.0
  30.  
  31. # eth0:2
  32. # This is a fourth public IP address.
  33. iface eth0:2 inet static
  34. address 66.***.**.**
  35. netmask 255.255.255.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement