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

how to configure cisco switch 3750 dhcp on 2 vlan

we have 2 existing vlan that are vlan10 and vlan12.how to bind the dhcp on these vlan?

1 REPLY

Re: how to configure cisco switch 3750 dhcp on 2 vlan

Hi,

I guess you are looking to configure the SW (with L3 image) as DHCP server.. try the below..

************************************************************************

!

ip dhcp excluded-address --> these IPs never assigned.

ip dhcp excluded-address

!

ip dhcp pool VLAN10

network <192.168.10.0>  < 255.255.255.0>

default-router 192.168.10.1

dns/wins options

lease infinite (or you can set the time period as well)

!

ip dhcp pool VLAN12

network <192.168.12.0>  < 255.255.255.0>

default-router 192.168.12.1

dns/wins options

lease infinite

!

then folllows the regular Vlan and interface Vlan configs.

***************************************************************************

hth

MS

15340
Views
0
Helpful
1
Replies
CreatePlease to create content