Greetings to All,
I am new to OpenWrt. Please bear with my 'noob' inquiries.
Current flashed WRT1900ACS using below firmware.
openwrt-18.06 branch (git-19.020.41695-6f6641d) / OpenWrt 18.06.2 r7676-cddd7b4c77
Main router is D-Link DIR-850L stock firmware from ISP with IP address 192.168.1.1 (from landlord room).
My router is WRT1900ACS with WAN IP 192.168.1.131 (DHCP leased from Main router).
I set my router LAN IP as 192.168.2.1 static IP and 192.168.1.1 as gateway.
I connected landlord's router (D-Link 850L) to my router's (WRT1900ACS) internet port.
Internet is working fine as usual, but I cannot access the main router (D-Link 850L) webUI now (192.168.1.1) for whatever reason.
Tried to ping/nslookup main router (192.168.1.1) and the result shows that 192.168.1.1 is owned by OpenWrt.lan which is confusing. I know 192.168.1.1 is the main router (D-Link 850L).
Am I missing some configuration here?
Thanks in advanced.
When your WAN is DHCP you should not set a gateway or DNS in the LAN section. The gateway will be configured automatically. If you want to use different DNS servers set them in the WAN section.
Are there any other OpenWrt devices on your network?
Some stale entry from the default configuration.
Please post the following:
uci show network; uci show dhcp; cat /etc/hosts; cat /etc/ethers;
Thanks @mk24 for the reply.
I removed the 192.168.1.1 in LAN gateway section of my OpenWrt router and left it blank, but I still cant access main router:
# 404 Not Found
The requested URL /cgi-bin/luci was not found on this server.
This is the only OpenWrt.
Thanks @trendy for the reply.
Please refer to below.
**uci show network**
network.(@)switch_vlan.ports='0 1 2 3 5t'
**uci show dhcp**
::1 localhost ip6-localhost ip6-loopback
Lookup man 5 ethers for syntax documentation
@trendy Please include the following (including the grafik) or similar in your requests for configs.
Saves me quite some time
Please use "Preformatted text </>" for logs, scripts, configs and general console output.
Your browser wants to redirect to LuCI because at some time in the past you have accessed an OpenWrt router at 192.168.1.1. Now you are reaching the neighbor's router upstream, but since it is not OpenWrt, the LuCI page does not exist. But the 404 error means that you did reach a web server.
The solution is to clear the browser cache.
Will try @tmomas, I was hoping that users took the introductory tour with discobot. Otherwise I am pointing it out as well.
Back to the problem, I think it is here:
You have basically bridged the two lans.
I don't want to imagine what else is wrong there, so better restore factory defaults, change immediately the LAN interface IP into something else not conflicting with your landlord's router and then connect it upstream to his router. It will work just like that.
Was literally pulling my hair out. Been going through multiple reset to clear the issue for a few days now.
Browser clear Cache did the trick.
Am back to business, Thanks Everyone for your efforts. @trendy @mk24.
Do fix what @trendy noted. The only interface in wan should be eth1.2 which is the link to the WAN port and the main router.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.