Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 55 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. ==> /etc/systemd/network/70-mv0.network <==
  2. [Match]
  3. Name=enp0s3
  4.  
  5. [Network]
  6. MACVLAN=mv0  
  7. # optional, if don't need ipv6 addr
  8. LinkLocalAddressing=no
  9.  
  10. ==> /etc/systemd/network/80-mv0.netdev <==
  11. [NetDev]
  12. Name=mv0  
  13. Kind=macvlan  
  14. MACAddress=00:16:3e:4b:96:25
  15.  
  16. [MACVLAN]
  17. Mode=bridge  
  18.  
  19. ==> /etc/systemd/network/90-mv0.network <==
  20. [Match]
  21. Name=mv0
  22.  
  23. [Network]
  24. DHCP=yes  
  25. IPForward=yes  
  26.  
  27. # optional, if don't need ipv6 addr
  28. LinkLocalAddressing=no  
  29.  
  30. ==> /etc/systemd/network/90-mv0.network.static <==
  31.  
  32. [Match]
  33. Name=mv0
  34.  
  35. [Network]
  36. # optional, if don't need ipv6 addr
  37. LinkLocalAddressing=no  
  38.  
  39. Address=192.168.9.46/24
  40. Gateway=192.168.9.253
  41. DNS=192.168.9.2
  42. DNS=192.168.9.3
  43. DNS=192.168.9.254
  44. DNS=8.8.8.8
  45. Domains=xx2.com xx3.com
  46.  
  47.  
  48. $ ip a
  49. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
  50.     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  51.     inet 127.0.0.1/8 scope host lo
  52.        valid_lft forever preferred_lft forever
  53.     inet6 ::1/128 scope host
  54.        valid_lft forever preferred_lft forever
  55. 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
  56.     link/ether 08:00:27:4b:54:40 brd ff:ff:ff:ff:ff:ff
  57. 4: mv0@enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
  58.     link/ether 00:16:3e:4b:96:25 brd ff:ff:ff:ff:ff:ff
  59.     inet 192.168.9.46/24 brd 192.168.9.255 scope global dynamic mv0
  60.        valid_lft 30431sec preferred_lft 30431sec
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