gateway not set by dhcp

Trevor "TeC" Christian trevor at bouyon.dalive.com
Sat Nov 19 02:40:17 UTC 2005


sean wrote:

> sean wrote:
>
>> I'm booting with dhcp. I get assigned the ip address and netmask, but 
>> the default route to the gateway isn't set.
>>
>> I can do it manually, but...
>>
>> FWIW, xp is able to get the gateway info.
>>
>> any suggestions?
>>
>> sean
>>
>
> Also, I've upgraded to dhclient 3.0.3-10
>
> And /var/lib/dhcp/dhclient-eth0.leases shows the gatway router:
>
> lease {
>   interface "eth0";
>   fixed-address 192.168.2.3;
>   option subnet-mask 255.255.255.0;
>   option dhcp-lease-time 4294967295;
>   option routers 192.168.2.1;
>   option dhcp-message-type 5;
>   option dhcp-server-identifier 192.168.2.1;
>   option domain-name-servers 192.168.2.1;
> .......
>
>
> sean
>
Are there any other interfaces on your system that start on boot?

If yes, you may have to specify that eth0 is to provide the default route.
Adding "DEFROUTE=yes" to the /etc/sysconfig/network-scripts/ifcfg-eth0 
should do that...

Hope that helps...

-- 
*Trevor "TeC" Christian*
/TeC Productions Studios/
Cell #: (767) 225 4472
IM
   MSN: trevorc98 at hotmail.com / trevor at bouyon.dalive.com
   YM : trevorc01 at yahoo.com
   AIM: DoubleOTeC
   GoogleTalk: doubleOTeC at gmail.com
------------------------------------------------------------------------
Home Page <http://trevor.bouyon.dalive.com/>
Curriculum Vitae <http://bouyon.dalive.com/cv/>
Dalive Market <http://www.dalivemarket.com/>




More information about the users mailing list