You are not logged in.

#1 2018-09-04 14:03:13

kilobytech
Member
Registered: 2018-07-01
Posts: 9

VLAN systemd

Hi,

I'm running a Laptop with Archlinux and two different Networks. I have a Ethernet cable with untagged Network A and tagged Network B. I want to get Internet + Local Network A over Network A and Local Network B over Network B.

It works. But after a certain time (~1 Hour) Network B (the one going via VLAN) doesn't work anymore. If I check with `ip a` it says that the VLAN interface is down:

5: enp0s25.10@enp0s25: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000

I can fix it to work temporarily again with doing the following:

sudo ip link del dev enp0s25.10
sudo systemctl restart systemd-networkd.service

Any idea how to get it permanently working?

$ cat enp0s25.10.netdev 
[NetDev]
Name=enp0s25.10
Kind=vlan

[VLAN]
Id=10
$ cat enp0s25.10.network 
[Match]
Name=enp0s25.10

[Network]
DHCP=yes

[DHCP]
UseRoutes=false
$ cat enp0s25.network
[Match]
Name=enp0s25

[Network]
DHCP=ipv4
VLAN=enp0s25.10

Offline

Board footer

Powered by FluxBB