LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcp does not set gateway (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-does-not-set-gateway-310482/)

pantoniades 04-06-2005 04:18 PM

dhcp does not set gateway
 
Hi,

For some reason, about a month ago my Fedora Core 3 system decided that it no longer needed to set the gateway when connecting via DHCP. This happens both wirelessly and over ethernet, and on several different routers.

At home it's not a big problem - I just need to log in as root & type

route add default gw 192.168.1.1

And all is well. At the hotspot (airtport, starbucks, etc), I don't always have a friend to tell me the gateway's IP. So that's bad.

I suspect the problem lies in dhclient-3.0.1-40_FC3 as this started after an upgrade to that (& other packages), but I am also useing the atheros wireless chipset (madwifi drivers, kept current with cvs) on a thinkpad T41 with kernel 2.6.10-1.770_FC3

Has anyone else experienced the same?

contiang 04-07-2005 08:50 AM

hi there,

i am also having the same problem.. but i am using redhat-7.2. So far i still can't connect to internet... is your problem solved yet?

paddy 02-13-2006 01:52 PM

hi, have you solved yours yet? I'M experiencing the same. however, several threads say something about setting up the gateway in /etc/sysconfig/network - but I don't have that sysconfig directory

contiang 02-13-2006 06:57 PM

Yeah,I have solved the problem. Could you describe more details about your problem.

paddy 02-14-2006 05:26 AM

my problem's solved.

I simply added the line "gateway 192.168.0.1" to the file /etc/network/options (that's what it's called in ubuntu)

thanks anyway, paddy


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