>Hi ,
>Recently my internet provider switched subscribers from static IP
>addresses
>to dynamic- through the use of DHCP.
>Up until that switch occurred, I had linux working transparently >through
to
>the internet etc- email and netscape and more all worked >seamlessly.
>With the change to DHCP, I can no longer see the internet- I must >have
>something configured wrong- eth0 and eth1 come up with delayed
>initialization messages on boot (but actually never activate) - I have
>eth0
>pointing out to the internet with the protocol set to DHCP, and eth1 >as
>internal with static ip address.
>The impression I have from the Windows NT set up is that if you >specify
>'obtain ip address from DHCP server', other than host name, very >little
>else needs to be specified.
>On the linux side, even when you choose DHCP as the protocal >(under
network
>configuration under the control panel), it seems to give the >opportunity
to
>specify an ip address or something. (doesnt make sense to me- but >mebbe Im
>out to lunch on this).
>Has anyone gotten DHCP working successfully under linux in >obtaining IP
>addresses dynamically that could point me in the right direction?
I used it before I obtained a static one. The IP adres is overwritten,
onledd DHCP doesn't give a IP. Normally, all DHCP servers give out an
IP-adress.
There are only two things you must do:
Install the dhcpcd package (is only a client, not server).
Change the following in /etc/sysconfig/network-scripts/ifcfg-ethx :
Add a line, if it doesn't already excists :
BOOTPROTO=dhcp
Then do a :
ifdown eth0
ifup eth0
If it works, should give a message that is is using DHCP. It always does at
boot-time.
>P.S. I dont even have linux successfully seeing an internal machine >with a
>static IP address.(I used to) The only thing it recognizes is loopback
>127.0.0.1 right now
>signed
Igmar
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.