SHARE
TWEET

netplan VLAN definitions

burchbri Nov 27th, 2018 90 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: 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.  
  10. # ip addr show extract
  11.  
  12. 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
  13.     link/ether e0:d5:5e:2f:ee:3a brd ff:ff:ff:ff:ff:ff
  14.     inet 10.1.253.153/24 brd 10.1.253.255 scope global enp3s0
  15.        valid_lft forever preferred_lft forever
  16.     inet6 2401:a400:4503:5820:253::153/80 scope global
  17.        valid_lft forever preferred_lft forever
  18.     inet6 fe80::e2d5:5eff:fe2f:ee3a/64 scope link
  19.        valid_lft forever preferred_lft forever
  20. 4: usafe@enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
  21.     link/ether e0:d5:5e:2f:ee:3a brd ff:ff:ff:ff:ff:ff
  22.     inet 10.1.253.153/24 brd 10.1.253.255 scope global usafe
  23.        valid_lft forever preferred_lft forever
  24.     inet6 2401:a400:4503:5820:253::153/80 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.  
  30. # ip -4 route show
  31.  
  32. 10.1.253.0/24 dev enp3s0 proto kernel scope link src 10.1.253.153
  33. 10.1.253.0/24 dev usafe proto kernel scope link src 10.1.253.153
  34.  
  35.  
  36. # ip -6 route show
  37.  
  38. 2401:a400:4503:5820:253::/80 dev enp3s0 proto kernel metric 256 pref medium
  39. 2401:a400:4503:5820:253::/80 dev usafe proto kernel metric 256 pref medium
  40. 2401:a400:4503:5820::/60 proto static metric 1024
  41.     nexthop via 2401:a400:4503:5820:253::1 dev enp3s0 weight 1
  42.     nexthop via 2401:a400:4503:5820:253::1 dev usafe weight 1
  43. fe80::/64 dev enp3s0 proto kernel metric 256 pref medium
  44. fe80::/64 dev usafe proto kernel metric 256 pref medium
  45. default proto static metric 1024
  46.     nexthop via 2401:a400:4503:5820:253::1 dev enp3s0 weight 1
  47.     nexthop via 2401:a400:4503:5820:253::1 dev usafe weight 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top