TL-WR902AC routing issue on Raspberry Pi

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

TL-WR902AC routing issue on Raspberry Pi

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
TL-WR902AC routing issue on Raspberry Pi
TL-WR902AC routing issue on Raspberry Pi
2020-09-20 09:13:48
Model: TL-WR902AC  
Hardware Version: V3
Firmware Version:

Hi,

 

I'm having issues getting my Raspberry Pi 4 running Raspberry OS working with the TL-WR902AC. My broadband router has the IP address 192.168.1.1. The WR902AC has the IP address 192.168.0.1. 

 

All of my devices can connect to the WR902AC and access the Internet fine. However I get issues with my Pi. If my Pi connects to the broadband router, I can ping 8.8.8.8.

 

pi@pi-desktop:~ $ sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    303    0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     303    0        0 wlan0


pi@pi-desktop:~ $ sudo ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.63  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fd86:439d:b062:0:dea6:32ff:feac:610c  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::dea6:32ff:feac:610c  prefixlen 64  scopeid 0x20<link>
        inet6 2a02:c7f:540a:6000:dea6:32ff:feac:610c  prefixlen 64  scopeid 0x0<global>
        ether dc:a6:32:ac:61:0c  txqueuelen 1000  (Ethernet)
        RX packets 4514  bytes 5370308 (5.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5242  bytes 654571 (639.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

pi@pi-desktop:~ $ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=14.3 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=119 time=13.6 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=119 time=13.7 ms
 

But if I connect to the WR902AC, I can't ping 8.8.8.8...

 

pi@pi-desktop:~ $ sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    303    0        0 wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     303    0        0 wlan0
192.168.1.1     0.0.0.0         255.255.255.255 UH    303    0        0 wlan0

 

pi@pi-desktop:~ $ ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.0.101 icmp_seq=6 Destination Host Unreachable
From 192.168.0.101 icmp_seq=7 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
10 packets transmitted, 0 received, +2 errors, 100% packet loss, time 388ms
pipe 3

 

pi@pi-desktop:~ $ sudo ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.101  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::dea6:32ff:feac:610c  prefixlen 64  scopeid 0x20<link>
        ether dc:a6:32:ac:61:0c  txqueuelen 1000  (Ethernet)
        RX packets 4457  bytes 5350515 (5.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5122  bytes 635544 (620.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 

I have a feeling it's due to the routing table containing an entry for the broadban router as a gateway, but it should be hitting the WR902AC instead.

 

Anyone got any ideas how to get it working? Thanks!

  0      
  0      
#1
Options

Information

Helpful: 0

Views: 421

Replies: 0

Related Articles