04-12-2006 07:44 AM - edited 03-03-2019 02:47 AM
How exactly is this done? I have a situation where I must support multiple DHCP pools which need to be assigned to seperate VLAN's. Is there a way to do this? or can you only support a single vlan across a particular device? Thanks...
04-12-2006 07:50 AM
Hi Friend,
You can configure multiple DHCP pools for different subnet/vlans.
Your config should look something like this
ip dhcp pool
network x.x.x.x x.x.x.x
default-router x.x.x.x
!
ip dhcp excluded-address
Same way you configure multiple DHCP pools just configure these command with different network command and with different dhcp pool names.
Also if you want to exclude the addresses from the DHCP pool "ip dhcp excluded-address " command should be used.
"default-router x.x.x.x " command is used to assign the default gatway for clinets for that DHCP pool.
Check this link for more DHCP commands
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipras_r/1rfdhcp.htm#1018170
HTH, if yes please rate the post.
Ankur
04-12-2006 09:50 AM
Thanks Ankur - that's what I ended up doing.
Appreciate the post!
Phil
04-12-2006 07:51 AM
Hi,
Simply create another pool with addresses for the others interface. The router is smart enough to work out which interface the DHCP request came in from and will assign from the appropriate pool accordingly.
HTH,
Bobby
*Please rate helpful posts.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide