Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

DHCP service on 3560 Switch

Hi All,

I need to cross check the documentation, but the question is, will it possible to configure 3560 Switch as DHCP server and assign IPs to only one vlan (not to other on the same switch).

ex: Vlan 20, 30, 40 existing on switch and switch is running OSPF (core switch) with int vla 20/30/40... created. Now I want the switch to be able to provide IPs dynamically to vlan 40 only. Other Vlan PCs got static IPs.

How can I accomplish this..? Please suggest.

Thank you

MS

3 REPLIES

Re: DHCP service on 3560 Switch

Hi

Yes u can do that.

U need to create the dhcp pool for just vlan 40.

Thanks

Mahmood

Re: DHCP service on 3560 Switch

Define only one DHCP pool on the switch corresponding to the VLAN 40 network.

eg. vlan 40 = 10.10.10.0/24

ip dhcp excluded-address 10.10.10.1 - 10.10.10.10

ip dhcp pool vlan40

network 10.10.10.0 /24

default-router 10.10.10.1

dns-server x.x.x.x

HTH

Narayan

Re: DHCP service on 3560 Switch

Yeap.. I did long time back on 3750 wanted to make sure it works on 3560 also. Thanks you both for the reply.

Regards

MS

204
Views
8
Helpful
3
Replies
CreatePlease login to create content