> At work we have a frame relay that house our website and dsl for our
> normal internet use.  The problem occurs when i route out to the dsl
> machine and try to goto our website.  I go out to the dsl through the
> internet and back to the website, while i should be going straight to
> the website from our lan.
> 
> This may take more than just 
> route add default gw xxx.xxx.xxx.xxx
> maybe some extra route for our frame relay
> ip address and also the dsl ip address.

Your default route should be the router for the network that you're
currently on. It's the router itself that is going to require the routing
change.

For example, if the picture looks like this:

PC ------ HUB ---- Frame ----- WebServer
           |
           |
           |
          DSL
           |
           +----------- Internet

You'll then need to add an explicit static route to get to the WebServer
with something like:

# oute add -net 192.168.11.0 netmask 255.255.255.0 eth1
# route add -net 192.168.11.0 gw 192.168.1.1 netmask 255.255.255.0

assuming the web server is on the 192.168.11.0 network and your router is
192.168.1.1. The 192.168.1.1 router will need to have information on how
to get to the 192.168.11.0 network as well.

Dave



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to