Hi,
Got a strange problem, Im using DHCP from a Cisco 871 router [12.4-(22)] on two different subnets. Im having a problem getting the correct DHCP information from VLAN 30 via a Linksys WAP54G AP. If I plug a client directly into fa2 then I get the right DHCP details from pool WPA2 but with an AP in the middle I get a default-router of 192.168.2.6 which is from WPA pool, the rest of the details are correct.
IE:
With AP I get
192.168.3.X
255.255.255.248
192.168.2.6
...Getting the wrong gateway.
Without AP I get
192.168.3.X
255.255.255.248
192.168.3.6
...Which is right.
Ive tried resetting the AP, swapping the other AP which is working and various combinations but each time no matter what i keep getting the wrong gateway for that network from DHCP.
Weird.
Below are the pertinent parts from my config.
Thanks.
--------------------------
----------
----------
----------
----------
-
no ip dhcp use vrf connected
ip dhcp bootp ignore
ip dhcp excluded-address 192.168.2.5 192.168.2.6
ip dhcp excluded-address 192.168.3.5 192.168.3.6
!
ip dhcp pool WPA
network 192.168.2.0 255.255.255.248
default-router 192.168.2.6
dns-server 64.59.114.18 64.59.114.19
lease 0 5
!
ip dhcp pool WPA2
network 192.168.3.0 255.255.255.248
default-router 192.168.3.6
dns-server 64.59.114.18 64.59.114.19
lease 0 5
!
ip dhcp pool Static_Mappings
origin file flash:/static_mappings.txt
!
interface FastEthernet1
description <[-To Linksys WAP54G WPA-]>
switchport access vlan 20
duplex full
speed 100
spanning-tree portfast
!
interface FastEthernet2
description <[-To Linksys WAP54G WPA2-]>
switchport access vlan 30
duplex full
speed 100
spanning-tree portfast
!
interface Vlan20
description <[-WLAN0-]>
ip address 192.168.2.6 255.255.255.248
ip access-group WLAN_Outbound in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nbar protocol-discovery
ip flow ingress
ip flow egress
ip nat inside
ip inspect Global_Inspect in
ip virtual-reassembly
!
interface Vlan30
description <[-WLAN1-]>
ip address 192.168.3.6 255.255.255.248
ip access-group WLAN_Outbound in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nbar protocol-discovery
ip flow ingress
ip flow egress
ip nat inside
ip inspect Global_Inspect in
ip virtual-reassembly