You are not logged in.

#1 2021-06-09 11:30:54

t_wrex
Member
Registered: 2020-03-27
Posts: 30

systemd-networkd not assigning IP to VLAN

I am following the wiki article on using systemd-networkd to create a VLAN. It is bringing the VLAN interface up but is not assigning it an IP. If I manually add an IP to the VLAN interface with "ip addr add" that works. Here are the files:

/etc/systemd/network/lan.network

[Match]
Name=lan

[Network]
Address=172.16.16.1/26
VLAN=lan.20
IPv6SendRA=yes
DHCPv6PrefixDelegation=yes

lan.20.netdev

[NetDev]
Name=lan.20
Kind=vlan

[VLAN]
Id=20

lan.20.network

[Match]
Name=lan.20

[Network]
DHCP=no

[Address]
Address=172.16.17.1/26

Offline

#2 2021-06-13 07:12:12

t_wrex
Member
Registered: 2020-03-27
Posts: 30

Re: systemd-networkd not assigning IP to VLAN

Is this even possible to do with systemd-networkd?

Offline

Board footer

Powered by FluxBB