1

I can receive ipv6 but not ipv4

I have been having trouble connecting to this Wifi router, which is the only one available. When I do connect, I can access ipv6 but NOT ipv4. I have tried disabling and enabling ipv6 and restarting my computer but It doesn't resolve this issue. Is it an issue with my environment or could it be due to the router?

1 Answer 1

1

Could be both:

This sometimes means the WiFi card is only able to receive but not send. (The IPv6 autoconfiguration works through the router periodically broadcasting advertisements without being asked, while IPv4 DHCP involves the client specifically asking for an address.) It might mean driver or hardware issues with the Wi-Fi card.

But it could also mean that the router can't provide a DHCP lease because it is out of IPv4 addresses. By default most home wifi routers are configured to have a pool of 100–200 addresses. If you have many devices, or guests using WiFi, or e.g. something like an Apple Watch which keeps rotating its MAC addresses even on the same network, then you could potentially have run out of leases.

(Sometimes the router's DHCP service might be broken, though that would also affect other devices.)

Try to ping the router's IPv6 addresses (the fe80 link-local address will need to be suffixed with %wlp1s0 for ping to accept it). Note that the screenshot only shows your own addresses – not the router's. Check ip -6 route to find the router's link-local address at least.

If the router answers, take a look at the DHCP client's logs – probably in journalctl -u NetworkManager -n 200 – to see if it receives DHCP rejections.

2
  • Thanks, ill make sure to check this. Are you sure I shouldn't use ping6 instead of ping though? Commented Sep 19 at 16:56
  • Do you even have ping6? I think Mint uses iputils, and iputils merged its ping6 into ping in the 20150815 release. So unless your version of Mint is from 10 years ago Commented Sep 19 at 17:11

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.