Page 1 of 1

what do I need to add to network manager to build a vlan

Posted: 2020/12/08 04:01:40
by fritz1
the network manager has no vlan tab to select for building a profile that includes vlan settings. How do I add this feature?

Re: what do I need to add to network manager to build a vlan

Posted: 2020/12/08 10:26:02
by jlehtone
Use nmcli or nmtui

Re: what do I need to add to network manager to build a vlan

Posted: 2020/12/09 17:09:44
by fritz1
nmcli-examples just generates an error. man nmcli generates a book and vlan has a single appearance in there with no context associated with it.

Re: what do I need to add to network manager to build a vlan

Posted: 2020/12/09 18:29:30
by jlehtone
What error does man nmcli-examples give? It does not have vlan examples (unless you count the SR-IOV).

A better example is in https://access.redhat.com/documentation ... networking

In other words, something like:

Code: Select all

nmcli con add type vlan con-name answer vlan.parent eno1 vlan.id 42
If you don't use IPv6, then it is better to disable it already during creation:

Code: Select all

nmcli con add type vlan con-name answer dev eno1 id 42 ipv6.method ignore
(The 'dev' and 'id' are aliases, as described in man nmcli.)

If you have (one or more) VLAN on NIC 'eno1.42', then you don't need any connection on the 'eno1'.