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

Re: Routing problem




Shadow wrote:

>   Attached are my routing tables, the problem is this: When I dialup my ISP, I
> can access the internet but nothing in the local subnet.  For example, my ip is
> 208.158.152.x and anything in 208.158.152.x i cant access (like email for
> example).  Our DNS servers are on another subnet which is why they work at all.
>   Now, I have a modem and a network card (208.158.152.90) which isn't hooked to
> anything, and windoze decides to have this wacky routing table and Linux has
> nothing near that, so I'm wondering, what do I need to do to be able to access
> my local subnet?  The ppp server listed in the routes.txt is a WorldGroup
> server (not sure if that makes a difference).
>   If you need any more info, please let me know.   Thanks.

Your routers.txt didn't appear to make it through; all mine says is "in
windoze 95, output of netstat -r".

As far as I can tell from the hints in your message, you seem to have a
local LAN with multiple subnets, as well as a modem.  Here's how I would
set this up:

First, set a route to the local subnet:

  route add -net 208.158.152.0 dev eth0

Then, set routes to the other subnets:

  route add -net x.x.x.x gw y.y.y.y

(where x.x.x.x is the network and y.y.y.y is the gateway router to that
network)

Then, the PPP connection should be set to become the default route when
it comes up.

Does this help?  If not, try to describe the network you're on better. 
Also, what distribution of Linux are you using?

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.