cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
53
Views
0
Helpful
4
Replies
Beginner

Unable to set up Cisco 1131ag as a DHCP server

Hello,

  I am trying to set up a test wifi infrastructure at home using a 1131ag AP.

  The AP is connected to my layer 3 switch using one of the ports that is on VLAN 2(192.168.2.1/24).

   

  I have given the AP a static IP address of 192.168.2.3/24.

  Clients have no problem connecting wirelessly to the AP, but they keep getting their DHCP addresses from the switch and not the AP.

  Below is my config used to set up DHCP on the AP:

ip dhcp pool guest
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 192.168.1.1

ip dhcp excluded-address 192.168.2.1 192.168.2.240

 I have recreated the DHCP pool to no success.

 Any ideas where I am going wrong?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

you only could have one or

you only could have one or the other as a successful DHCP server in a subnet as clients will accept the first offer when they receive offers from two DHCP servers.

What you may want to do is though enable vlans on your APs and put the wireless clients in a different vlan.

Cheers

Prabath

***Please rate all the useful posts***
-Prabath
4 REPLIES 4
VIP Expert

192.168.2.1 192.168.2.240

192.168.2.1 192.168.2.240

Is that a typo or you actually want to exclude 240 addresses?

Also, what happens when you remove the pool from the switch?

Can you add a lease and test again?

lease 3

HTH

Beginner

 That was not a typo. I did

 That was not a typo. I did want to exclude 192.168.2.1 -192.168.2.240.

 When I remove the pool from the switch, then the AP does act as a DHCP server.

 I would like to keep the pool both on the switch and the AP but it looks like currently I am restricted to one or the other!

 Any suggestions?

Edit - just added the pool back into the switch and the switch is gain acting as a DHCP server.

Highlighted

you only could have one or

you only could have one or the other as a successful DHCP server in a subnet as clients will accept the first offer when they receive offers from two DHCP servers.

What you may want to do is though enable vlans on your APs and put the wireless clients in a different vlan.

Cheers

Prabath

***Please rate all the useful posts***
-Prabath
Beginner

Yes, I have already created a

Yes, I have already created a new VLAN on my switch that does not have a

DHCP pool associated to it on the switch. I created the DHCP pool in my AP for this  VLAN and the wireless clients are now getting DHCP from the AP.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards