View Full Version : Strange DHCP functionality
slavko.sk
2004-12-24, 05:39 AM CST
I have installed FC3 x86-64, for AMD64 3200+, NIC PCI 3Com 3C509C (I disabled onboard Realtek Gigabit, 3Com should be better), using standard 3C59x.ko module distributed with FC3.
I have to use DHCP to get in IP, I'm using Chello cable modem connection to the internet.
Under Win XP SP2 it works fine, I got IP, DG, DNS and everything.
Under FC I got everything except the right IP address. I got everything the same like under Win XP except IP adress which is different and when I set IP static (same like under Win XP) it works.
I really get the same DNS servers, search domain, Default Gateway, Network Mast, routing tables. Except IP address.
I have only 1 NIC, eth0. Nothing complicated.
Any idea? I tried everything what I'm able to do. Like setup dhclient.conf for dhclient which requests for IP, but nothing changed.
Merry Christmas from Slovakia to all.
Vinny
2004-12-24, 07:25 AM CST
i have had problems with the nic card and the correct driver. if it is not getting the ip add i would guess that is the issue. any error codes?
cricket
2004-12-24, 07:50 AM CST
Your ISP (and dhcpd in general) assigns your IP address based on your network card's MAC address. Something tells me when you got your cable modem, you were using a different network card than you are now. In order to keep the same IP address, the MAC was cloned from the original card to the card you are using now to keep the same IP address. You need to do the same in linux. Find what Windows reports as your MAC address and apply it to linux. You should be able to specify the MAC address you want to send to the dhpc server in your dhclient.conf.
slavko.sk
2004-12-24, 11:15 AM CST
No error codes at all. No in dmesg, no in other logs.
I re-registered MAC address of the 3Com card under Windows XP a few days before by cable provider. I got different IP adress as before when I was using Realtek Gigabit onboard NIC. That's clear. Now it works fine under Windows XP. I got the same setup under Windows XP then under FC3. EXCEPT IP address. I also specified 3Com MAC address in dhclient.conf file. No change. I tried to specified only eth0 interface. No change.
Vinny
2004-12-24, 02:54 PM CST
try basics first. try to ping the ip add of card. it that works then you have a working nic card. if you can not access outside then on to the next step...
slavko.sk
2004-12-25, 12:40 AM CST
As I wrote, I can ping 127.0.0.1 and received IP from DHCP server. But nothing more. Everything works except of any outside address. When I only set static IP to that one which I got from DHCP under Windows XP then I can go to the internet. But provider will punish me for static IP, I have to use DHCP.
Vinny
2004-12-26, 06:05 AM CST
i would say that i you can set the ip add static and it works. there is a config issue elsewhere. i have had the issue where it is a driver issue. it could be a dns or dhcp setting with yours.
Vinny
slavko.sk
2004-12-29, 02:48 AM CST
Hm. I have 3com NIC with drivers which everybody uses. In DHCP setting is not much to do, i created dhclient.conf which is really clear. And DNS i'm receving right from DHCP server. Routing table is also ok. I don't understand why only IP address received from DHCP server is wrong. Can it be something with media type of NIC, 10/100MBit?
Vinny
2004-12-29, 11:06 AM CST
i have seen issues with nic cards of various types. how about trying a search with google. with type of card and fc3?? im not sure what else to say. there are some good troubleshooting tips on oreilly with fc1 or 2 though. they might help.
for me if you can set ip add static and not change any config and it works ok. then only with grabing via dhcp it does not work?? then there must be something within a setting that is stopping it??
regards Vinny
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.