Discover WLC by DNS.


It’s possible to discover the WLC by using a DNS server.
During startup the WLC is looking for : CISCO-LWAPP-CONTROLLER
First of all, we create a A record in our DNS server.
This should be enough to have this feature working.

If you don’t specify a domain-name at the DHCP scope, the LWAPP is first looking for :
CISCO-LWAPP-CONTROLLER (Without any suffix)
and if nothing is found, it tries to resolve :
CISCO-LWAPP-CONTROLLER.cisco.com

ip dhcp pool VLAN22
network 192.168.22.0 255.255.255.0
default-router 192.168.22.1
option 150 ip 192.168.11.1
dns-server 192.168.1.45
domain-name homelab.uk
lease 8
!

When we debug the AP we’ll see :

%LWAPP-3-CLIENTEVENTLOG: Performing DNS resolution for CISCO-LWAPP-CONTROLLER.homelab.uk
%LWAPP-3-CLIENTEVENTLOG: Controller address 192.168.5.100 obtained through DNS

About Joost van der Made

Me

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: