10-08-2008 11:08 AM - edited 07-03-2021 04:35 PM
DHCP Clients are getting IPs from a windows based dhcp server without issue however the wlc is setting itself as the gateway address. When this happens no traffic flows as the controller is not doing any routing. Is this how it should be or is something wrong?
10-08-2008 07:28 PM
How do you have your wlan setup.... seems like something isn't configured right. The subnet the wireless clients need to be put on will need a dynamic interface configured in which the dhcp server ip will be entered. On the wlan ssid, you map that ssid to the interface you create. This is the normal way of setting up wireless using WLC's. Post your show run-config so we can see how you are setting the wlc up.
10-09-2008 08:32 AM
Sure here goes
(Cisco Controller) >show running-config
802.11a cac voice tspec-inactivity-timeout ignore
802.11a cac voice stream-size 84000 max-streams 2
802.11b cac voice tspec-inactivity-timeout ignore
802.11b cac voice stream-size 84000 max-streams 2
advanced location expiry tags 1200
advanced location expiry client 150
advanced location expiry calibrating-client 30
advanced location expiry rogue-aps 1200
auth-list add mic 00:0b:85:88:6e:70
interface create vlan27 27
interface address ap-manager 192.168.30.40 255.255.255.0 192.168.30.1
interface address management 192.168.30.41 255.255.255.0 192.168.30.1
interface address virtual 1.1.1.1
interface address dynamic-interface vlan27 192.168.27.10 255.255.255.0 192.168.27.1
interface dhcp ap-manager primary 192.168.30.1
interface dhcp management primary 192.168.30.1
interface dhcp dynamic-interface vlan27 primary 192.168.30.1
interface vlan vlan27 27
interface port ap-manager 1
interface port management 1
interface port vlan27 1
wlan apgroup add test test
wlan apgroup interface-mapping add test 1 vlan27
wlan apgroup enable
logging buffered 1
mesh security eap
mgmtuser add cwadmin **** read-write
mobility group domain WiFi
msglog level critical
network multicast global enable
network broadcast enable
network mgmt-via-wireless enable
network rf-network-name WiFi
snmp version v2c enable
snmp version v3 enable
sysname SKNWifiControl
wlan create 1 WirelessHotspot WirelessHotspot
wlan security wpa disable 1
wlan enable 1
The wireless clients are on the same subnet as the wlc and the dhcp server.
Attached is a debug of the dhcp request and offer process.
10-09-2008 08:41 AM
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option len, including the magic cookie = 64
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: received DHCP DISCOVER msg
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 116, len 1
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 61, len 7
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: requested ip = 192.168.30.148
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 12, len 7
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: vendor class id = MSFT 5.0 (len 8)
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 55, len 11
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcpParseOptions: options end, len 64, actual 64
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 Forwarding DHCP packet (332 octets) from 00:0c:f1:42:d9:d1
-- packet received on direct-connect port requires forwarding to external DHCP server. Next-hop is 192.168.30.1
10-09-2008 08:42 AM
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option len, including the magic cookie = 61
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: received DHCP OFFER msg
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: netmask = 255.255.255.0
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 15, len 14
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: gateway = 192.168.30.41
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 46, len 1
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: DNS server, cnt = 2, first = 209.59.69.2
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: lease time (seconds) = 7200
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: server id = 192.168.30.1
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcpParseOptions: options end, len 61, actual 64
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option len, including the magic cookie = 74
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: received DHCP REQUEST msg
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 61, len 7
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: requested ip = 192.168.30.148
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: server id = 1.1.1.1
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 12, len 7
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 81, len 11
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: vendor class id = MSFT 5.0 (len 8)
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 55, len 11
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcpParseOptions: options end, len 74, actual 74
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 Forwarding DHCP packet (340 octets) from 00:0c:f1:42:d9:d1
-- packet received on direct-connect port requires forwarding to external DHCP server. Next-hop is 192.168.30.1
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option len, including the magic cookie = 61
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: received DHCP ACK msg
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: netmask = 255.255.255.0
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 15, len 14
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: gateway = 192.168.30.41
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 46, len 1
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: DNS server, cnt = 2, first = 209.59.69.2
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: lease time (seconds) = 7200
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcp option: server id = 192.168.30.1
Thu Oct 9 12:27:10 2008: 00:0c:f1:42:d9:d1 dhcpParseOptions: options end, len 61, actual 64
Thu Oct 9 12:27:13 2008: 00:0c:f1:42:d9:d1 dhcp option len, including the magic cookie = 64
Thu Oct 9 12:27:13 2008: 00:0c:f1:42:d9:d1 dhcp option: received DHCP INFORM msg
Thu Oct 9 12:27:13 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 61, len 7
Thu Oct 9 12:27:13 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 12, len 7
Thu Oct 9 12:27:13 2008: 00:0c:f1:42:d9:d1 dhcp option: vendor class id = MSFT 5.0 (len 8)
Thu Oct 9 12:27:13 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 55, len 13
Thu Oct 9 12:27:13 2008: 00:0c:f1:42:d9:d1 dhcpParseOptions: options end, len 64, actual 64
Thu Oct 9 12:27:13 2008: 00:0c:f1:42:d9:d1 Forwarding DHCP packet (332 octets) from 00:0c:f1:42:d9:d1
-- packet received on direct-connect port requires forwarding to external DHCP server. Next-hop is 192.168.30.1
10-09-2008 08:42 AM
Thu Oct 9 12:27:16 2008: 00:0c:f1:42:d9:d1 dhcp option len, including the magic cookie = 64
Thu Oct 9 12:27:16 2008: 00:0c:f1:42:d9:d1 dhcp option: received DHCP INFORM msg
Thu Oct 9 12:27:16 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 61, len 7
Thu Oct 9 12:27:16 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 12, len 7
Thu Oct 9 12:27:16 2008: 00:0c:f1:42:d9:d1 dhcp option: vendor class id = MSFT 5.0 (len 8)
Thu Oct 9 12:27:16 2008: 00:0c:f1:42:d9:d1 dhcp option: skipping option 55, len 13
Thu Oct 9 12:27:16 2008: 00:0c:f1:42:d9:d1 dhcpParseOptions: options end, len 64, actual 64
Thu Oct 9 12:27:16 2008: 00:0c:f1:42:d9:d1 Forwarding DHCP packet (332 octets) from 00:0c:f1:42:d9:d1
-- packet received on direct-connect port requires forwarding to external DHCP server. Next-hop is 192.168.30.1
10-09-2008 09:08 AM
Attach he show run-config you ran a show running-config. Attach the text file makes it easier to read.
10-09-2008 10:51 AM
10-13-2008 12:24 AM
It looks like 192.168.30.1 is the default gateway of your management network, however you say you have a windows DHCP server. Yet the DHCP server for the VLAN27 etc interfaces are set to 192.168.30.1.
Is 192.168.30.1 really the IP addr of the DHCP server?
Regards,
Jonas
10-13-2008 03:18 AM
192.168.30.1 is the default gateway of the management network. It also doubles as the DHCP server for all clients. If you check an earlier post I think I have included the DHCP procedure that indicates where the clients get their IPs from.
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