Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. # interfaces(5) file used by ifup(8) and ifdown(8)
  2. auto lo
  3. iface lo inet loopback
  4.  
  5. auto eth0
  6. iface eth0.2 inet static
  7. address 192.168.0.16
  8. netmask 255.255.255.0
  9. post-up route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.1
  10.  
  11. auto eth0:1
  12. iface eth0:1 inet static
  13. address 192.168.155.16
  14. netmask 255.255.255.0
  15.  
  16. auto eth0.2
  17. iface eth0.2 inet static
  18. address 1.2.3.4
  19. netmask 255.255.255.0
  20. vlan-raw-device
  21. post-up route add default gw 1.2.3.5
  22.  
  23. auto eth0.3
  24. iface eth0.3 inet static
  25. address 2.2.3.4
  26. netmask 255.255.255.0
  27. vlan-raw-device
  28.  
  29. auto eth0.4
  30. iface eth0.4 inet static
  31. address 10.0.1.149
  32. netmask 255.255.255.0
  33. vlan-raw-device
  34.  
  35. auto eth0.5
  36. iface eth0.5 inet static
  37. address 172.16.0.14
  38. netmask 255.255.255.0
  39. vlan-raw-device
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement