You are not logged in.

#1 2017-02-13 14:27:36

Morlunt
Member
Registered: 2017-02-13
Posts: 1

VLAN MAC Address

Hello,

i have a little problem with configuring VLANs for a set of PCs.
The behavior i want is that all VLAN interfaces have the same MAC address as the parent interface but instead i get 00:00:00:00:00:00 for every new interface. Doing the same with ip l works perfect.
Here my configs:

eth0.network:

[Match]
Name=eth0

[Network]
DHCP=no
VLAN=eth0.1

eth0.1.netdev:

[NetDev]
Name=eth0.1
Kind=vlan

[VLAN]
Id=1

vlan1.network:

[Match]
Name=vlan1

[Network]
VLAN=vlan1
DHCP=yes

Does anyone know how to fix the problem. Since this config should be generic for different hosts i can't just set a static MAC for the interface.

Thanks

Offline

Board footer

Powered by FluxBB