multiple DHCP scope on cisco 3550 switch

Unanswered Question
Apr 22nd, 2009
User Badges:

Hi,

i have two cisco 3550 switch in HSRP mode. i have configured multiple vlans on this switch. i want vlan 1 users to get ip address in the range 192.x.x.x to their machine and vlan 2 users to get ip range 10.x.x.x.


is it possible??

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
mahmoodmkl Wed, 04/22/2009 - 03:06
User Badges:
  • Gold, 750 points or more

Hi


Yes this is possible.


ip dhcp pool poo1

network 192.168.0.1 255.255.255.0

default-router (IP of the SVI)


ip dhcp pool pool2

network 10.0.0.0 255.255.255.0

default-router (IP of the SVI)


Thanks

Mahmood

kanbaycco Wed, 04/22/2009 - 03:35
User Badges:

Hi Manmood,


thanks for your help. i have just one question.if any pc boots for the first time it will send DHCP Braodcast request to get ip. so whether that PC will get the ip from the correct dhcp scope?

Jon Marshall Wed, 04/22/2009 - 03:37
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

It depends on which vlan the port that your'e pc is connected to is in. So if the port is in vlan 1 it will get an IP from vlan 1 scope, if the port is in vlan 2 it will get IP from vlan 2 scope.


Jon

Actions

This Discussion