Doron, I don't see any mention of DHCP in your wireless network definition, so I'm dubious that your system has made any attempt at getting an IP address on wlp2s0. Try adding /DHCP=yes/ to the /[Network]/ section of 25-wireless.network. I haven't done a wireless setup with systemd yet, nor have I tried the active-backup configuration you're working with, so I may be completely wrong. Please let me know whether or not it works. Thanks! Bruce A. Johnson Herndon, Virginia On 2018-05-15 04:27, Doron Behar wrote: > I've bonded my wireless and wired network interfaces with > systemd-networkd using an active-backup mode. > > These are the configuration files I have: > > /etc/systemd/network/10-bond0.netdev > > [NetDev] > Name=bond0 > Kind=bond > > [Bond] > Mode=active-backup > > ---- > > /etc/systemd/network/20-wired.network > [Match] > Name=enp0s25 > > [Network] > Bond=bond0 > > ---- > > /etc/systemd/network/25-wireless.network > > [Match] > Name=wlp2s0 > > [Network] > Bond=bond0 > > ---- > > /etc/systemd/network/35-tethering.network > > [Match] > Name=enp0s20u* > > [Network] > Bond=bond0 > > ---- > > /etc/systemd/network/40-bond0.network > > [Match] > Name=bond0 > > [Network] > DHCP=yes > > ---- > > I've noticed that if I boot without any internet connection, WiFi or > Ethernet, and I connect to a WiFi network (only after the boot), > `wpa_supplicant` reports I'm connected to the WiFi network but I'm not > connected to the internet. > > Here is the output of `networkctl status`: > > â?? State: degraded > Address: fe80::a05d:c4ff:feca:efaa on bond0 > > And `networkctl list`: > > IDX LINK TYPE OPERATIONAL SETUP > 1 lo loopback carrier unmanaged > 2 bond0 bond degraded configuring > 3 enp0s25 ether no-carrier configuring > 4 wlp2s0 wlan carrier configuring > > 4 links listed. > > And the output of `ip addr`: > > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > valid_lft forever preferred_lft forever > inet6 ::1/128 scope host > valid_lft forever preferred_lft forever > 2: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 > link/ether a2:5d:c4:ca:ef:aa brd ff:ff:ff:ff:ff:ff > inet6 fe80::a05d:c4ff:feca:efaa/64 scope link > valid_lft forever preferred_lft forever > 3: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc fq_codel master bond0 state DOWN group default qlen 1000 > link/ether a2:5d:c4:ca:ef:aa brd ff:ff:ff:ff:ff:ff > 4: wlp2s0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP group default qlen 1000 > link/ether a2:5d:c4:ca:ef:aa brd ff:ff:ff:ff:ff:ff > > Is this how it is supposed to behave? Is `systemd-networkd` supposed to be > used only for servers without roaming internet connections that change > after boot? > _______________________________________________ > systemd-devel mailing list > systemd-devel at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/systemd-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180515/6feeeb9d/attachment.html>