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

Re: Internet access.



> Where do I find my routing table so that I may check it out and edit
> it as needed?  (Linux-Mandrake 7.0, so it should be the same as
> RH)

netstat -r

You can only change it with the route command, a routing protocol 
daemon, or processes such as pppd which know how to talk to the 
routing table


>> route add -net default dev ppp0
>> will sent all traffic I don't have a specific route for out ppp0.
>> If I had a firewall (like I do in my office), I'd do something like:
>> route add -net default gw firewall
> Executing that command with the IP of my proxy in place of
> "firewall" yields me "SIOCADDRT:  Network is unreachable"
> Huh?  I can ping the proxy server so I know that's not it.

what is your current routing table?
does your proxy server forward traffic?  or is it a squid/socks kind 
of proxy server?

>>Will send all traffic I don't have a specific route for to the host
>>firewall to be sent on from there.
>>You should be able to set your default gateway in the redhat control
>>panel.  Then it will be set everytime your machine starts.  Or else
>>you could setup a routing protocol.  If your IS guys run RIP you
>>simply have to start "routed -q" and it will take care of your 
routing
>>for you.  If you run something like OSPF you'll need a more advanced
>>daemon like Zebra.  If you network has a routing protocol you REALLY
>>want to use it.
>We are using 3Com netbuilders... does that provide a clue as to
>what routing protocol we are using?

I assume they are like Cisco routers and use whatever protocol they 
are configured to use.  You can run something like etherape or tcpdump 
to watch the raw packets and the routing protocol will make itself 
apparent.