[COLUG] PXE and dhcrelay help
Duane
duane at e164.org
Tue Feb 26 16:40:11 EST 2008
Mark Richards wrote:
> So I am looking for something to answer only the PXE request and forward on the rest of the dhcp request. I have used these in the past on Windows and NetWare, but I can not find anything in Linux ( or I just can not get the correct syntax ?? )
>
> Anyone solved this issue before ?
I haven't run pxeboot via dhcp relay, but since TFTP server is TCP/IP
based and an IP can be specified, not sure about a hostname but that
would most likely work as well. In any case I see no reason this
wouldn't work, or why you would need a tftp proxy, although you would
need to make sure the tftp port (68?) is allowed to pass through any
firewalls etc :)
Below is the minimum options I found I needed to install/rescue systems
via pxeboot from my laptop, this way I don't need to burn CDs/DVDs all
the time, and nearly everything supports pxeboot, or you can get a
simple boot floppy/cd so it works well for me(tm).
$ cat /etc/dhcp3/dhcpd.conf
option domain-name-servers 192.168.0.254;
default-lease-time 1800;
max-lease-time 3600;
authoritative;
allow bootp;
allow booting;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.49;
range dynamic-bootp 192.168.0.50 192.168.0.99;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.254;
next-server 192.168.0.254;
use-host-decl-names on;
filename "pxelinux.0";
}
--
Best regards,
Duane
http://www.freeauth.org - Enterprise Two Factor Authentication
http://www.nodedb.com - Think globally, network locally
http://www.sydneywireless.com - Telecommunications Freedom
http://e164.org - Because e164.arpa is a tax on VoIP
"In the long run the pessimist may be proved right,
but the optimist has a better time on the trip."
More information about the colug432
mailing list