Thanks for the investigation, I followed your instruction, added the "ignore-carrier: true", netplan apply and reboot, the vlan interface shows up after reboot, cool~
But what I don't understand is the trunk mode adapter actually neither cable disconnected, nor VM exist, and from my previous test, this case only happened in ubut23.04, you can reference my comment #9.
So I did another installation ubut23.04 using another trunk adapter as the backend adapter of vNic device, the vlan interface lost again, I tried added the "ignore-carrier: true" in the yaml file, but this time, no luchy.
Here the systemd-networkd.log read :
'''
"'-- Boot 02eb864dc23541f0911df9f082c7d33e --
"
"Jul 05 10:04:49 a90ubut21 systemd[1]: Starting systemd-networkd.service - Network Configuration...
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: lo: Link UP
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: lo: Gained carrier
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: Enumeration completed
"
"Jul 05 10:04:49 a90ubut21 systemd[1]: Started systemd-networkd.service - Network Configuration.
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Configuring with /run/systemd/network/10-netplan-enc1000.network.
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Link UP
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Gained carrier
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Link DOWN
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Lost carrier
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Could not create stacked netdev: No such device
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Failed
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Link UP
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Gained carrier
"
"Jul 05 10:04:51 a90ubut21 systemd-networkd[1070]: enc1000: Gained IPv6LL
'''
From the log, it seems 'lost carrier' again, Hmm......
I compared the 10-netplan-enc1000.network, no difference I found from the repaired one.
Hi Lukas,
Thanks for the investigation, I followed your instruction, added the "ignore-carrier: true", netplan apply and reboot, the vlan interface shows up after reboot, cool~
But what I don't understand is the trunk mode adapter actually neither cable disconnected, nor VM exist, and from my previous test, this case only happened in ubut23.04, you can reference my comment #9.
So I did another installation ubut23.04 using another trunk adapter as the backend adapter of vNic device, the vlan interface lost again, I tried added the "ignore-carrier: true" in the yaml file, but this time, no luchy.
Here the systemd- networkd. log read :
''' 0911df9f082c7d3 3e -- networkd. service - Network Configuration... networkd[ 1070]: lo: Link UP networkd[ 1070]: lo: Gained carrier networkd[ 1070]: Enumeration completed networkd. service - Network Configuration. networkd[ 1070]: enc1000: Configuring with /run/systemd/ network/ 10-netplan- enc1000. network. networkd[ 1070]: enc1000: Link UP networkd[ 1070]: enc1000: Gained carrier networkd[ 1070]: enc1000: Link DOWN networkd[ 1070]: enc1000: Lost carrier networkd[ 1070]: enc1000: Could not create stacked netdev: No such device networkd[ 1070]: enc1000: Failed networkd[ 1070]: enc1000: Link UP networkd[ 1070]: enc1000: Gained carrier networkd[ 1070]: enc1000: Gained IPv6LL
"'-- Boot 02eb864dc23541f
"
"Jul 05 10:04:49 a90ubut21 systemd[1]: Starting systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd[1]: Started systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:49 a90ubut21 systemd-
"
"Jul 05 10:04:51 a90ubut21 systemd-
'''
From the log, it seems 'lost carrier' again, Hmm......
I compared the 10-netplan- enc1000. network, no difference I found from the repaired one.
Here is the configure files:
''' enc1000. network
cat 10-netplan-
[?2004l
[Match]
Name=enc1000
[Network] sing=ipv6 tCarrier= yes
LinkLocalAddres
ConfigureWithou
VLAN=enc1000.1300
cat 10-netplan- enc1000. 1300.network
[?2004l
[Match]
Name=enc1000.1300
[Network] sing=ipv6 10.20.103. 66/24 10.20.103. 254 tCarrier= yes
LinkLocalAddres
Address=
Gateway=
DNS=10.20.0.2
ConfigureWithou
cat 10-netplan- enc1000. 1300.netdev
[?2004l
[NetDev]
Name=enc1000.1300
Kind=vlan
[VLAN]
Id=1300
'''
Thanks~