[syslinux] pxelinux using cisco router as a dhcp server
Lincoln Dale
ltd at cisco.com
Fri Nov 22 18:00:59 PST 2002
g'day,
i've been using pxelinux for a while on a bunch of machines in a lab.
i note your pxelinux site shows configuration for ISC DHCP server - you and
others may also find this useful ..
most Cisco IOS-based routers (& some IOS-based switches) can run as a DHCP
Server.
i use them with pxelinux with the following configuration:
ip dhcp pool dhcppool-vlan3-host12
host 10.67.16.77 255.255.255.192
hardware-address 00d0.b74c.af68
bootfile pxelinux.0
next-server 10.67.16.5
dns-server 10.67.16.5
domain-name cisco.com
default-router 10.67.16.2
option 208 ascii "f1:00:74:7e"
in reality, the fields are:
ip dhcp pool <name>
host <ipaddress> <subnetmask>
hardware-address <macaddress>
bootfile pxelinux.0
next-server <tftpserver_ip> # i use this as my dhcp server has a
different ip-address to my tftp server
dns-server <dns_ip>
domain-name <domainname>
default-router <default_route_ipaddr>
option 208 ascii "f1:00:74:7e" # make pxelinux happy
hopefully you find this useful.
for what its worth, there are no limits to # of hosts you can add -- just
NVRAM space for saving the configuration.
cheers,
lincoln.
More information about the Syslinux
mailing list