Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to enable 3750 as DHCP server on 1 Vlan

Status
Not open for further replies.

amike

Technical User
Jun 17, 2008
9
US
Am running into trouble trying to enable the dhcp server on a 3750 switch. I want to enable dhcp only on vlan2.

Here's a quick copy of the some of the config

switch 1 provision ws-c3750g-48ts
switch 2 provision ws-c3750-24fs
system mtu routing 1500
ip subnet-zero
ip routing
!
ip dhcp pool users
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
domain-name ops1
lease 7
!
interface Vlan1
no ip address
!
interface Vlan2
ip address 192.168.2.1 255.255.255.0
!
interface Vlan3
ip address 192.168.3.1 255.255.255.0
!
interface Vlan10
ip address 10.1.1.3 255.0.0.0
!

interface Vlan255
ip address 192.168.255.1 255.255.255.0
!
ip default-gateway 10.1.1.1
ip classless
ip route 0.0.0.0 0.0.0.0 10.1.1.1
ip http server
!

Any help would be appreciated.
 
Here you go, there is an exhaustive set of commands that can be configured with DHCP if you so choose.


One of the things right off the bat you will need is an excluded set of addresses (global configuration). You also have to turn on the dhcp service globally. Usually it is on by default but it could have been turned off for some reason. Let us know if you can't find the answer here, you should be able too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top