I have no idea what might be wrong. I have this ISP for a few years and on last weeks it stopped working.
I receive IPv4 and IPv6 from it using DHCP. Modem has been in bridge mode, I changed it back to router but got the same errors. But when I connect a laptop to it, it works fine, both in router and bridge modes.
ping gives 100% loss
# ping -c 4 -I eth2 v4.ipv6-test.com
PING v4.ipv6-test.com (51.75.78.103) from 192.168.20.16 eth2: 56(84) bytes of data.
--- v4.ipv6-test.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3040ms
pipe 4
Oddly, httping reports success
# httping -c 4 -I eth2 v4.ipv6-test.com
PING v4.ipv6-test.com:80 (/):
connected to 51.75.78.103:80 (200 bytes), seq=0 time=481.67 ms
connected to 51.75.78.103:80 (200 bytes), seq=1 time=486.84 ms
connected to 51.75.78.103:80 (200 bytes), seq=2 time=477.67 ms
connected to 51.75.78.103:80 (200 bytes), seq=3 time=510.36 ms
--- http://v4.ipv6-test.com/ ping statistics ---
4 connects, 4 ok, 0.00% failed, time 5957ms
round-trip min/avg/max = 477.7/489.1/510.4 ms
traceroute ports only 1 hop, which is WAN's IP under modem (router mode) LAN
# traceroute -i eth2 v4.ipv6-test.com
traceroute to v4.ipv6-test.com (51.75.78.103), 30 hops max, 46 byte packets
1 192.168.20.16 (192.168.20.16) 3062.560 ms !H 3072.174 ms !H 3075.724 ms !H
curl reports host unreachable
# curl -k --interface eth2 https://v4.ipv6-test.com/api/myip.php
curl: (7) Failed to connect to v4.ipv6-test.com port 443: Host is unreachable
/etc/config/network
config interface 'wan_mrd'
option ifname 'eth2'
option proto 'dhcp'
option metric '30'
option peerdns '1'
option dns '208.67.222.222,208.67.220.220'
option ipv6 '1'
config interface 'wan_mrd6'
option proto 'dhcpv6'
option ifname 'eth2'
option reqaddress 'try'
option metric '40'
option peerdns '0'
option reqprefix '56'
# uci show network.wan_mrd
network.wan_mrd=interface
network.wan_mrd.ifname='eth2'
network.wan_mrd.proto='dhcp'
network.wan_mrd.metric='30'
network.wan_mrd.peerdns='1'
network.wan_mrd.dns='208.67.222.222,208.67.220.220'
network.wan_mrd.ipv6='1'
# ip a show
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether a0:36:9f:aa:4b:6a brd ff:ff:ff:ff:ff:ff
inet 192.168.20.16/24 brd 192.168.20.255 scope global eth2
valid_lft forever preferred_lft forever
inet6 2804:14c:xxxx:5316::1001/128 scope global dynamic noprefixroute
valid_lft 85744sec preferred_lft 85744sec
inet6 2804:14c:xxxx:5316:a236:9fff:feaa:4b6a/64 scope global dynamic noprefixroute
valid_lft 86390sec preferred_lft 71990sec
inet6 2804:14c:xxxx:5316:ec9c:ec1e:8e5a:83ec/64 scope global temporary dynamic
valid_lft 85453sec preferred_lft 71053sec
inet6 fe80::a236:9fff:feaa:4b6a/64 scope link
valid_lft forever preferred_lft forever
# ip route show
default via 192.168.29.1 dev eth1 proto static src 192.168.29.33
default via 179.184.120.20 dev pppoe-want proto static metric 10
default via 192.168.20.1 dev eth2 proto static src 192.168.20.16 metric 30
default via 10.1.12.1 dev pppoe-wan_exs proto static metric 50
10.1.12.1 dev pppoe-wan_exs proto kernel scope link src 100.64.13.152
179.184.120.20 dev pppoe-want proto kernel scope link src 186.213.218.154
192.168.20.0/24 dev eth2 proto static scope link metric 30
192.168.29.0/24 dev eth1 proto kernel scope link src 192.168.29.33
192.168.35.0/24 dev eth3 proto kernel scope link src 192.168.35.22
192.168.49.0/24 dev br-lan proto kernel scope link src 192.168.49.1
# ifstatus wan_mrd
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 781,
"l3_device": "eth2",
"proto": "dhcp",
"device": "eth2",
"updated": [
"addresses",
"routes",
"data"
],
"metric": 30,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
{
"address": "192.168.20.16",
"mask": 24
}
],
"ipv6-address": [
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "0.0.0.0",
"mask": 0,
"nexthop": "192.168.20.1",
"source": "192.168.20.16/32"
}
],
"dns-server": [
"181.213.132.2",
"181.213.132.3"
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
"leasetime": 3600
}
}
Any idea what might be wrong?