LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcp - configure? (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-configure-102138/)

rajeshdorai 10-09-2003 12:56 PM

dhcp - configure?
 
Hello all,

I am still facing the problem I stated in my earlier thread,
i.e., I am not able to configure my network. I still keep getting the message "Determining IP information for eth0...
Failed" when I do "ifup eth0".

I have updated my network settings through the "setup" utility so as to be "dhcp" (please pardon my non-technical language, as it has just been hours since I am working on a new Linux m/c). But, still it does not work. If I do

"ifconfig eth0 up",

I do not get any message.

Any help would be greatly appreciated.

RD

david_ross 10-09-2003 01:00 PM

Try running:
dhcclient

To receive information from your dhcp server.

rajeshdorai 10-09-2003 01:10 PM

I just did 'dhclient'

I have attached the reply. I very much appreciate your help.

[root@localhost root]# dhclient
Internet Software Consortium DHCP Client V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:0b:db:58:ff:b6
Sending on LPF/eth0/00:0b:db:58:ff:b6
Listening on LPF/lo/
Sending on LPF/lo/
Sending on Socket/fallback
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

acid_kewpie 10-09-2003 01:23 PM

well it's clearly trying, so you need to either look to the physical network or the server you are trying to get it from.

david_ross 10-09-2003 01:27 PM

Do you have link lights on the hub/switch and your network card?

rajeshdorai 10-09-2003 01:29 PM

works now....
 
I tried to add the following line to my anaconda-ks.cfg

network --device eth0 --bootproto dhcp

which I believe does the network configuration at startup?

I do not know why this line was not automatically introduced when I did my network configuration to 'dhcp' using the network configuration tool (System Tools -> Network option). Anyhow, I am now able to get on to the network now...

Thanks so much for your time and help.

sidmark-2850 10-09-2003 03:21 PM

What does your network look like physically? Describe your topology. Are you connecting to a cable modem or something? Do you have a dhcp server on your network. Modifying the anaconda.ks file won't do the system any good because it is the kickstart file that the system generates after you install linux.

If you want to change the network configuration, you can either run the "redhat-config-network" script or edit the files in "/etc/sysconfig/networking/".

rajeshdorai 10-09-2003 03:41 PM

to: david_ross
1. Yes, I see lights on my network card.

to: sidmark-2850

I am not very familiar with the system here (w.r.t. topology).
We typically use dhcp to connect to the internet and so I think we have a dhcp server.

I had wanted to make my computer a server for other people to logon and run their programs. Now, I plan to get a static ip address in order get that going.

I was initially trying to use dhcp in order to connect to the internet to download programs.

After you had said that modifications to the anaconda would not affect the process, I am now puzzled why my network works...


All times are GMT -5. The time now is 02:57 PM.