DHCP problem with D-Link Router
Hi
I have a D-Link DI-604 router. It has a DHCP server which allocates IPs in the range 192.168.0.100-200 I setup my linux box with Yast and configured DHCP. When I boot first time after a power off, it boots and is unable to get an Ip Address. ifconfig shows a inet6 address but no inet address. If I reboot(without power off), I now get an inet address and I am able to connect to internet. rc3.d/S05network restart does not help either. I have tried cloning the dynamic address in the router for the linux machine mac address so that the linux eth0 always gets the same ip, but this did not help. I have to reboot to get the inet address every time. I also upgraded the router firmware to the latest level. I have Suse 10.0 on a Del PC. Can anyone help with this problem please ? Thanks, |
Just a suggestion:
Do like you did in the router setup - 192.168.0.1 in browser window, enter username and password, go to dhcp, make current ip static from dhcp, done there. go to yast, setup network card, edit config, set the static ip there. You will have to set the mask, always 255.255.255.0 unless you changed it. You should add default gateway 192.168.0.1, and maybe even add your isp's dns lookup servers - found in status of the router setup. Don't have a clue if it will work but the one thing I noticed from your post is you didn't set up the card in yast to static ip. |
Hi jdblick,
Thank you for yr suggestion. But I really don't want to set it up with a static IP. I have dynamic PPPoe and I am not sure when the ISP might change their DNS servers. I would want the DHCP client to get the inet address correctly at the first boot. I don't want to boot twice every time to get the inet address. Is there anything I need to do with DHCP client setup on linux ? I am curious how it works on the 2nd reboot ? Maybe something gets set during the boot process and I need to configure that in boot.local or something -jaijeet |
broch said in another thread:
Quote:
|
All times are GMT -5. The time now is 04:28 PM. |