You are not logged in.

#1 2022-08-20 17:52:36

nfortier
Member
Registered: 2011-09-18
Posts: 49

[SOLVED] Router no longer reachable

After a full system upgrade internet no longer reachable. I use netctl with a wired, static address. I can ping my static address but not my router/gateway (destination host unreachable). Interface is up, avahi-browse can see printers on the network. Internet is reachable via wifi from android devices.

I realized I had both netctl and systemd-networkd active so I disabled systemd-networkd and -resolved, that did not correct the problem, neither did the reverse (disablind netctl, enabling networkd).

# ip route
default via 192.168.0.1 dev enp5s0 proto static
192.168.0.0/24 dev enp5s0 proto kernel scope link src 192.168.0.100

Please indicate which further info would be useful. Thank you!

Last edited by nfortier (2022-08-20 21:04:24)

Offline

#2 2022-08-20 18:28:20

seth
Member
Registered: 2012-09-03
Posts: 33,548

Re: [SOLVED] Router no longer reachable

avahi-browse can see printers on the network. Internet is reachable via wifi

avahi via wifi or the wired nic?
The gateway /is/ 192.168.0.1?

ip a
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

What is the router/gateway? Why is there no dhcp server? Do you have access to the router/gateway (ie. can you login there, inspect logs etc)?

Offline

#3 2022-08-20 19:48:50

nfortier
Member
Registered: 2011-09-18
Posts: 49

Re: [SOLVED] Router no longer reachable

avahi-browse is on the machine with the problem, ie with the ethernet connection (no wifi on that machine).192.168.0.1 is indeed the gateway/router, while 192.168.0.100 is the problem machine's static address. That static address is set on the problem machine (/etc/hosts) and on the router. I use a static address instead of dhcp because I needed to create virtual addresses on the same nic, although I commented out these virtual addresses for debugging this problem.

I will try to post relevant output from the commands you suggested, this takes awhile as I'm working from a tablet.

Thank you!

Offline

#4 2022-08-20 19:57:51

seth
Member
Registered: 2012-09-03
Posts: 33,548

Re: [SOLVED] Router no longer reachable

I use a static address instead of dhcp

Does the router still run a dhcp server and do other devices use that and did you except 192.168.0.100 from it's dhcp IP range?

Offline

#5 2022-08-20 20:09:08

nfortier
Member
Registered: 2011-09-18
Posts: 49

Re: [SOLVED] Router no longer reachable

Output from find..., network-related:

systemd-networkd.service | multi-user.target.wants
systemd-networkd.socket | sockets.target.wants
systemd-networkd-wait-online.service | network-online.target.wants
systemd-network-generator.service | sysinit.target.wants

... ip -a coming up.

Offline

#6 2022-08-20 20:21:18

nfortier
Member
Registered: 2011-09-18
Posts: 49

Re: [SOLVED] Router no longer reachable

Output from ip a for enp5s0

enp5s0 : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 24:4b:fe:8e:29:b5 brd :ff:ff:ff:ff:ff:ff
inet 192.168.0.100/24 brd 192.168.0.255 scope global enp5s0
valid_lft forever preferred_lft forever
inet6 fe80::264b:feff:fe8e:29b5/64 scope link
valid_lft forever preferred_lft forever

Offline

#7 2022-08-20 20:27:33

nfortier
Member
Registered: 2011-09-18
Posts: 49

Re: [SOLVED] Router no longer reachable

seth wrote:

I use a static address instead of dhcp

Does the router still run a dhcp server and do other devices use that and did you except 192.168.0.100 from it's dhcp IP range?

Yes, the router runs a dhcp server, using addreses 192.168.0.2 to .99. That configuration has not changed in the last few years.

Offline

#8 2022-08-20 20:41:20

seth
Member
Registered: 2012-09-03
Posts: 33,548

Re: [SOLVED] Router no longer reachable

Since you filtered the other outputs, is the "ip r" output in the OP complete or "the relevant part"?

That configuration has not changed in the last few years.

have you looked at it, notably whether there's a stale lease?
Did you try to reboot the router?

Offline

#9 2022-08-20 21:03:53

nfortier
Member
Registered: 2011-09-18
Posts: 49

Re: [SOLVED] Router no longer reachable

Wow, rebooting the router gives me back myconnection to it, I can ping it and access its web UI. I still don't have internet access but I will investigate that. Thank you so much!

Offline

Board footer

Powered by FluxBB