burchbri

VLAN configuration: systemd OK

Nov 27th, 2018
141
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # ip -d link show extract
  2.  
  3. 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
  4. link/ether e0:d5:5e:2f:ee:3a brd ff:ff:ff:ff:ff:ff promiscuity 0 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
  5. 4: enp3s0.usafe@enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
  6. link/ether e0:d5:5e:2f:ee:3a brd ff:ff:ff:ff:ff:ff promiscuity 0
  7. vlan protocol 802.1Q id 4 <REORDER_HDR> addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
  8.  
  9. # ip addr show extract
  10.  
  11. 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
  12. link/ether e0:d5:5e:2f:ee:3a brd ff:ff:ff:ff:ff:ff promiscuity 0 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
  13. inet 10.1.253.153/24 brd 10.1.253.255 scope global enp3s0
  14. valid_lft forever preferred_lft forever
  15. inet6 2401:a400:4503:5820:253::153/64 scope global
  16. valid_lft forever preferred_lft forever
  17. inet6 fe80::e2d5:5eff:fe2f:ee3a/64 scope link
  18. valid_lft forever preferred_lft forever
  19. 4: enp3s0.usafe@enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
  20. link/ether e0:d5:5e:2f:ee:3a brd ff:ff:ff:ff:ff:ff promiscuity 0
  21. vlan protocol 802.1Q id 4 <REORDER_HDR> numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
  22. inet 10.1.250.153/24 brd 10.1.250.255 scope global enp3s0.usafe
  23. valid_lft forever preferred_lft forever
  24. inet6 2401:a400:4503:5820:250::153/64 scope global
  25. valid_lft forever preferred_lft forever
  26. inet6 fe80::e2d5:5eff:fe2f:ee3a/64 scope link
  27. valid_lft forever preferred_lft forever
  28.  
  29. # ip -4 route show
  30.  
  31. default via 10.1.253.1 dev enp3s0 proto static
  32. 10.1.250.0/24 dev enp3s0.usafe proto kernel scope link src 10.1.250.153
  33. 10.1.253.0/24 dev enp3s0 proto kernel scope link src 10.1.253.153
  34.  
  35. # ip -6 route show
  36.  
  37. 2401:a400:4503:5820:250::/80 dev enp3s0.usafe proto static metric 1024 pref medium
  38. 2401:a400:4503:5820:253::/80 dev enp3s0 proto static metric 1024 pref medium
  39. 2401:a400:4503:5820::/64 dev enp3s0 proto kernel metric 256 pref medium
  40. 2401:a400:4503:5820::/64 dev enp3s0.usafe proto kernel metric 256 pref medium
  41. fe80::/64 dev enp3s0 proto kernel metric 256 pref medium
  42. fe80::/64 dev enp3s0.usafe proto kernel metric 256 pref medium
  43. default via 2401:a400:4503:5820:253::1 dev enp3s0 proto static metric 1024 pref medium
RAW Paste Data