- Posts: 8
- Thank you received: 0
How to configure Cisco IOS DHCP for per VLAN basis?
17 years 3 months ago #23201
by Jowee
How to configure Cisco IOS DHCP for per VLAN basis? was created 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
Many Thanks
16 years 11 months ago #24539
by ramasamy
Replied by ramasamy on topic Re: How to configure Cisco IOS DHCP for per VLAN basis?
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
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.113 seconds