Internet issue with new OpenWrt setup

Hi All,

After a new setup my router (Dlink DIR-842 C1) is getting WAN from an ISP provided ZTE router through fiber gigabit (bridge mode).

Devices connected:

  1. Lenovo M93P Tiny - running Ubuntu - connected through LAN (cat5e) - no internet access
  2. Lenovo T460 - running Windows 10 - connected through wifi - full bandwidth internet acces
    2./b Same device - connected through LAN (same cat5e used for Tiny) - full bandwidth internet acces
  3. iPhone X - connected through wifi - no internet access

All the devices get their ip addresses through DHCP.

Tiny ping Router - 100% packet loss
Router ping TIny - 100% packet loss
T460 ping Router - OK 0% loss
Router ping T460 - 100% packet loss
T460 ping Tiny - OK 0% packet loss
Tiny ping T460 - OK 0% packet loss

T460 ping 8.8.8.8 - OK 0% packet loss
Tiny ping 8.8.8.8 - ping: connect: Network is unreachable
Router ping 8.8.8.8 - OK 0% packet loss

The funny part is that plugging the same UTP cable (The one I use to connect the Tiny to the Router) to the T460 everything works like a charm, When plugged to the Tiny it gives the above issues.

I would greatly appreciate if you could point me in the good direction. I am 100% sure i am messing up something, but I don't know what.

Thanks in advance!

your ZTE and your Dlink aren't by any chance on the same LAN side subnet ?

Shouldn't be, since you say it's bridged, but it never hurts to ask.

1 Like

Last time we talked (:smiley: ) I changed the ip for the Dlink to 192.168.2.0 and it serves ips in this subnet to all my devices as well.

br-lan    Link encap:Ethernet  HWaddr EC:AD:E0:A9:40:EC
          inet addr:192.168.2.0  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::eead:e0ff:fea9:40ec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60059 errors:0 dropped:0 overruns:0 frame:0
          TX packets:80392 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13937352 (13.2 MiB)  TX bytes:31084409 (29.6 MiB)

eth0      Link encap:Ethernet  HWaddr 5A:A2:9C:A5:30:E3
          inet6 addr: fe80::58a2:9cff:fea5:30e3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:83167 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59726 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:30306573 (28.9 MiB)  TX bytes:14794767 (14.1 MiB)
          Interrupt:4

eth0.1    Link encap:Ethernet  HWaddr EC:AD:E0:A9:40:EC
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6553 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6954 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:690940 (674.7 KiB)  TX bytes:751068 (733.4 KiB)

eth0.2    Link encap:Ethernet  HWaddr EC:AD:E0:A9:40:EE
          inet6 addr: fe80::eead:e0ff:fea9:40ee/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:76614 errors:0 dropped:0 overruns:0 frame:0
          TX packets:52765 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:28118627 (26.8 MiB)  TX bytes:13803997 (13.1 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:3834 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3834 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:416837 (407.0 KiB)  TX bytes:416837 (407.0 KiB)

pppoe-wan Link encap:Point-to-Point Protocol
          inet addr:91.83.x.x  P-t-P:10.0.0.1  Mask:255.255.255.255
          inet6 addr: x::c565:a8c3:4bef:d15f/128 Scope:Link
          inet6 addr: x:36c:106:4de:c565:a8c3:4bef:d15f/128 Scope:Global
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:73213 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49281 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:27372941 (26.1 MiB)  TX bytes:12597503 (12.0 MiB)

wlan0     Link encap:Ethernet  HWaddr EC:AD:E0:A9:40:EF
          inet6 addr: fe80::eead:e0ff:fea9:40ef/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:9475 (9.2 KiB)

wlan1     Link encap:Ethernet  HWaddr EC:AD:E0:A9:40:EC
          inet6 addr: fe80::eead:e0ff:fea9:40ec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4281 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5042 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1369562 (1.3 MiB)  TX bytes:2272847 (2.1 MiB)```

ah, that was you :slight_smile:

i would compare the DNS and gw settings between the boxes, but since you say it fails depending on what port is used, it doesn't sound like a probable cause.

1 Like

I will delete this topic.

I am soooo stupid :smiley: I set the router ip to exactly 192.168.2.0 - now i set the ip to 2.1 and everything works. No surprises if I allocate a broadcast ip to the router it won't work properly :smiley:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.