You are not logged in.
Greetz,
I'm currently running into a problem on two of my school's servers.
Both of them have configured network interfaces (one, our router has statically assigned IP-Addresses)
and our other kubernetes cluster mirror get's the IPs for both interfaces via DHCP..
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: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:22:4d:66:XX:XX brd ff:ff:ff:ff:ff:ff
inet 10.9.1.11/16 brd 10.9.255.255 scope global dynamic enp0s25
valid_lft 85699sec preferred_lft 85699sec
inet6 fe80::222:4dff:fe66:92f2/64 scope link
valid_lft forever preferred_lft forever
3: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:22:4d:66:XX:XX brd ff:ff:ff:ff:ff:ff
inet 10.9.1.10/16 brd 10.9.255.255 scope global dynamic enp2s0
valid_lft 85700sec preferred_lft 85700sec
inet6 fe80::222:4dff:fe66:92f1/64 scope link
valid_lft forever preferred_lft forever
4: cbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:65:05:65:XX:XX brd ff:ff:ff:ff:ff:ff
I already had removed the bridge one time so only the interfaces with the loopback interface were available but the target still seems to be down.
I hope, that anyone here can help me out with that. I'd be glad.
Further information:
Kernel: 4.14.56-1-lts
systemctl list-units --failed
0 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
systectl status network-online.target
● network-online.target - Network is Online
Loaded: loaded (/usr/lib/systemd/system/network-online.target; static; vendor >
Active: inactive (dead)
Docs: man:systemd.special(7)
[url]https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget[/url]
Best regards,
Felix
EDIT.: I had some fuckups. I accidentally didn't replace a placeholder with a proper variable in a systemd edit of systemd-networkd-wait-online.service
Thanks for your support/help
Last edited by TheGoliath (2018-08-31 18:23:06)
Offline
What does the journal tell you?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
What service have you enabled that would pull in network-online.target?
Offline
Hello,
sorry for the late reply. I have e.g. a nfsd running which depends on the network-online.target.
As I've told ya, the systemctl status network-online.target says no (Computer says no )
● network-online.target - Network is Online
Loaded: loaded (/usr/lib/systemd/system/network-online.target; static; vendor preset: disabled)
Active: inactive (dead)
Docs: man:systemd.special(7)
[url]https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget[/url]
The journal doesn't tell me anything neccessary. I'm currently running the default DHCP config for systemd-networkd
https://wiki.archlinux.org/index.php/sy … using_DHCP
So it should normally work. I also have a bridge setup:
/etc/systemd/network/cbr0.network
[Match]
Name=cbr0
[Address]
Address=10.210.0.1/24
/etc/systemd/network/cbr.netdev
[NetDev]
Name=cbr0
Kind=bridge
If any further information is needed, tell me
Cheers,
- TheGoliath
Offline
You have to enable systemd-networkd-wait-online.service for systemd-networkd to invoke network-online.target .
Offline
So you have not enabled systemd-networkd-wait-online.service ?
Edit:
beaten by V1del.
Last edited by loqs (2018-08-07 12:22:09)
Offline
It is enabled by default in my setup but it won't come up properly. (I've created an override.conf file which selects only one interface and the things starts successfully but won't come up on boot either. But it normally should come up on boot without any further intervention, shouldn't it?)
Screenshot:
https://imgur.com/a/OHe0XsM
EDIT.:
systemd-networkd-wait-online.service gives me the following error after a while
https://imgur.com/a/UVOobDf
Last edited by TheGoliath (2018-08-07 13:08:00)
Offline
Hello guys,
I started a new thread which may be the cause of my problem with the network-online.target.
https://bbs.archlinux.org/viewtopic.php … 1#p1802371
If someone is interested in it.
Cheers,
TheGoliath
Offline
Solved (see 1st post)
Offline