VLAN interface stuck in pending
    Matthias Luft 
    debian at c7f.de
       
    Wed May 24 15:57:15 BST 2023
    
    
  
Hi Friends,
I'm on Bullseye with 247.3-7+deb11u2 and am trying to configure a VLAN 
interface with networkd.
My configuration is listed below. VLAN interface gets created correctly, 
however, no IP gets assigned. If I assign an IP manually, the interface 
is functional. networkctl shows the interface as pending:
# networkctl
IDX LINK            TYPE     OPERATIONAL SETUP
   1 lo              loopback carrier     unmanaged
   2 wan             ether    carrier     configured
   3 isp_uplink_vlan vlan     degraded    pending
With debugging enabled, I see the following in the systemd-networkd journal:
isp_uplink_vlan: Interface is being renamed, pending initialization.
...
isp_uplink_vlan: link_check_ready(): link is in pending state.
Full log output listed here: https://pastebin.com/4urn8TBX
Would you have any pointers what I am missing here?
Thank you in advance & cheers,
Matthias
-----
Configuration:
# cat 01-wan.link
[Match]
MACAddress=99:xx:xx:xx:xx:xx
[Link]
Name=wan
# cat 05-vlan-default.netdev
[NetDev]
Name=isp_uplink_vlan
Kind=vlan
[VLAN]
Id=7
# cat 10-wan-baseif.network
[Match]
MACAddress=99:xx:xx:xx:xx:xx
Type=ether
[Network]
Description=Base WAN interface
VLAN=isp_uplink_vlan
DHCP=false
LinkLocalAddressing=no
LLDP=no
EmitLLDP=no
IPv6AcceptRA=no
IPv6SendRA=no
# cat 11-public-vlan.network
[Match]
Name=isp_uplink_vlan
[Network]
Description=ISP Uplink
[Link]
ActivationPolicy=up
[Address]
Address=192.168.5.22/24
    
    
More information about the Pkg-systemd-maintainers
mailing list