01-23-2013 11:20 AM - edited 03-04-2019 06:49 PM
I have a Cisco 877W in place with an ADSL connection, which is working fine. However I cannot get it to hand out a DHCP address. If I associate with the AP over wireless then set a static IP I have full connectivity, similarly if I connect over Eth0 and set a static IP I have full connectivity. So it does just seem to be DHCP. Below shows my config... Any thoughts on the issue? Is it access-list related?
I have checked with Wireshark and I see the DHCP request being sent out, but I don't see a DHCP offer being returned
Thanks
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco-router1
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
enable secret 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
aaa authorization network default local
!
aaa session-id common
!
resource policy
!
clock timezone London 0
no ip subnet-zero
ip cef
ip dhcp use vrf connected
ip dhcp excluded-address 192.168.99.1 192.168.99.64
!
ip dhcp pool home
network 192.169.99.0 255.255.255.0
domain-name Wireless.local
dns-server 192.168.99.1
default-router 192.168.99.1
lease infinite
!
!
ip domain name Wireless.local
ip name-server 8.8.8.8
ip name-server 8.8.4.4
ip ssh version 2
!
!
bridge irb
!
!
interface ATM0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
no atm ilmi-keepalive
dsl operating-mode auto
dsl enable-training-log
!
interface ATM0.1 point-to-point
description Link to O2
ip address 94.192.245.80 255.255.248.0
ip nat outside
ip virtual-reassembly
atm route-bridged ip
pvc 0/101
oam-pvc manage
encapsulation aal5snap
!
!
interface FastEthernet0
spanning-tree portfast
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Dot11Radio0
no ip address
!
encryption mode ciphers tkip
!
encryption vlan 1 key 1 size 128bit 0 xxxxxxxxxxxxxxxxxxxxxxxxxx transmit-key
encryption vlan 1 mode ciphers wep128
!
ssid Wireless
vlan 1
authentication open
accounting acct_methods
guest-mode
infrastructure-ssid optional
!
speed basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
station-role root
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
!
interface Dot11Radio0.1
encapsulation dot1Q 1 native
no snmp trap link-status
no cdp enable
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 spanning-disabled
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
!
interface Vlan1
no ip address
bridge-group 1
!
interface BVI1
description local range
ip address 192.168.99.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip classless
ip route 0.0.0.0 0.0.0.0 94.192.240.1
!
no ip http server
no ip http secure-server
ip nat inside source list 1 interface ATM0.1 overload
ip dns server
!
access-list 1 permit 192.168.99.0 0.0.0.255
access-list 102 permit udp host 0.0.0.0 host 255.255.255.255
!
control-plane
!
bridge 1 protocol ieee
bridge 1 route ip
!
line con 0
no modem enable
line aux 0
line vty 0 4
access-class 1 in
privilege level 15
transport input ssh
!
scheduler max-task-time 5000
ntp clock-period 17175141
ntp server 85.234.136.65
ntp server 94.228.40.3
ntp server 82.113.154.206
ntp server 178.32.175.244
Solved! Go to Solution.
01-23-2013 02:40 PM
There is a typo in the network- IP-address: 169 instead of 168:
ip dhcp pool home
network 192.169.99.0 255.255.255.0
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
01-23-2013 01:19 PM
Hi
Try using debugs and maybe see what the problem might be.
debug ip dhcp server events
debug ip dhcp server packets
"lese infinite" is a bit drastic ey? Maybe the pool has run out.
01-23-2013 02:40 PM
There is a typo in the network- IP-address: 169 instead of 168:
ip dhcp pool home
network 192.169.99.0 255.255.255.0
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
01-23-2013 02:55 PM
Thanks guys. Turns out its true that sometimes you can't see the wood for the trees! Corrected the typo and I'm getting DHCP leases as expected...
Out of interest Henrik, how would I see the logs that are produced by these commands?
debug ip dhcp server events
debug ip dhcp server packets
01-23-2013 02:57 PM
Out of interest Henrik, how would I see the logs that are produced by these commands?
If you are connected to the router with SSH or Telnet, then you have to issue "terminal monitor" to see all the logs that are normally only shown on the console.
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
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