OpenWrt Forum Archive

Topic: Change LAN IP on TL740n v4.27

The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,
I'm trying to change IP address on LAN side, but after change (I found same problems here in the forum) router is unaccecable, but it is almost working - DHCP server is working on new subnet, I receive new IP address, I have internet, although DNS server is not working - I must manual set Google's DNSs.

I try to change IP addres from
1. LuCI
2. uCI:
(/etc/init.d/firewall stop - just for sure not firewalls problems)
uci set network.lan.ipaddr=192.168.2.1
uci set network.lan.netmask=255.255.255.0
uci set network.lan.gateway=192.168.2.1
uci set network.lan.dns=8.8.8.8
(ifup lan) or /etc/init.d/network restart
...and i'm loosing access to router

3. with "ifconfig br-lan  192.168.2.1 up" (and as aliase br-lan:2) - manual setting IP address for PC new from subnet, still not ping, nor ssh to router.

But if I change this way IP address of router from same subnet (saying 192.168.1.10) I have access to router on this IP.

Any ideas? I was  thinking for firewalls problem in the beginig, but..

First i have flashed router with trunk Barier Breaker, but then "sysdowngrade" to AA 12.09 - succsesfull, but same problem.

(Last edited by glesov on 27 Apr 2014, 22:13)

glesov wrote:

uci set network.lan.ipaddr=192.168.2.1
uci set network.lan.gateway=192.168.2.1

LAN and gateway can't be the same

This was second attempt, first time I test only with IP address, without gate and dns.
(but this situation must work for local access anyway)

Hm, its working now, I found a OpenVPN instance on my PC, using same subnet 192.168.2.0 as remote network  sad

The discussion might have continued from here.