OpenWrt Forum Archive

Topic: Routing help

The content of this topic has been archived on 23 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I need some pointers as to just where I am going wrong. The network is (basically) 3 units and 4 subnets.


R1
eth1       192.168.0.0/24  (internet access, set as WAN, doing NAT, station mode)
br0         (vlan0, all ports added) 10.255.255.1/24


R2
eth0.0     LAN, 10.255.255.252/24
eth0.1     WAN, 172.16.0.1/24
wl0         AP, 10.255.254.1/24


R3
eth0.0     LAN, 10.255.252.1/24
eth0.1     WAN, 172.1.0.1/24
wl0         STA, 10.255.252.2/24


route from each unit

R1
192.168.0.0     *                      255.255.255.0   U     0      0        0 eth1
10.255.255.0   *                      255.255.255.0   U     0      0        0 br0
10.255.254.0   10.255.255.252  255.255.255.0   UG    0      0        0 br0
default            192.168.0.1       0.0.0.0         UG    0      0        0 eth1

R2
172.16.0.0      *                      255.255.255.0   U     0      0        0 eth0.1
10.255.255.0   *                     255.255.255.0   U     0      0        0 eth0.0
10.255.254.0   *                     255.255.255.0   U     0      0        0 wl0
default            10.255.255.1    0.0.0.0         UG    0      0        0 eth0.0

R3
172.16.1.0      *                    255.255.255.0   U     0      0        0 eth0.1
10.255.253.0  *                     255.255.255.0   U     0      0        0 eth0.0
10.255.254.0  *                     255.255.255.0   U     0      0        0 wl0
default           10.255.254.1    0.0.0.0         UG    0      0        0 wl0


I can ping from R2 to the net with no problem
I can not ping from R2 to LAN on R3
I can not ping from R3 LAN past WL0 on R3
I can ping from R3 to eth + wl0 on R2, but nothing past eth0

The problem looks to be WL0 on R2 or R3, but I am not sure which (both?) or anything to cause it. The routes look good to me. Currently there is 1 PC (R3) and 1 Laptop (R2, Wired) and they can ping as far as WL0 on the respective routers but not across the wireless. Any ideas are welcomed and appreciated.

Update:

Small (bug?) issue in Kamikaze 7674, you need to specify the broadcast address when configuring IP space that does not consume the entire block. 10.x.x.x and 172.16.x.x are effected but 192.168.x.x does not look to be (at least it always has the correct broadcast for 192.168.x.x)

Running Wireshark on the PC's on the LAN ports of R2 and R3 show that packets are not leaving the routers.

The discussion might have continued from here.