LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   probably simple, gateway issue? (https://www.linuxquestions.org/questions/linux-networking-3/probably-simple-gateway-issue-172906/)

jfranks214 04-21-2004 11:19 AM

probably simple, gateway issue?
 
SUSE server 8.

How do I add a gateway to the ifconfig info for eth0?

The box can ping it's own subnet, but is unable to reach any of the others. I assume I need to add a gateway, but I can't seem to figure out how.

mandeltuete 04-21-2004 12:19 PM

You need route to do that:
# route add default gw <IP_of_the_gateway>

HTH

jfranks214 04-21-2004 12:26 PM

thank you thank you

worked like a charm.

Jonathan

jfranks214 05-11-2004 10:51 AM

hey,

we just rebooted and the route was lost. What file do I configure this in so that it's permanent?


thx...

Jonathan


All times are GMT -5. The time now is 08:12 PM.