Can't connect to any IPv4 addresses (4.19 Kernel)

So this is an odd issue I haven't seen anyone else with. All of a sudden, IPv4 addresses are unreachable on my Manjaro desktop, Ethernet hooked up computer.

I'm not super technical, but I've found a few things that seem out of place, such as I can't ping 8.8.8.8:

$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.2.1 icmp_seq=1 Destination Net Unreachable

But something like Google.ca's IPv6 address is reachable:

$ ping google.ca
PING google.ca(yyz10s03-in-x03.1e100.net (2607:f8b0:400b:808::2003)) 56 data bytes
64 bytes from yyz10s03-in-x03.1e100.net (2607:f8b0:400b:808::2003): icmp_seq=1 ttl=54 time=28.3 ms

Other useful information:

Kernel: 4.19.85-1-MANJARO

Tried rebooting/disconnecting/reconnecting etc. Any advice?

for disable ipv6

sudo nano /etc/default/grub

Find the line that contain "GRUB_CMDLINE"

Add "ipv6.disable=1" to the boot option, then save your grub file

and update grub

sudo update-grub

Verify with

ping -4vc4 manjaro.org

By experience, only a few things happen all of a sudden.
Usually, something prepares the road... :wink:

$ ping -4vc4 manjaro.org
PING manjaro.org (176.9.38.148) 56(84) bytes of data.
From web.ht812 (192.168.2.1) icmp_seq=1 Destination Net Unreachable

Also @stephane why would I disable IPv6 if that's the only one that works?

It still works from other devices? (mobile phone, etc?)

There were issues before, but they've all been sorted by restarting the router. It's only the computer that's hooked up to the Ethernet that can't connect to IPv4.

Update: It was the router, not Manjaro. Was able to fix by messing with the wires.

Please, share more details, if possible. Was there any broken wire, or wrong type, or other?

1 Like

Forum kindly sponsored by