On Wed, 5 Feb 2003, Mike Nielsen wrote:
On Lan A type
route add -net 198.185.204.0 netmask 255.255.255.0 gw 192.168.24.1
On Lan B type
route add -net 198.185.204.0 netmask 255.255.255.0 gw 192.168.24.2
On the Cisco type
ip route 192.168.24.128 255.255.255.192 192.168.24.1
>
>
> Hi there.
>
>
> I am having trouble coming up with a routing statement for the following
>
>
>
> Lan A is connected to LAn B via a Freeswan site to site VPN
>
> On lab B there is a cisco router which is handles traffic for an IP
address.
>
> I need to find a way to have traffic to this Other machine routed through
the
> IPsec tunnel, to the Cisco.
>
> Here''s a crppy ascii art diagram to help explain
>
>
>
> Lan A
> 192.168.24.128/26
> 192.168.24.130 iproute2 Firewall and VPN machine
> |
> | IPsec Tunnel
> |
> Lan B
> 192.168.24.1 Iproute2 Firewall and VPN machine
> 192.168.24.0/26 --- 192.168.24.2 Cisco Router <-->
198.185.204.0/24
>
> So basically I need a route statement that says
>
> route any traffic to 198.185.204.0/24 to 192.168.24.2 Via 192.168.24.2
>
> ??
>
> Any help you all could give would be greatly appreciate
>
>
--
----------------------------------------------------------------------
Matthew S. Crocker
Vice President / Internet Division Email: matthew@crocker.com
Crocker Communications Phone: (413) 746-2760
PO BOX 710 Fax: (413) 746-3704
Greenfield, MA 01302-0710 http://www.crocker.com
----------------------------------------------------------------------
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/