Re: Routing through two DD-WRT's



"aegres" <aegres.30ioml@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:aegres.30ioml@xxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi All,

I am stuck and have been trying for a while. Perhaps I am missing
something simple.

I have 3 subnets (on 3 seperate sites 1km+ appart):

192.168.110.0/24
192.168.111.0/24
192.168.112.0/24

They are connected by 4 DD-WRT v23SP2 on Linksys WRT54GL boxes.

Two of the DD-WRT's are setup as routes and are located on the central
site .111. The wireless interfaces on these two talk to the other two
DD's that are accesspoints on the other two sites providing wireless
access to .110 and .112.

I can happily route packets from hosts on .111 to .110 and .112, but I
can't route packets from .110 to .112 and vice versa - which is what i
really want to achieve.

I have spent quite some time trying to analyse what is happening
(thinking the routing table may be incorrect). I have stripped all
rules from IP tables (ip_forwarding is on). I have added accounting
rules to the routers to see if packets are being forwarded.

The results:
if i try to ping a host on .110 from .112 the .111/.112 router's
accounting rules (iptables) counters increment but the .111/.110
router's accounting rules do not... I can ping the same .110 address
from the .111/.112 router though... so the route table on that router
seems to be correctly pointing at the .110 subnet. It just seems that
anything coming from the .112 doesn't come out the other side of the
router, even though the counters are incrementing in its iptables.

sounds like the 2 routers do not have routes to the subnet on each other
across the .111 subnet.

if the boxes support a routing protocol, then turn it on.
otherwise configure a static route on each with next hop on the other
router, for the remote subnet.

Or - if they are set up for NAT rather than classic IP routing, then they
are working as configured, and not letting any connections in from the "WAN"
interface.

Is this a bug? Does it have something to do with the fact that one of
the interface is br0? I assume that br0 is a bridge interface to get
all four ethernet ports working - maybe the bridging module code doesn't
like this sort of stuff...

Any thoughts or help would be greatly appreciated.

Thanks,
James.


------------------------------------------------------------------------
View this thread: http://www.wirelessforums.org/showthread.php?t=32896
http://www.wirelessforums.org

--
Regards

stephen_hope@xxxxxxxxxxxx - replace xyz with ntl


.



Relevant Pages

  • Re: please advise - problem with routing
    ... and a network is a very important distinction in IP address configuration. ... you show that the 192.168.1.0/24 subnet has two devices ... ROUTE PRINT on NT4 ... ROUTE PRINT on router ...
    (microsoft.public.windows.server.networking)
  • Re: Win2k3 LAN Routing Questions
    ... all you need to do is enable IP routing on the router. ... If there was no other network involved, you simply make the router the ... pretty straight forward as long as you can add a route to your NAT router. ... This is important because this router needs to know where your new subnet is ...
    (microsoft.public.windows.server.networking)
  • Re: please advise - problem with routing
    ... Routes should be added at the router. ... router separting the 192.168.26.0/24 subnet from the 192.168.1.0/24 subnet. ... Please post the Route tables, and IP config information for your networks. ... > "Dana Brash" wrote in message ...
    (microsoft.public.windows.server.networking)
  • Re: Windows 2000 server as Network Router
    ... Making changes at the router itself cannot fix this. ... Traffic for the "other" subnet is sent to the router. ... local subnet now goes to the external router and is lost. ... You can do this by adding a static route to every client to send traffic ...
    (microsoft.public.windows.server.networking)
  • Re: 2 NIC SBS2003R2 LAN/WAN Firewall Router Connection Failure
    ... I changed the SBS external IP settings as you suggest. ... Clients and the SBS Server can reach the router. ... may be there are some rule deny the access from some IP addresses or subnet. ... |> Two Nics, a static IP address, ISA, router ...
    (microsoft.public.windows.server.sbs)

Loading