You are not logged in.
system : 6.16.8-arch3-1
after update,my archlinux cannot reachout ipv4 address anymore,but ipv6 works ok.
ping archlinux.org
PING archlinux.org (2a01:4f9:c010:6b1f::1) 56 data bytes
64 bytes from archlinux.org (2a01:4f9:c010:6b1f::1): icmp_seq=1 ttl=46 time=286 ms
64 bytes from archlinux.org (2a01:4f9:c010:6b1f::1): icmp_seq=2 ttl=46 time=284 ms
64 bytes from archlinux.org (2a01:4f9:c010:6b1f::1): icmp_seq=3 ttl=46 time=282 ms
64 bytes from archlinux.org (2a01:4f9:c010:6b1f::1): icmp_seq=4 ttl=46 time=288 ms
64 bytes from archlinux.org (2a01:4f9:c010:6b1f::1): icmp_seq=5 ttl=46 time=282 ms
64 bytes from archlinux.org (2a01:4f9:c010:6b1f::1): icmp_seq=6 ttl=46 time=291 ms
--- archlinux.org ping statistics ---
7 packets transmitted, 6 received, 14.2857% packet loss, time 6673ms
rtt min/avg/max/mdev = 282.251/285.664/291.045/3.215 ms
ping 2a01:4f9:c010:6b1f::1
PING 2a01:4f9:c010:6b1f::1 (2a01:4f9:c010:6b1f::1) 56 data bytes
64 bytes from 2a01:4f9:c010:6b1f::1: icmp_seq=2 ttl=46 time=276 ms
64 bytes from 2a01:4f9:c010:6b1f::1: icmp_seq=3 ttl=46 time=286 ms
64 bytes from 2a01:4f9:c010:6b1f::1: icmp_seq=4 ttl=46 time=288 ms
--- 2a01:4f9:c010:6b1f::1 ping statistics ---
6 packets transmitted, 3 received, 50% packet loss, time 5053ms
rtt min/avg/max/mdev = 275.548/283.428/288.457/5.642 ms
but:
ping 9.9.9.9
ping: connect: Network is unreachable
ping 223.6.6.6
ping: connect: Network is unreachable
system use systemd-networkd and systemd-resolved for networks,dns still works.
Last edited by nationday (2025-10-02 01:13:05)
Offline
Please post the output of
ip a
ip r
and the "network" file contents of the adapter that should acquire an IPv4 address (e.g. "/etc/systemd/network/10-wired.network").
Offline
thank you for help
ip a
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 noprefixroute
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:e0:23:40:0b:6f brd ff:ff:ff:ff:ff:ff
altname enx00e023400b6f
inet 192.168.2.7/24 brd 192.168.2.255 scope global enp2s0
valid_lft forever preferred_lft forever
inet6 2409:8a28:39e4:8614:2e0:23ff:fe40:b6f/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 195604sec preferred_lft 109204sec
inet6 fe80::2e0:23ff:fe40:b6f/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
ip r
192.168.2.0/24 dev enp2s0 proto kernel scope link src 192.168.2.7
cat /etc/systemd/network/20-wired.network
[Match]
Name=enp2s0
[Network]
Address=192.168.2.7/24
Gateway=192.168.2.1/24
DNS=223.5.5.5
DNS=114.114.114.114
#DNS=1.1.1.1
#DNS=185.181.61.24
#DNS=94.247.43.254
btw another win-pc works fine under same network,so i guess it's a archlinux system problem.
Last edited by nationday (2025-10-01 15:30:32)
Offline
Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.
You don't have a default route. Idk how networkd handles this but it should likely be
Gateway=192.168.2.1
Offline
Yep - I just tested it: If you add "/24" to the Gateway the default route will not be set.
Offline
yes,it works.thank you.
strange this worked for months,but breaks today.
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline