dhcp and vlan configuration

Unanswered Question
May 16th, 2007
User Badges:

I have 3750 layer 3 switch with 3 vlan 10,vlan 20 and vlan 30 with on vlan 10, on vlan 20 and on vlan 30. I would like to configure dhcp server on this switch to hand out addresses to each of these vlan. is it possible?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
mparekh Wed, 05/16/2007 - 04:09
User Badges:
  • Bronze, 100 points or more

Yes it is possible to create a dhcp server on this switch, you will have to create 3 seperate dhcp pools for each VLAN. Below is an example of DHCP Pool for Vlan10

Create a DHCP IP address pool for the IP addresses you want to use.

Router(config)# ip dhcp pool VLAN10

Router(dhcp-config)# network /24

Router(dhcp-config)#domain-name mydomain.com

Router(dhcp-config)#dns-server x.x.x.x

Router(dhcp-config)#default-router VLAN 10 IP address

Router(dhcp-config)#lease 7



This Discussion