Skip to content

Instantly share code, notes, and snippets.

@erdii
Last active March 28, 2020 23:53
Show Gist options
  • Save erdii/cf5deebfac7869e20ae9edff5bb0f8b4 to your computer and use it in GitHub Desktop.
Save erdii/cf5deebfac7869e20ae9edff5bb0f8b4 to your computer and use it in GitHub Desktop.
vlan interface with NetworkManager on Ubuntu Desktop 19.10

generate uuid

uuidgen -r

rights and location

# /etc/NetworkManager/system-connections $ ls -l vlan20
-rw------- 1 root root 145 Mär 28 18:27 vlan20
[connection]
id=vlan20
type=vlan
uuid=b276fae2-5be9-4c3a-82af-547bdbe06e0e
[vlan]
parent=enp6s0
id=20
[ipv6]
method=ignore
[ipv4]
method=auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment