cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3277
Views
0
Helpful
2
Replies

Multiple Dhcp Pool for multiple vlan

Respected All ,

I have to configure one switch of any model as DHCP server , and in my LAN there are five floor , i have created five vlan for every floor , now i want to configure that switch as DHCP Server which will server each floor with each vlan IP schema respectivly.

Regards

Amit kulshreshta

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Amit,

if the device is going to be a DHCP server you need to configure multiple dhcp pools

like

ip dhcp excluded-address 10.110.224.129 10.110.224.132

ip dhcp excluded-address 10.110.224.145

!

ip dhcp pool DATA

network 10.110.224.128 255.255.255.240

default-router 10.110.224.129

dns-server 10.98.112.32 10.55.0.32

netbios-name-server 10.52.64.37 10.24.128.151

lease 0 1

!

ip dhcp pool VOICE

network 10.110.224.144 255.255.255.248

default-router 10.110.224.145

dns-server 10.98.112.32 10.55.0.32

netbios-name-server 10.52.64.37 10.24.128.151

option 150 ip 10.98.67.5 10.55.61.4

lease 0 1

!

each pool will use the ip addresses of each vlan.

By receiving a request on vlan x the device will know from what pool to take the ip address to assign to the client

if other L3 devices exist they need the ip helper address configuration as explained by Adam on client vlan sides

Hope to help

Giuseppe

View solution in original post

2 Replies 2

adamclarkuk_2
Level 4
Level 4

Hi

You are going to need to setup ip helper address heading towards the ip of the subnet that the DHCP server lives on and the server will allocate based on the ip address of the relay agent.

Here is a nice config guide you can follow :

http://www.cisco.com/en/US/docs/ios/12_4t/ip_addr/configuration/guide/htdhcpsv.html

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Amit,

if the device is going to be a DHCP server you need to configure multiple dhcp pools

like

ip dhcp excluded-address 10.110.224.129 10.110.224.132

ip dhcp excluded-address 10.110.224.145

!

ip dhcp pool DATA

network 10.110.224.128 255.255.255.240

default-router 10.110.224.129

dns-server 10.98.112.32 10.55.0.32

netbios-name-server 10.52.64.37 10.24.128.151

lease 0 1

!

ip dhcp pool VOICE

network 10.110.224.144 255.255.255.248

default-router 10.110.224.145

dns-server 10.98.112.32 10.55.0.32

netbios-name-server 10.52.64.37 10.24.128.151

option 150 ip 10.98.67.5 10.55.61.4

lease 0 1

!

each pool will use the ip addresses of each vlan.

By receiving a request on vlan x the device will know from what pool to take the ip address to assign to the client

if other L3 devices exist they need the ip helper address configuration as explained by Adam on client vlan sides

Hope to help

Giuseppe

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card