You are not logged in.

#1 2026-01-04 21:56:25

The_Phoenix0
Member
Registered: 2026-01-04
Posts: 6

Cant connect to websites using ipv4 (solved)

Solved by making my requested ip given to the same MAC every time in the router.



Hello all, I have recently had the issue of not being able to connect to most websites. I cannot connect to github, firefox, or texteditor.co.
I have no clue what is happening, or how to test to find out more. Pinging 1.1.1.1/8.8.8.8 doesnt work, neither does curling the websites I need to visit. I host a minecraft server, and get this error very often.

[Yggdrasil Key Fetcher/ERROR]: Failed to request yggdrasil public key
com.mojang.authlib.exceptions.MinecraftClientException: Failed to read from https://api.minecraftservices.com/publickeys due to Connect timed out
Caused by: java.net.SocketTimeoutException: Connect timed out

Testing other websites, google works (ew) ofc the wiki works, gmail works, but discord doesnt. here is the output of my

ip addr
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 02:aa:bb:cc:cc:ee brd ff:ff:ff:ff:ff:ff permaddr 84:47:09:3e:fe:7b
    altname enx8447093efe7b
    inet 192.168.1.25/24 brd 192.168.1.255 scope global enp1s0
       valid_lft forever preferred_lft forever
    inet6 2603: scope global dynamic noprefixroute 
       valid_lft 604616sec preferred_lft 604616sec
    inet6 2603: scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 300sec preferred_lft 300sec
    inet6 fe80::aa:bbff:fecc:ccee/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever

I am ofc using an ethernet cable.

Last edited by The_Phoenix0 (2026-01-07 01:45:54)

Offline

#2 2026-01-04 22:30:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: Cant connect to websites using ipv4 (solved)

The lines starting w "inet6 2603:" expose a publically routable IPv6 (Cedars under a lone star) - obfuscate them.
Can you still "ping 192.168.1.1" when this happens?
And what's the output of

ip -4 r
ip r get 8.8.8.8

in either situation?
Also

tracepath 8.8.8.8

Offline

#3 2026-01-04 22:38:25

The_Phoenix0
Member
Registered: 2026-01-04
Posts: 6

Re: Cant connect to websites using ipv4 (solved)

Thank you very much! Here is that log

[phoenix@archlinux ~]$ ip -4 r
ip r get 8.8.8.8
default via 192.168.1.1 dev enp1s0 proto static 
192.168.1.0/24 dev enp1s0 proto kernel scope link src 192.168.1.25 
8.8.8.8 via 192.168.1.1 dev enp1s0 src 192.168.1.25 uid 1000 
    cache 
[phoenix@archlinux ~]$ tracepath 8.8.8.8
 1?: [LOCALHOST]                      pmtu 1500
 1:  no reply
 2:  no reply
 3:  no reply
 4:  no reply
 5:  no reply
 6:  no reply
 7:  no reply
 8:  no reply

I can not ping 192.168.1.1

Last edited by The_Phoenix0 (2026-01-04 22:39:15)

Offline

#4 2026-01-04 22:52:25

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: Cant connect to websites using ipv4 (solved)

So the _gateway already doesn't respond - sure the IPv6 connections still work?
You can reliably ping 2001:4860:4860::8888 (googles IPv6 DNS)?

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#5 2026-01-04 22:57:29

The_Phoenix0
Member
Registered: 2026-01-04
Posts: 6

Re: Cant connect to websites using ipv4 (solved)

I can reliably ping googles ipv6 address.

https://0x0.st/PoeC.txt

Offline

#6 2026-01-04 23:06:46

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: Cant connect to websites using ipv4 (solved)

Did you enable debugging in systemd-networkd (the journal if full of the unobfuscated IPv6, might be a systemd-networkd bug, though)?

Either way. There's no dhcp4 lease logged, was the IP statically assigned?
Please post your networkd configs from /etc/systemd/network

---
In unrelated news, using uwsm w/ hyprland is discouraged by the hyprland developers (and frequently leads to issues, but unrelated to this one)

Offline

#7 2026-01-04 23:57:19

The_Phoenix0
Member
Registered: 2026-01-04
Posts: 6

Re: Cant connect to websites using ipv4 (solved)

[phoenix@archlinux ~]$ cd /etc/systemd/network
[phoenix@archlinux network]$ ls
10-enp1s0.network  10-enp2s0.network
[phoenix@archlinux network]$ cat 10-enp1s0.network
[Match]
Name=enp1s0

[Network]
Address=192.168.1.25/24
Gateway=192.168.1.1
DNS=192.168.1.1


The IP is statically assigned, Its the only IP with port 25565 open. I dont have the ability to open any more.

Here is the full log:

https://0x0.st/Po2l.txt

Thank you!

Offline

#8 2026-01-05 00:11:34

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: Cant connect to websites using ipv4 (solved)

The IP is statically assigned, Its the only IP with port 25565 open.

The router probably doesn't know that lol

According to the journal (you btw. might want to reboot your modem after this a couple of times to prompt a new IPv6) and because there's a DHCPv6 server you can get a DHCPv4 lease.
What you want to to is to reserve the IP, you're forwarding minecraft to, for the MAC of your enp1s0 (84:47:09:3e:fe:7b) so when you're asking the dhcp server for an IP, you're getting that one.

For a static IP w/o DHCP you'll *at least* have to exempt the IP from the routers DHCP pool.

Offline

#9 2026-01-05 02:50:36

The_Phoenix0
Member
Registered: 2026-01-04
Posts: 6

Re: Cant connect to websites using ipv4 (solved)

So what your saying is that there is nothing I can do without access to the router?

Offline

#10 2026-01-05 08:29:02

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: Cant connect to websites using ipv4 (solved)

You cannot just "claim" an IP the router considers to be its to assign (and possibly *has* assigned to a different host already), no.
You could keep dhcp-asking for an IP until you got the one you wanted, but that could also quickly get you blacklisted.
Who controls the router?

Offline

#11 2026-01-07 01:44:49

The_Phoenix0
Member
Registered: 2026-01-04
Posts: 6

Re: Cant connect to websites using ipv4 (solved)

Thanks so much for your help. This worked for me!

Offline

#12 2026-01-07 08:03:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: Cant connect to websites using ipv4 (solved)

\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

Board footer

Powered by FluxBB