Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2014
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
  2.  
  3. # The loopback interface
  4. # automatically added when upgrading
  5. auto lo
  6. iface lo inet loopback
  7.  
  8. # automatically added when upgrading
  9. auto eth0
  10. auto eth1
  11. auto eth2
  12. auto eth3
  13. iface eth0 inet static
  14. address 0.0.0.0
  15. #iface eth0 inet static
  16. # address 10.78.78.2
  17. # netmask 255.255.255.0
  18. # gateway 10.78.78.1
  19. # up route add -net 10.77.77.0 netmask 255.255.255.0 gw 10.78.78.11
  20. # down route del -net 10.77.77.0 netmask 255.255.255.0 gw 10.78.78.11
  21. # # mtu 1492
  22. # mtu 9000
  23. iface eth1 inet static
  24. address 10.205.0.4
  25. netmask 255.255.255.248
  26. up route add -net 10.32.0.0 netmask 255.240.0.0 gw 10.205.0.1
  27. down route del -net 10.32.0.0 netmask 255.240.0.0 gw 10.205.0.1
  28.  
  29. iface eth2 inet static
  30. address 10.100.100.2
  31. netmask 255.255.255.0
  32. mtu 9000
  33.  
  34. iface eth3 inet static
  35. address 10.101.101.2
  36. netmask 255.255.255.0
  37. mtu 9000
  38.  
  39. auto eth0.1
  40. iface eth0.1 inet static
  41. address 10.78.78.2
  42. netmask 255.255.255.0
  43. gateway 10.78.78.1
  44. vlan-raw-device eth0
  45. up route add -net 10.77.77.0 netmask 255.255.255.0 gw 10.78.78.11
  46. down route del -net 10.77.77.0 netmask 255.255.255.0 gw 10.78.78.11
  47. mtu 9000
  48.  
  49. auto eth0.4
  50. iface eth0.4 inet static
  51. address 10.80.80.2
  52. netmask 255.255.255.0
  53. vlan-raw-device eth0
  54. mtu 9000
  55.  
  56. auto eth0.5
  57. iface eth0.5 inet static
  58. address 10.81.81.2
  59. netmask 255.255.255.0
  60. vlan-raw-device eth0
  61. mtu 9000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement