Archer A64- Auto changing LAN ip address

Archer A64- Auto changing LAN ip address

Archer A64- Auto changing LAN ip address
Archer A64- Auto changing LAN ip address
2024-07-29 16:16:25
Model: Archer A64  
Hardware Version: V1
Firmware Version: 1.13.2 Build 230824 Rel.74702n(4555)

Well, my Archer A64 keep changing it's own LAN ip address constantly.

Let me show you my settings:

I have ISP modem(in bridge mode) --> my own primary router --> second router.

The connection: From ISP modem to WAN port of Primary R. --> From Primary LAN port to Second R LAN port (acts like AP).

 

Primary router settings:

Dinamically detects it's static ip from ISP.

IP Address: 85.??.???.6

Subnet Mask: 255.255.255.0

LAN ip: 192.168.0.1 (now) - but it keep changing it to 192.168.1.0 constantly.

LAN subnet mask: 255.255.255.0

DHCP pool: 192.168.0.2 - 192.168.0.200

 

Second router settings:

static ip address: 192.168.0.201

DHCP: disabled

 

I saw in my Primary R network map an LAN connection called "wan0" which is not from my LAN ports. I guess it is the connection between ISP modem and WAN port of Primary R.

The ip was 192.168.0.3 so i thought this is the reason because it is in the range of DHCP pool, so i made dhcp reservation for this mac to be 192.168.0.202 (out of dhcp range).

After reboot all devices, the ip was really 192.168.0.202, but unfortunatelly the problem happend again few hours later. The LAN ip address of Primary R changed to 192.168.1.0.

Any idea why is that happening and how to fix it?

  0      
  0      
#1
Options
2 Reply
Re:Archer A64- Auto changing LAN ip address
2024-07-29 18:47:05

  @mibvip 

 

Hi,

 

Broadband modems themselves also have a local network.

When occasionally no connection to the ISP is available the modem might momentarily assign a local IP address to the device that is connected to it.

 

In your case the modem is likely using the local subnet 192.168.0.x, which is the same as the Archer A64 uses by default.

 

Having IP addresses of the same subnet on the WAN as well as the LAN breaks the network. There is no way a router could work under such a condition.


For that reason TP-Link decided to implement a logic in their routers that automatically changes the router's own LAN subnet to another one that doesn't conflict with the subnet it detects on the WAN port. (so the Archer A64 changes its LAN IP address from 192.168.0.1 to 192.168.1.1)

While this solves the actual network conflict and saves the day for the majority of (casual) users, it does cause trouble for users that have assigned static IP addresses within their LAN network or do for other reasons rely on a specific LAN subnet.

 

There are two ways to prevent the issue that you are seeing.

Either:
    1) Permanently change the LAN network of the ISP modem from 192.168.0.x to something else. (i.e. change the "0" to anything from 1 to 254, like 192.168.1.x, 192.168.9.x, 192.168.234.x)

Or (if 1 is not possible):
    2) Permanently change the LAN network of the Archer A64 from 192.168.0.x to something else. (i.e. change the "0" to anything from 1 to 254, like 192.168.1.x, 192.168.9.x, 192.168.234.x)
 

  0  
  0  
#2
Options
Re:Archer A64- Auto changing LAN ip address
2024-07-30 07:03:56 - last edited 2024-07-30 07:23:34

  @woozle 

 

 

Thanks for the quick response!

Unfortunately i am 300km away right now and i have remotely access only to the primary router. So i can't change the LAN network of the ISP modem.

Also i have no access to the 2nd router to change it's settings if i change LAN ip of Primary router.. Forgot to open "Remote management", but i was thinking that port forwarding of port 80 (i checked it's listening on this port) via Primary router will give me access to the second, but for some reason it's not working this way.

 

For now i found another response here for the almost same situation and there was advice to change DNS servers of the Primary router DHCP.

So i did it with public dns servers and now more than 11 hours i still have no problem, but it's too early to say if that fixed the problem..

 

I'll check everything when I'm there and keep your advice in mind.

 

Edit: Also i have Pi-4 there and i have SSH access. So i nmap 192.168.0.x and 192.168.1.x

There are result for my devices on 192.168.0.x, but there are also results for 192.168.1.x:

Nmap scan report for 192.168.1.0
Host is up (0.0072s latency).
Nmap scan report for 192.168.1.19
Host is up (0.011s latency).
Nmap scan report for 192.168.1.255
Host is up (0.0078s latency).

 

So i am not sure if actually the broadband modem's network is the reason cuz from this results i think it uses 192.168.1.0 which is okay.

 

  0  
  0  
#3
Options

Information

Helpful: 0

Views: 335

Replies: 2

Related Articles