Q) I have 5 vlans in my branch, how can I assign dynamic IP to hosts on different vlans??? ( I am using two routers, 1 for internet and other to communicate between branches).
You need to create the DHCP pool
ip dhcp pool poolname
network xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
default-router xxx.xxx.xxx.xxx --> subinterfaces e.g. fa0/0.10 ip address ]
in global configuration mode --> ip dhcp excluded-address xxx.xxx.xxx.xxx --> subinterfaces e.g. fa0/0.10 ip address ] --> This command is to reserve the ip from being allocated to the hosts. For example if i want to reserve 192.168.1.1 to 192.168.1.10
i would type ip dhcp excluded-address 192.168.1.1 192.168.1.10
Beside that, if you configured DHCP on a server, go to the subinterfaces
type ip helper-address <dhcp server ip>
Re: Diff between Windows Server DHCP & Cisco Router DHCP ?
8 years 5 months ago #37130
I've been only a casual user of Windows Server DHCP. I think it's
easier to use because of the GUI interface, and still not in a lack of
advanced features too. but router DHCP seams to have more options and configurable parameters (although I can't seam to find many of the DHCP Standard Options which windows has, I might be wrong here). Cisco routers also have DHCP monitoring capabilities (using the debug ip dhcp command).
I think reducing router work load by using Windows DHCP Server is surely a good idea. Just put in mind that it's going to show a noticeable deference in terms of router CPU usage ONLY if you have too many hosts in your LAN segment.
Another plus for using none-router DHCP is that if your router crashes for a while, you still have your hosts receiving IPs, at least internal LAN traffic will work.