All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Complicated Route Statement
@ 2003-02-06  5:03 Mike Nielsen
  2003-02-06 12:41 ` Matthew S. Crocker
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Nielsen @ 2003-02-06  5:03 UTC (permalink / raw)
  To: lartc



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
	
-- 


-----------------------------
|\/|ike@GetBent.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Complicated Route Statement
  2003-02-06  5:03 [LARTC] Complicated Route Statement Mike Nielsen
@ 2003-02-06 12:41 ` Matthew S. Crocker
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew S. Crocker @ 2003-02-06 12:41 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-06 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-06  5:03 [LARTC] Complicated Route Statement Mike Nielsen
2003-02-06 12:41 ` Matthew S. Crocker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.