Skip to main content

How to configure Cisco IOS DHCP for per VLAN basis?

More
17 years 2 months ago #23201 by Jowee
I am using a Cisco Router 2600 to act as a DHCP server. It is possible to assign dhcp pool on per VLAN basis? May I know the configuration as well?

Many Thanks
More
16 years 10 months ago #24539 by ramasamy
Hi,

Creat a VLAN interface in the core switch and assign the proper IP address from the subnet for all the VLAN interface.

use the ip helper-address command as ip helper-address 1.1.1.1 (1.1.1.1 is the IP address of the Router in which DHCP is enabled)

interface Vlan200
ip address 172.23.93.2 255.255.255.224
ip helper-address 1.1.1.1
!
interface Vlan201
ip address 210.5.76.242 255.255.255.240
ip helper-address 1.1.1.1

You need to create the DHCP scope for the below mentioend subnets in the Router where you have enabled the DHCP service.
192.23.93.0/27 and 210.5.76.240/28
Time to create page: 0.119 seconds