Re: gateway not set by dhcp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx / trevor@xxxxxxxxxxxxxxxxx
  YM : trevorc01@xxxxxxxxx
  AIM: DoubleOTeC
  GoogleTalk: doubleOTeC@xxxxxxxxx
------------------------------------------------------------------------
Home Page <http://trevor.bouyon.dalive.com/>
Curriculum Vitae <http://bouyon.dalive.com/cv/>
Dalive Market <http://www.dalivemarket.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux