2 dhcp pools, 2 VLANs

Unanswered Question
Apr 23rd, 2009
User Badges:

All,


I have an ASA 5505 w/security plus license, a 3560 8 port switch and an 1131 AP. The ASA will have an outside static IP and a L2L tunnel back to HQ. I need two VLANs, 1 for our company data and 1 for guest traffic. I'm curious as to where I should setup the dhcp pools. Should they be on the switch or on the ASA? I do not have a server at this location so I have to use one of these devices for dhcp. Anyone have any ideas and/or config examples? Thanks in advance.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Jon Marshall Thu, 04/23/2009 - 13:10
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Is the 3560 acting as a L2 or L3 switch ie. your 2 vlans, are they being routed on the 3560 or the ASA ?


Jon

troymaki Thu, 04/23/2009 - 13:17
User Badges:

Is there a way to do it on both? If not, I would rather have the switch do the routing.

Jon Marshall Thu, 04/23/2009 - 13:36
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Well if your 3560 is doing the inter-vlan routing -


ip dhcp-excluded address 192.168.100.1 192.168.100.10


ip dhcp-excluded address 192.168.101.1 192.168.101.10


ip dhcp pool vlan100

network 192.168.100.0 255.255.255.0

default-router 192.168.100.1

dns-server x.x.x.x


ip dhcp pool vlan 101

network 192.168.101.0 255.255.255.0

default-router 192.168.101.1

dns-server x.x.x.x


see this link for full details -


http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfdhcp.html


Jon

Actions

This Discussion