LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How_Set_Gateway (https://www.linuxquestions.org/questions/slackware-14/how_set_gateway-118644/)

..:eMa:.. 11-21-2003 04:56 PM

How_Set_Gateway
 
Hi'

How to sets gateway's address?

Thk!

subekk0 11-21-2003 05:06 PM

pico /etc/rc.d/rc.inet1 or rc.inet1.conf and scroll to the bottom there is a line GATEWAY = ""

h3pc4t 11-21-2003 05:28 PM

If you have DHCP, you can just set:

USE_DHCP[interface number]="1"

..:eMa:.. 11-21-2003 05:36 PM

Yeh!
But when I reboot mylinuxbox the route table change.

Mygateway for the 0.0.0.0 is always 0.0.0.0

Why?

h3pc4t 11-21-2003 05:45 PM

I'm not sure what you're asking. What's the output of 'netstat --route'?


All times are GMT -5. The time now is 09:32 PM.