Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Cisco Router DHCP config help.

Hi

I want to setup my router to be adhcp server that also allows for it to list where the next-server is for any clients that do pxe booting. Can anyone help me regarding preparing such a configuration?

Thanks

Dan

2 REPLIES
Community Member

Re: Cisco Router DHCP config help.

your dhcp server should look something like this

ip dhcp excluded-address 192.168.1.1 192.168.1.100

ip dhcp pool name

network 192.168.1.0 255.255.255.0

default route 192.168.1.1

dns server 1.1.1.1 2.2.2.2 3.3.3.3

domain name

as for the pxe stuff you will need to put a hlper address in for your pxe server and you may need to allow some sort of broadcast I think.

Community Member

Re: Cisco Router DHCP config help.

I am not sure if Cisco directly supports PXE booting. But this is a sample config of how a Cisco IP phone and call manager was set up with a Cisco router.

ip dhcp pool "name"

network 10.10.1.0 255.255.255.0

bootfile [name of bootstrap file]

dns-server 1.2.3.4 1.2.3.5

default-router 10.10.1.1

option 66 ip 10.10.2.100 <--- IP address of server

Note the "option 66" command specifies that the machine asking for IP address also is looking for a TFTP server to get the boot file from.

In the IP phone environment, the phones send a dhcp request with option 66. To spedify a list of TFTP servers, use option 150.

Hope that helps. I am assuming that you know all the other options required to setup a DHCP pool.

308
Views
0
Helpful
2
Replies
CreatePlease to create content