08-01-2023 12:31 PM
Hi All,
I have been trying to configure a guest network for my Cisco Catalyst 9800-L Wireless Controller for some days now. For the guest network, i want it to use an internal dhcp on the controller. I have been trying for days now, however, when a client connects to guest network it does not receive a DHCP IP address.
POOL:
ip dhcp pool localpool
network 10.10.96.0 255.255.248.0
default-router 10.101.11.1
dns-server 8.8.8.8 1.1.1.1 10.101.11.1
lease infinite
SVI of vlan 10 was created for DHCP pool
interface Vlan10
description VLAN 10
ip address pool localpool
ip helper-address 10.25.13.73
no autostate
Management is on : GigabitEthernet0
and TwoGigabitEthernet0/0/3 will provide internet connectivity for guest network - gateway is 10.101.11.1
Guest network policy snaps:
Hoping to get some help. First time I am configuring a CISCO WLC 9800. I got the internal network wlan to work to radius server on Windows NPS but this guest network using internal dhcp pool is a pain.
Regards,
Thanks in advance.
08-01-2023 12:42 PM
Not sure if this config is correct
nterface Vlan10
description VLAN 10
ip address pool localpool
ip helper-address 10.25.13.73
no autostate
On the link below the dude do exactly what you are trying.
https://wifininjas.net/2019/08/06/wn-blog-007-c9800-wlc-internal-dhcp-server-config/
08-01-2023 12:54 PM
Hi Flavio,
I have tried the link you suggested but issue still is the same.
Regards,
Amar
08-01-2023 12:59 PM
But did you find any difference on the config?
Let me ask you about the SSID you create. Is it in flexconnect mode? I mean, the client is asking for IP on the local LAN ?
08-01-2023 01:33 PM - edited 08-01-2023 01:34 PM
Hi @Flavio Miranda ,
This is the stats for a connected client.
08-01-2023 01:44 PM - edited 08-01-2023 01:45 PM
I got it "Flex Profile"
What you need to check is if the device when connect to the SSID have any layer3 device in between. It seems you put the ip helper-address on the WLC, right? The helper-address is required if there is a layer3 device between client and wlc, not in the wlc.
08-01-2023 12:55 PM
Have a look at the following link:
Go through the following guidelines to configure internal DHCP server
Internal DHCP server serves both wireless client and wired client (wired client includes AP).
To serve wireless client with internal DHCP server, an unicast DHCP server IP address must be configured for wireless client. Internal DHCP server IP address must be configured under the server facing interface, which can be loopback interface, SVI interface, or L3 physical interface.
To use internal DHCP server for both wireless and wired client VLAN, an IP address must be configured under client VLAN SVI interface.
For wireless client, in DHCP helper address configuration, the IP address of the internal DHCP server must be different from address of wireless client VLAN SVI interface.
For wireless client with internal DHCP server support, the internal DHCP server can be configured using global configuration command, under the client VLAN SVI interface or under the wireless policy profile.
An internal DHCP server pool can also serve clients of other controllers .
-CJ
08-04-2023 03:43 AM
1. You should never use Infinite lease time on DHCP - that's a time bomb especially with random MAC addresses - your pool will slowly fill till no free IPs. Generally no more than 24 hours but where there's high churn much less.
2. I highly recommend using a static IP for the SVI - usually the first or last IP in the pool - remember to exclude that from the pool.
3. What is 10.25.13.73? Because that is where you're sending your DHCP to at the moment!
08-07-2023 05:45 AM
Hi,
The solution was creating a SVI interface on the same IP POOL as the GUEST NETWORK VLAN (From as the core network switch).
Then adjusting the policy to this:
Thanks for all the help.
08-07-2023 07:37 AM
But you don't need an SVI for that to work unless you're using the SVI to relay using a helper address.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide