Networking Forums

Networking Forums > Computer Networking > Linux Networking > routing to multiple subnets in one entry

Reply
Thread Tools Display Modes

routing to multiple subnets in one entry

 
 
/dev/rob0
Guest
Posts: n/a

 
      07-12-2003, 11:04 PM
Suppose you have a LAN on 192.168.$W.0/24, and from there you connect to
other subnets via VPN: 192.168.$X.0/24, 192.168.$Y.0/24, 192.168.$Z.0/24
.... your Ethernet interface sets the route to the $W subnet when it's
brought up. Could you set a single route to 192.168.0.0/16 pointing to
the VPN gateway?

Oh yeah, the VPN gateway is another host on the $W subnet.

My theory here is that the $W route will take priority, and that the
catchall /16 route will grab all the $X, $Y and $Z traffic. Do I need to
use iproute2 to set routing priority, or will this work with good 'ol
/sbin/route?
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple subnets stueken@conterra.de Linux Networking 5 10-09-2006 09:57 AM
Why does my routing table only have 1 entry? laredotornado@zipmail.com Linux Networking 7 07-29-2006 09:06 AM
Multiple WEP KEY Entry Wilko Wireless Networks 1 05-12-2006 02:51 PM
Setting Up DNS Entry for Multiple Network Segments Will Windows Networking 1 10-30-2005 03:48 PM
how to set default entry in routing table? kernel.lover Linux Networking 1 03-15-2005 10:40 PM



1 2 3 4 5 6 7 8 9 10 11