This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Routing to a different class C net inside my local net

My network configuration is approximately what's shown in the drawing.   Devices in the "Living Room" subnet (192.168.1.0/24) are able to reach the internet and devices in the Office and in the server room.  Devices in the Office and the Server room are unable to reach devices in the Living Room net.  That is, I can ssh from a living room device (192.168.1.100) to an office device (192.158.55.43) without any trouble - it works perfectly.  But not vice-versa.

Astaro configuration:

I created two network definitions:
WiFi - 192.168.1.0/24
WiFiAP - 192.168.55.145

then a route between them
a "static route" for Network "WiFi" to Target "Host WiFiAP"

This yields a routing table of 

loginuser@fw:/sbin > route
[FONT="Courier New"]Kernel IP routing table
Destination       Gateway          Genmask         Flags Metric Ref    Use Iface
192.168.55.0    *                    255.255.255.0   U     0      0        0 eth1
192.168.1.0     192.168.55.145  255.255.255.0   UG    0      0        0 eth1
ip68-100-204-0. *                   255.255.254.0   U     0      0        0 eth0
loopback        *                      255.0.0.0          U     0      0        0 lo
default         ip68-100-204-1.   0.0.0.0            UG    0      0        0 eth0[/FONT]


And a packet filter rule of "Any/Any to WiFiAP" allow.  This filter never seems to get hit, however.

It doesn't seem to matter if I have Arp Proxy on or off for eth1.



HELP? What have I not done?


This thread was automatically locked due to age.
Parents Reply Children
  • But in addition to solving my instant problem, I'd also like to know what I'm doing wrong (or not doing...)

    It should be possible for the Astaro box to route packets for 192.168.1.0/24 to 192.168.55.145, right??
  • BarryG has right in this case.

    It should be possible for the Astaro box to route packets for 192.168.1.0/24 to 192.168.55.145, right??


    It depends on it if your WiFi AP works as router or bridge: 
    1) WiFi AP as Bridge - Yes
    2) WiFi AP as Router with NAT - No, If you don't configure port forwarding at WiFi AP.

    Default AP works as  router.

    WaMaR
  • Ok, in other words:

    1) Set the WRT54 in "bridge" not "router" mode
    2) Move the enet from the "WAN" port to one of the LAN ports
    3) Disable DHCP on the WRT54

    That'll get rid of the 192.168.1.0/24 network entirely.  I understand how that'd work.

    Can someone tell me why what I want to do doesn't work?  (What sort of port forwarding would I need to configure on the WRT54 to make this work?  That doesn't make any sense to me)

    If a computer on the 192.168.55.0/24 network wants to talk to the 192.168.1.0/24 network, it'll send the packet to the default gateway: 192.168.55.55 (the Astaro box).  The Astaro box has a route for 192.168.1.0/24 -- via 192.168.55.145 (the WRT54).  The WRT54's "WAN" port is 192.168.55.145... why shouldn't that work???
  • Ok, in other words:

    1) Set the WRT54 in "bridge" not "router" mode
    2) Move the enet from the "WAN" port to one of the LAN ports
    3) Disable DHCP on the WRT54


    #1 should probably be skipped; it's redundant if you do #2 & 3, and you really want an AP, not a strict bridge.


    If a computer on the 192.168.55.0/24 network wants to talk to the 192.168.1.0/24 network, it'll send the packet to the default gateway: 192.168.55.55 (the Astaro box).  The Astaro box has a route for 192.168.1.0/24 -- via 192.168.55.145 (the WRT54).  The WRT54's "WAN" port is 192.168.55.145... why shouldn't that work???


    2 likely problems:
    1. I think that Astaro won't want to route back onto the same LAN as the source, unless you have VLANs setup.
    2. You'd have to setup DNAT on the Linksys for each service you wanted to allow into the wifi net, and you'd have to use the IP of the Linksys from the lan, not the WiFi IPs.

    Barry