[NTLUG:Discuss] setting routes with mandrake 9.0

Jay Urish j at unixwolf.net
Mon Feb 2 23:45:27 CST 2004


Hey group-
I am pulling my hair out over something that I know is dead simple.

I have 2 NICs in my mandrake 9.0 server. One has a public IP a.a.a.a the 
other is on a private LAN b.b.b.b

I am NOT trying to do any routing, I just want this machine to be 
accessable on the private LAN via VPN.

Let me make the picture bigger--- I am using a Netgear FVS 318 to VPN into 
the network. I have discovered that unless a machine on the LAN behind the 
router has a valid IP >>>AND<< and default route, you can't see it though 
the tunnel.. I verified this by setting a Cisco WAP11 802.11b AP on the lan 
with no default gateway. I could not ping it through the VPN till someone 
locally logged in and put in the default gateway.

SO to my main question--- I already have a default gateway on the linux 
box.. What I need is 2 default gateways, one for each network and NIC.

I found a file /etc/sysconfig/static routes but the kernel or netscript 
seems to be ignoring it.

It looks like this at the moment
root at ns:/etc/sysconfig>cat static-routes
eth1 net 192.168.11.0 netmask 255.255.255.0 gw 192.168.11.1

Any ideas?


Jay Urish       W5GM            Systems/Network Engineer
Unixwolf Enterprises    972.691.0125    972.965.6229

http://www.unixwolf.net         AIM:jayurish 





More information about the Discuss mailing list