Linux dhcp client can't get IP address from dhcp server
Posted on 2007-10-09
I cannot get my Linux (Fedora 6) computer to receive an IP address from my dhcp server. My dhcp server is a Cisco 871 wireless router/switch. But I am not trying to do this wirelessly. My Linux box is plugged into a switchport on the 871 using standard cat 5 ethernet cable. I know the dhcp server is working because I have 3 windows computers that can get IP info from it with no problem. Everything is on the same 10.10.10.0 private network.
I Recently moved my Linux box home from my office. At office it has been working fine, but IP address was staticly set in ifcfg-eth0 file.
Now even that does not work!!
Below are the contents of file /etc/sysconfig/network-scripts/ifcfg-eth0:
# VIA Technologies, Inc. VT6102 [Rhine - II]
If I try to set the IP address manually using the following line, it still won't work. It accepts the IP address, but if I try to ping another host on the network, it says "destination host unreachable".
ifconfig eth0 10.10.10.61 netmask 255.255.255.0