Re: DHCP will not grab ip.

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

 



Alex Makhlin wrote:
Mark Haney wrote:
Laura Speck wrote:
2008/10/9 Michael Magua <mmglug@xxxxxxxxx>:
On Thu, Oct 9, 2008 at 12:15 AM, Dave Feustel <dfeustel@xxxxxxxxxxxxxx>
wrote:
On Wed, Oct 08, 2008 at 10:20:17PM +0100, Laura Speck wrote:
Hey all,

I am having a problem with a brand new install of Fedora 9. This
machine has two nic's, eth0 and eth1. They are both . We currently
have eth0 plugged into a router, had eth1 plugged in earlier to try it
as well but we have this problem on both nics.

Basically, on install we specified that both nics were to be dhcp, and to come up on boot. But neither of them get an ip on boot. I know that
it's not a problem with the cable, as we plugged it into a different
machine and it works fine. I don't think it's a problem with the nics
as I can't see both of them being toast on a new machine.

ifconfig eth0 up does nothing. I've gotten someone local to the server
to try dhclient eth0 and then tail /var/log/messages. We see
DHCPREQUEST, a bunch of DHCPDISCOVER lines and then end with a "No
DHCPOFFERS received" message. ifconfig never shows either interface as
having an "inet ..." line, but they get an "inet6 ..." line. I know
it's not a problem with the dhcp server because it's our isp's, and
our other machines can grab an ip fine.

I've shut off Networkmanager (service NetworkManager stop) and started
the network (service network start).

service network start outputs:
Bringing up loopback interface [OK]
Bringing up interface eth0:
Determining IP information for eth0... failed. [FAILED]
Bringing up interface eth0:
Determining IP information for eth1... failed. No link available.
Check cable. [FAILED]

Our /etc/sysconfig/network-scripts/ifcfg-eth0 looks like...

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

Any tips would be greatly appreciated. Thanks in advance!

Laura
I have F9 running on a computer with just one nic. Everything worked
until about a week ago, when the nic suddenly no longer automatically
got a dhcp address. My work around is to run dhclient etho &. DHCP
connects then. I still haven't figured out why this happened or what
the correct fix is.

You're missing the HWADDR= stanzas in your configs. This tells the kernel
which NIC is actually eth0 and eth1 by identifying the MAC address.

Thanks, but nothing seems to change when I add the HWADDR to both
eth's configs, so the problem is still existing.

--
Laura


Just for fun, have you checked to see if you have any available IP addresses on your router?

We had this problem a while back and it turned out our leases were permanent and once the pool was used up, no one could get a lease.



No, they plugged in another computer to the router and according to them it worked fine. My guess is the drivers for both net cards are not correct. Who is the manufacturer of the cards?


That's not how I read that OP, but I could be mistaken. Have you tried shutting down one of the NICs and trying it?

Maybe it's a MAC addr/ARP problem.


--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

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

  Powered by Linux