You are not logged in.

#1 2023-06-02 21:12:50

Swaipy
Member
Registered: 2021-04-28
Posts: 5

can't reach ipv4 connections

i cant connect to any ipv4 server, if i try to ping google.com i cant but it only shows an ipv6, and when i try to ping github.com it doesnt send the ping.
its not an isp problem because from my phone i can enter those websites.
output of cat /etc/resolv.conf

# Generated by resolvconf
domain Home
nameserver 192.168.0.1
nameserver 2800:810:100:2:190:55:60:129
nameserver 2800:810:100:1:200:115:192:28
nameserver 2800:810:100:1:200:115:192:30
 

output of ip addr / if config

[swaipy@skynet ~]$ ip addr
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 fe80::10a5:ae9b:1332:5294/64 scope link 
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 4c:cc:6a:4b:25:1c brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.109/24 brd 192.168.0.255 scope global dynamic eth0
       valid_lft 86244sec preferred_lft 75444sec
    inet6 2800:810:443:85c::1002/128 scope global dynamic noprefixroute 
       valid_lft 3885908sec preferred_lft 3885908sec
    inet6 2800:810:443:85c:d3e6:a128:e09c:6cf1/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 3886041sec preferred_lft 3886041sec
    inet6 fe80::491a:17da:9afc:ee32/64 scope link 
       valid_lft forever preferred_lft forever
[swaipy@skynet ~]$ ifconfig
eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC>  mtu 1500
        inet 192.168.0.109  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 2800:810:443:85c:d3e6:a128:e09c:6cf1  prefixlen 64  scopeid 0x0<global>
        inet6 2800:810:443:85c::1002  prefixlen 128  scopeid 0x0<global>
        inet6 fe80::491a:17da:9afc:ee32  prefixlen 64  scopeid 0x20<link>
        ether 4c:cc:6a:4b:25:1c  txqueuelen 1000  (Ethernet)
        RX packets 4843  bytes 3706016 (3.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4203  bytes 1029307 (1005.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 fe80::10a5:ae9b:1332:5294  prefixlen 64  scopeid 0x20<link>
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 710  bytes 44080 (43.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 710  bytes 44080 (43.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

im using connman and dhcpcd but the issue still exists with NetworkManager
also output from route -n and route -6 -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    1002   0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     1001   0        0 lo
192.168.0.0     0.0.0.0         255.255.255.0   U     1002   0        0 eth0
192.168.0.1     0.0.0.0         255.255.255.255 UH    0      0        0 eth0
[swaipy@skynet ~]$ route -6 -n
Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref  Use If
2800:810:443:85c::/64          ::                         U    1002 1      0 eth0
fe80::/64                      ::                         !n   256 1      0 lo
fe80::/64                      ::                         U    256 1      0 eth0
::/0                           fe80::5a90:43ff:fe5c:3d43  UG   1002 5      0 eth0
::1/128                        ::                         Un   0   7      0 lo
2800:810:443:85c::1002/128     ::                         Un   0   3      0 eth0
2800:810:443:85c:d3e6:a128:e09c:6cf1/128 ::                         Un   0   3      0 eth0
fe80::10a5:ae9b:1332:5294/128  ::                         Un   0   4      0 lo
fe80::491a:17da:9afc:ee32/128  ::                         Un   0   3      0 eth0
ff00::/8                       ::                         U    256 5      0 eth0
::/0                           ::                         !n   -1  1      0 lo

also output of ping -c 1 google.com and github.com

[swaipy@skynet ~]$ ping -c 1 google.com
PING google.com(2800:3f0:4002:80b::200e (2800:3f0:4002:80b::200e)) 56 data bytes
64 bytes from 2800:3f0:4002:80b::200e (2800:3f0:4002:80b::200e): icmp_seq=1 ttl=59 time=12.1 ms

--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 12.143/12.143/12.143/0.000 ms
[swaipy@skynet ~]$ ping -c 1 github.com
PING github.com (20.201.28.151) 56(84) bytes of data.

--- github.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Last edited by Swaipy (2023-06-02 21:40:11)

Offline

#2 2023-06-03 07:07:05

seth
Member
Registered: 2012-09-03
Posts: 60,792

Re: can't reach ipv4 connections

im using connman and dhcpcd but the issue still exists with NetworkManager

Please post the output of

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

Offline

#3 2023-06-03 14:45:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,323

Re: can't reach ipv4 connections

Do other computers on your network work with IPv4?
Do other operating system on your computer work with IPv4?
Do you control 192.168.0.1 ?   Does it have a shell interface or does it have a GUI with internet test capability?  Can it see public IPv4 stuff?
Have you tried rebooting 192.168.0.1?
Has it ever worked?  Any chance your ISP is having issues?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB