I am having a strange problem trying to get network working on Linux using systemd.
eth0 is connected to a corporate network with a DHCP servier:
# more /etc/systemd/network/main.network
# #Main connection to the outside world # [Match] Name=eth0 [Network] DHCP=yes IPForward=yes
# networkctl status eth0:
2: eth0 Link File: n/a Network File: /etc/systemd/network/main.network Type: ether State: routable (configured) HW Address: 00:03:2d:32:85:3a (IBASE Technology, Inc.) MTU: 1500 Address: 10.0.7.134 fe80::203:2dff:fe32:853a Gateway: 10.0.7.1 DNS: 10.0.7.10
However, wait-online service fail:
/lib/systemd/systemd-networkd-wait-online --interface eth0 --timeout=10** ignoring: sit0 Event loop failed: Connection timed out
The system had acquired a valid IP address on eth0 so I don't understand why it would not be online.
I have another interface in the system,
eth1, that is not plugged in.