LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how can a DHCP client get the DHCP server IP? (https://www.linuxquestions.org/questions/linux-networking-3/how-can-a-dhcp-client-get-the-dhcp-server-ip-258667/)

AshesOfTime 11-24-2004 01:58 AM

how can a DHCP client get the DHCP server IP?
 
Thanks.

not_an_expert 11-24-2004 02:27 AM

By broadcasting to it's subnet.

See RFC 2131 (http://www.faqs.org/rfcs/rfc2131.html)

AshesOfTime 11-24-2004 06:06 AM

I use pxelinux and the following config file:
 
display logo
label linux
kernel vmlinuz
append initrd=initrd.img vga=0x0314 ip=192.168.0.249:192.168.0.2:0.0.0.0:255.255.255.0:::off
ipappend 1

or

display logo
label linux
kernel vmlinuz
append initrd=initrd.img vga=0x0314 ip=192.168.0.249:192.168.0.2:0.0.0.0:255.255.255.0::eth0:off
ipappend 1

but after linux boot the ip is not set.

thanks a lot.

peter_robb 11-24-2004 06:50 AM

Please do not post the same thread more than once in a forum. Picking the most relevant forum and posting it there once makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 08:07 AM.