dhcp and vlan configuration

Unanswered Question
May 16th, 2007

I have 3750 layer 3 switch with 3 vlan 10,vlan 20 and vlan 30 with 172.16.1.0 on vlan 10, 172.16.2.0 on vlan 20 and 172.16.3.0 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?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
mparekh Wed, 05/16/2007 - 04:09

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 172.16.1.0 /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

Router(dhcp-config)#exit

Actions

This Discussion