You are not logged in.
SOLUTION:
Systemd 242.16-1 appears to have solved the issue I was having.
You can see my networkd configuration files below.
-OP
***
I am trying to configure a bridge using networkd.
After getting the base system running I replaced this:
/etc/systemd/network/wired.network
[Match]
Name=enp10s0
[Network]
MulticastDNS=yes
DHCP=ipv4
[DHCP]
UseDomains=yes
With these:
/etc/systemd/network/br0.netdev
[NetDev]
Name=br0
Kind=bridge
/etc/systemd/network/br0.network
[Match]
Name=br0
[Network]
MulticastDNS=yes
DHCP=ipv4
[DHCP]
UseDomains=yes
/etc/systemd/network/br0-wired.network
[Match]
Name=enp10s0
[Network]
Bridge=br0
I was following the instructions here:
https://wiki.debian.org/SystemdNetworkd … ork_bridge
Upon reboot the network is not starting:
systemctl status systemd-networkd
● systemd-networkd.service - Network Service
Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-04-23 21:54:39 EDT; 1min 35s ago
Docs: man:systemd-networkd.service(8)
Main PID: 324 (systemd-network)
Status: "Processing requests..."
Tasks: 1 (limit: 4915)
Memory: 2.8M
CGroup: /system.slice/systemd-networkd.service
└─324 /usr/lib/systemd/systemd-networkd
Apr 23 21:54:39 lurch systemd-networkd[324]: br0: Could not bring up interface: Invalid argument
Apr 23 21:54:39 lurch systemd-networkd[324]: enp10s0: Failed to add to bridge master's slave list: File exists
Apr 23 21:54:39 lurch systemd-networkd[324]: br0: Gained carrier
Apr 23 21:54:40 lurch systemd-networkd[324]: br0: Gained IPv6LL
Apr 23 21:54:41 lurch systemd-networkd[324]: br0: Lost carrier
Apr 23 21:54:41 lurch systemd-networkd[324]: enp10s0: Gained carrier
Apr 23 21:54:41 lurch systemd-networkd[324]: enp10s0: Configured
Apr 23 21:54:41 lurch systemd-networkd[324]: br0: Gained carrier
Apr 23 21:54:45 lurch systemd-networkd[324]: br0: DHCPv4 address 192.168.1.12/24 via 192.168.1.1
Apr 23 21:54:53 lurch systemd-networkd[324]: br0: Configured
networkctl -a status
● 1: lo
Link File: /usr/lib/systemd/network/99-default.link
Network File: n/a
Type: loopback
State: carrier (unmanaged)
Address: 127.0.0.1
::1
● 2: enp10s0
Link File: /usr/lib/systemd/network/99-default.link
Network File: /etc/systemd/network/br0-wired.network
Type: ether
State: enslaved (configured)
Path: pci-0000:0a:00.0
Driver: r8169
Vendor: Realtek Semiconductor Co., Ltd.
Model: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (P8 series motherboard)
HW Address: 10:c3:7b:9c:f9:76 (ASUSTek COMPUTER INC.)
Connected To: Linksys54262 on port 58:ef:68:6b:c5:fa (eth1)
● 3: br0
Link File: /usr/lib/systemd/network/99-default.link
Network File: /etc/systemd/network/br0.network
Type: bridge
State: degraded-carrier (configured)
Driver: bridge
HW Address: 5a:96:98:57:40:e5
Address: 192.168.1.12
fe80::5896:98ff:fe57:40e5
Gateway: 192.168.1.1 (Belkin International Inc.)
DNS: 192.168.1.1
Last edited by lenhuppe (2019-05-08 01:48:42)
"I'm suspicious of people who don't like dogs, but I trust a dog when it doesn't like a person." -- Bill Murray
Offline
Please check https://wiki.archlinux.org/index.php/Systemd-networkd , especially chapter 3.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I have the same issue since upgrading to systemd 242.0. It looks like this bug: https://bugs.archlinux.org/task/62347. As a workaround try restarting systemd-networkd after booting.
Offline
I have the same issue since upgrading to systemd 242.0. It looks like this bug: https://bugs.archlinux.org/task/62347. As a workaround try restarting systemd-networkd after booting.
I tried swapping out the network config files and then restarting systemd-networkd.
The network came up and I was able to install LXC over the network with pacman.
My guess is that something was not coming up to a ready state.
When I checked systemd 242.0-3 was out and that seems to have fixed it.
Very nice troubleshooting ...
"I'm suspicious of people who don't like dogs, but I trust a dog when it doesn't like a person." -- Bill Murray
Offline
Please check https://wiki.archlinux.org/index.php/Systemd-networkd , especially chapter 3.
I read through chapter 3 and I think that I have everything setup ok.
I did make one change which was to remove the RouteMetric I had.
Systemd-nspawn looks like its worth checking out.
Last edited by lenhuppe (2019-04-26 11:02:41)
"I'm suspicious of people who don't like dogs, but I trust a dog when it doesn't like a person." -- Bill Murray
Offline
cspack wrote:I have the same issue since upgrading to systemd 242.0. It looks like this bug: https://bugs.archlinux.org/task/62347. As a workaround try restarting systemd-networkd after booting.
I tried swapping out the network config files and then restarting systemd-networkd.
The network came up and I was able to install LXC over the network with pacman.
My guess is that something was not coming up to a ready state.
When I checked systemd 242.0-3 was out and that seems to have fixed it.Very nice troubleshooting ...
I stand corrected - DHCP stopped working.
"I'm suspicious of people who don't like dogs, but I trust a dog when it doesn't like a person." -- Bill Murray
Offline
Things seem to work fine here for me with systemd-networkd. My config files look like this:
==> bridge0.netdev <==
[NetDev]
Name=br0
Kind=bridge
==> bridge0.network <==
[Match]
Name=br0
[Network]
DHCP=yes
IPv6PrivacyExtensions=yes
==> ethernet.network <==
[Match]
Name=en*
[Network]
Bridge=br0
LinkLocalAddressing=no
Offline
Things seem to work fine here for me with systemd-networkd. My config files look like this:
==> bridge0.netdev <== [NetDev] Name=br0 Kind=bridge ==> bridge0.network <== [Match] Name=br0 [Network] DHCP=yes IPv6PrivacyExtensions=yes ==> ethernet.network <== [Match] Name=en* [Network] Bridge=br0 LinkLocalAddressing=no
What version of systemd are you running?
Last edited by lenhuppe (2019-04-28 23:14:48)
"I'm suspicious of people who don't like dogs, but I trust a dog when it doesn't like a person." -- Bill Murray
Offline