Get online support
Hi I am having issue where my TPLink Archer Device is handing out IP Addresses to my Wireless Clients
TPLink Router is full of logs
1 | 2023-01-05 15:48:44 | DHCPD | Notice | Send ACK to 192.168.1.143 |
2 | 2023-01-05 15:48:43 | DHCPD | Notice | Recv REQUEST from AA:BB:CC:01:80:00 |
3 | 2023-01-05 15:48:41 | DHCPD | Notice | Send ACK to 192.168.1.143 |
4 | 2023-01-05 15:48:40 | DHCPD | Notice | Recv REQUEST from AA:BB:CC:01:80:00 |
5 | 2023-01-05 15:48:40 | DHCPD | Notice | Send OFFER with ip 192.168.1.143 |
6 | 2023-01-05 15:48:40 | DHCPD | Notice | Recv DISCOVER from AA:BB:CC:01:80:00 |
7 | 2023-01-05 15:48:40 | DHCPD | Notice | Recv DECLINE from AA:BB:CC:01:80:00 |
8 | 2023-01-05 15:48:37 | DHCPD | Notice | Send ACK to 192.168.1.142
|
Hi @Masood
Do you mean that the IP address registered to your Wired device was handed out to one of your WiFi devices as well?
What troubleshooting have you tried so far?
Did you set your Wired device to have a static IP?
BasilDV
Hi Thanks for your prompt reply.
Apparently, TP Link router is assiging ip addressess to my wirless clients, but wireless clients not seeing ip addresses on their end.
Router#sh ip int brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM up up
GigabitEthernet0/1 unassigned YES DHCP up up
GigabitEthernet0/2 unassigned YES NVRAM administratively down down
GigabitEthernet0/3 unassigned YES NVRAM administratively down down
Here are the logs from device seeking IP address from TP Link router
*Jan 5 07:00:48.001: DHCP: Try 7 to acquire address for GigabitEthernet0/1
*Jan 5 07:00:48.022: DHCP: allocate request
*Jan 5 07:00:48.022: DHCP: zapping entry in DHC_PURGING state for Gi0/1
*Jan 5 07:00:48.022: DHCP: deleting entry 1149F5B0 192.168.1.95 from list
*Jan 5 07:00:48.022: DHCP: new entry. add to queue, interface GigabitEthernet0/1
*Jan 5 07:00:48.022: DHCP: SDiscover attempt # 1 for entry:
*Jan 5 07:00:48.023: DHCP: SDiscover: sending 305 byte length DHCP packet
*Jan 5 07:00:48.023: DHCP: SDiscover 305 bytes
*Jan 5 07:00:48.024: B'cast on GigabitEthernet0/1 interface from 0.0.0.0
*Jan 5 07:00:48.046: DHCP: Received a BOOTREP pkt
*Jan 5 07:00:48.046: DHCP: offer received from 192.168.1.1
*Jan 5 07:00:48.046: DHCP: SRequest attempt # 1 for entry:
*Jan 5 07:00:48.046: DHCP: SRequest- Server ID option: 192.168.1.1
*Jan 5 07:00:48.046: DHCP: SRequest- Requested IP addr option: 192.168.1.95
*Jan 5 07:00:48.046: DHCP: SRequest: 317 bytes
*Jan 5 07:00:48.046: DHCP: SRequest: 317 bytes
*Jan 5 07:00:48.047: B'cast on GigabitEthernet0/1 interface from 0.0.0.0
*Jan 5 07:00:48.660: DHCP: Received a BOOTREP pkt
*Jan 5 07:00:51.661: DHCP: rcv ack: Address in use..send DECLINE
*Jan 5 07:00:51.682: DHCP: SDecline attempt # 1 for entry:
*Jan 5 07:00:51.683: DHCP: SDecline placed Server ID option: 192.168.1.1
*Jan 5 07:00:51.683: DHCP: SDecline: 285 bytes
*Jan 5 07:00:51.684: B'cast on GigabitEthernet0/1 interface from 0.0.0.0
*Jan 5 07:00:51.684: DHCP: SDiscover attempt # 1 for entry:
*Jan 5 07:00:51.684: DHCP: SDiscover placed lease len option: 86368
*Jan 5 07:00:51.684: DHCP: SDiscover: sending 311 byte length DHCP packet
*Jan 5 07:00:51.684: DHCP: SDiscover 311 bytes
*Jan 5 07:00:51.685: B'cast on GigabitEthernet0/1 interface from 0.0.0.0
*Jan 5 07:00:51.685: DHCP: Received a BOOTREP pkt Not for us..: xid: 0xE31
*Jan 5 07:00:51.686: DHCP: Received a BOOTREP pkt Not for us..: xid: 0xE31
*Jan 5 07:00:51.732: DHCP: Received a BOOTREP pkt
*Jan 5 07:00:51.732: DHCP: offer received from 192.168.1.1
*Jan 5 07:00:51.732: DHCP: SRequest attempt # 1 for entry:
*Jan 5 07:00:51.732: DHCP: SRequest- Server ID option: 192.168.1.1
*Jan 5 07:00:51.732: DHCP: SRequest- Requested IP addr option: 192.168.1.97
*Jan 5 07:00:51.732: DHCP: SRequest: 317 bytes
*Jan 5 07:00:51.733: DHCP: SRequest: 317 bytes
*Jan 5 07:00:51.734: B'cast on GigabitEthernet0/1 interface from 0.0.0.0
*Jan 5 07:00:52.343: DHCP: Received a BOOTREP pktun all
All possible debugging has been turned off
Router#
*Jan 5 07:00:55.344: DHCP: rcv ack: Address in use..send DECLINE
I have tried turning off Windows10 Firewall and tried using differnt device to see if it can get dhcp address from TP Link router but no luck
On the other hand, if use my Wired ethernet adapter to use dhcp ip address, my cisco router (acting as dhcp client) gets ip address assigned, but i cannot ping dhcp server (192.168.1.1)
Router#sh ip int bri
Router#sh ip int brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM up up
GigabitEthernet0/1 192.168.1.129 YES DHCP up up
GigabitEthernet0/2 unassigned YES NVRAM administratively down down
GigabitEthernet0/3 unassigned YES NVRAM administratively down down
Router#
Router#
Router#
Router#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Router#
Router#
Router#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is 192.168.1.1 to network 0.0.0.0
S* 0.0.0.0/0 [254/0] via 192.168.1.1
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/1
L 192.168.1.129/32 is directly connected, GigabitEthernet0/1
Router#
Here are the logs when i change different device and that device is using Wireless adapter to get ip address from TP Link router.
1 | 2023-01-05 17:55:20 | DHCPD | Notice | No ip addresses to give, OFFER abandoned. |
2 | 2023-01-05 17:55:20 | DHCPD | Notice | Recv DISCOVER from 50:00:00:03:00:01 |
3 | 2023-01-05 17:55:20 | DHCPD | Notice | No ip addresses to give, OFFER abandoned. |
4 | 2023-01-05 17:55:20 | DHCPD | Notice | Recv DISCOVER from 50:00:00:04:00:01 |
5 | 2023-01-05 17:55:16 | DHCPD | Notice | No ip addresses to give, OFFER abandoned. |
6 | 2023-01-05 17:55:16 | DHCPD | Notice | Recv DISCOVER from 50:00:00:03:00:01 |
7 | 2023-01-05 17:55:16 | DHCPD | Notice | No ip addresses to give, OFFER abandoned. |
8 | 2023-01-05 17:55:16 | DHCPD | Notice | Recv DISCOVER from 50:00:00:04:00:01 |
Router#sh int g0/1
GigabitEthernet0/1 is up, line protocol is up
Hardware is iGbE, address is 5000.0004.0001 (bia 5000.0004.0001)
Internet address will be negotiated using DHCP
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Unknown, Unknown, link type is auto, media type is RJ45
output flow-control is unsupported, input flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:04, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 2000 bits/sec, 4 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
824 packets input, 84605 bytes, 0 no buffer
Received 784 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
70 packets output, 13962 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
Router#sh ip int brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM up up
GigabitEthernet0/1 unassigned YES DHCP up up
GigabitEthernet0/2 unassigned YES NVRAM administratively down down
GigabitEthernet0/3 unassigned YES NVRAM administratively down down
Router#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is not set
Router#
Hi @Masood . If Cisco is disconnected, does the Archer give proper ip addresses to ethernet and wifi devices? What is the dynamic pool range (100 to 199)? What is lease time?
What model number is the Cisco device? (It is acting as a router, not a switch?)
Does it get a proper ip address when it is connected to the Archer?
Are DHCP server functions disabled on Cisco?
What else is connected to the Cisco device?
What device is sending Decline in this message?
2023-01-05 15:48:40 Recv DECLINE from AA:BB:CC:01:80:00
You have this in the router config:
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/1
L 192.168.1.129/32 is directly connected, GigabitEthernet0/1
Are you trying to have the Cisco appear on the Archer LAN (192.168.1.0/24) but create 2 subnets 192.168.1.0/25? (Addresses 0 - 127 and 128 - 255)
Do you have an example of matching times on Archer and Cisco?
Thanks David for your reply.
If Cisco is disconnected, does the Archer give proper ip addresses to ethernet and wifi devices?
Yes.
What is the dynamic pool range (100 to 199)? What is lease time?
IP address pool: 192.168.1.101- 200. Lease time 1440 minutes
What model number is the Cisco device? (It is acting as a router, not a switch?)
I have tried 3725 router and also Cisco IOS/IOU routers.
Does it get a proper ip address when it is connected to the Archer?
No it does not. All I see is
Ethernet0/0 unassigned YES DHCP up up
"Internet address will be negotiated using DHCP"
Are DHCP server functions disabled on Cisco?
Cisco device is acting as dhcp client. No dhcp functions are running on Cisco
What else is connected to the Cisco device?
Cisco device is not connected to anything. except to VMWare logical switch (running within EVE-NG)
What device is sending Decline in this message?
2023-01-05 15:48:40 Recv DECLINE from AA:BB:CC:01:80:00
This MAC address of Cisco Router interface