Guest User

Untitled

a guest
Jan 24th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. port number - designation - port2vlan - port setting pvid
  2. 1 - WAN1 input - 2 excl, 3 excl, 4 untagged - 4
  3. 2 - WAN2 input - 2 excl, 3 untagged, 4 excl - 3
  4. 3-12 servers - 2 tagged, 3 tagged, 4 tagged - 2
  5. 13 - WAN1 to router - 2 excl, 3 excl, 4 untagged - 4
  6. 14 - WAN2 to router - 2 excl, 3 untagged, 4 excl - 3
  7. 15-24 servers - 2 tagged, 3 tagged, 4 tagged - 2
  8. G1 - LAN from router - 2 untagged, 3 excl, 4 excl - 2
  9. G2-G4 servers - 2 tagged, 3 tagged, 4 tagged - 2
  10.  
  11. # LAN
  12. auto enp1s0.2
  13. iface enp1s0.2 inet static
  14. address 10.1.4.10
  15. gateway 10.1.0.1
  16. netmask 255.255.252.0
  17. dns-nameservers 10.1.0.1
  18. vlan-raw-device enp1s0
  19. mtu 1500
  20.  
  21. # Netia
  22. allow-hotplug enp1s0.3
  23. iface enp1s0.3 inet static
  24. address 192.168.0.72
  25. gateway 192.168.0.65
  26. netmask 255.255.255.240
  27. dns-nameservers 8.8.8.8 8.8.4.4
  28. vlan-raw-device enp1s0
  29. mtu 1500
  30.  
  31. # Connected
  32. allow-hotplug enp1s0.4
  33. iface enp1s0.4 inet static
  34. address 192.168.1.168
  35. gateway 192.168.1.161
  36. netmask 255.255.255.240
  37. dns-nameservers 8.8.8.8 8.8.4.4
  38. vlan-raw-device enp1s0
  39. mtu 1500
  40.  
  41. Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
  42. RTNETLINK answers: File exists
  43. ifup: failed to bring up enp1s0.3
  44.  
  45. ifdown: interface enp1s0.3 not configured
Add Comment
Please, Sign In to add comment