[7.450][QUESTION][OPEN] Static routes not working?

I know very little about routing, but it seems to me that what I am trying to do should be legal.

I have 2 interfaces, one WAN (external), one LAN (internal).  On the LAN side, one of the machines is running a Cisco router in emulation (dynamips) which sits between the LAN and a lab network.

Ex:  LAN 192.168.1.0/24,  LAB 10.8.5.0/26, Router LAN IP 192.168.1.29

On a windows machine on the LAN I can access the LAB subnet by creating a static route: route add 10.8.5.0 mask 255.255.255.192 192.168.1.29, but I would much rather have ASG (which is my default GW for the LAN) to the routing to the LAB router.

I configure a static route in ASG:
Route Type: Gateway Route
Network: 10.8.5.0/26
Gateway: 192.168.1.29 (bound to internal)

Now when I try tracert from LAN to LAB, hop 1 is the ASG (192.168.1.1) but hop 2 and beyond go out the WAN rather than going to 192.168.1.29.
Parents
  • It's clear to me how to do this with the LAB connected to a different interface on the Astaro, but not the way you have it connected.  I'm not one of the routing wizards though.

    Maybe you could SNAT 'Internal (Network) -> Any -> LAB' traffic from 'Internal (Address)'.  I'd be curious to know if that works...

    Cheers - Bob
  • Hello, I'll try to help you.

    I assume your setup looks like this:

    WAN (Red) -- [ASG] -- LAN INT-- [Cisco] -- LAN LAB

    Your Routing setup (LAN LAB via Cisco) on ASG looks nearly correct but you should remove the "bound to internal" from the Gateway Network Definition. Also please check the packetfilter settings on the ASG (ICMP traffic is limited per default - which is needed for traceroute).

    Be aware that response-traffic for LAN INT coming from LAN LAB will be directly delivered to the Clients in LAN INT by the Cisco.

    Your setup will also trigger ICMP redirect messages because there is a better route for LAN LAB (directly through the cisco).

    This is not a secure setup if you really want to securely limit communication between LAN INT and LAN LAB.
  • VERY much appreciated!  I will give this a try.
Reply Children