[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: simple routing question



Hm. Your post seems off-topic to me, but I could be wrong. If your
cousin uses an old Storm-Linux CD for a coaster then probably anything
you posted would be on topic in this list   :-)

But seriously, the problem is that you're trying to use a router that
isn't on the host's network. You can't do this. If your host has a
single NIC with a single address, it can only talk directly to nodes
on the same network as its address. The solution is to leave your
hosts' default router set to 10.10.8.254, and add a static route to
10.10.8.254's routing table to forward all packets from your host
straight to 10.10.6.1.

Regards,

Paul Mackinney
pmackinney@home.com

----- Original Message -----
From: "Jonathan Lupa" <jjlupa@jamdata.net>
To: <debian-user@lists.debian.org>
Sent: Saturday, June 16, 2001 5:17 AM
Subject: simple routing question

I have the feeling that I just can't do what I want, but I figured I'd
ask to be sure...

I have a host with a static IP in the 10.10.8.* network.  The router
for that network is 10.10.8.254.  There is another router 10.10.6.1,
which can be reached through 10.10.8.254.  What I would like to do is:

route add -net 10.0.0.0/8 gw 10.10.8.254
route add -host 10.10.6.1 gw 10.10.8.254
route add default gw 10.10.6.1

But every time I attempt to add that default route it gives me a
"Network Unreachable" error.

Thoughts?

-Jonathan

--
jjlupa@jamdata.net
GPG public key available from http://lupavista.jamdata.net/gpg.asc
------------------------------------------------------------------
Lament 1750: "If I only had a radioactive decay source and a fast
free-running oscillator..."




Reply to: