If you post the output of ip route
there will be less guessing
it already connected
Router WAN is connected to DSL LAN
iam windows10 , in cmd its not a correct code
Please confirm that both networks are not 192.168.1.0/24
Pasting the results of ip route
FROM YOUR OPENWRT will do that.
on the router (putty window)
Unless someone says to run a command on your Windows machine, assume that means on your OpenWrt box over SSH using PuTTY.
root@OpenWrt:~# ip routs
BusyBox v1.28.4 () multi-call binary.
Usage: ip [OPTIONS] address|route|link|neigh|rule [COMMAND]
OPTIONS := -f[amily] inet|inet6|link | -o[neline]
COMMAND :=
ip addr add|del IFADDR dev IFACE | show|flush [dev IFACE] [to PREFIX]
ip route list|flush|add|del|change|append|replace|test ROUTE
ip link set IFACE [up|down] [arp on|off] | show [IFACE]
ip neigh show|flush [to PREFIX] [dev DEV] [nud STATE]
ip rule [list] | add|del SELECTOR ACTION
root@OpenWrt:~#
REALLY!!!
STOP TROLLING
The command is ip route
You do see your spelling mistake?!
i swear iam not trolling
just cant understand fulll
iam not god of network
iam new and noob
wait wait .. i type wrong
Simple, paste EXACTLY WHAT YOU'RE BEING ASKED TO -
- don't make anything up
- don't alter it
ip route
You've been given the command over 3 times, please paste the results. This isn't hard or advanced - it's simply typing EXACTLY you're you're being asked to...please remember we're trying to help you troubleshoot this.
Yes, any time you see a "help message" it means that you asked it to do something that it didn't understand. Often it is a typo.
really really sorry i type last one wrong
root@OpenWrt:~# ip route
default via 192.168.1.1 dev eth0.2 src 192.168.1.178
192.168.1.0/24 dev br-lan scope link src 192.168.1.1
192.168.1.0/24 dev eth0.2 scope link src 192.168.1.178
root@OpenWrt:~#
You need to change your OpenWrt router's LAN IP to something outside 192.168.1.X. For example 192.168.2.1.
The WAN and the LAN cannot be in the same range.
i change it 1000 times, but after reset router it gets back to 192.168.1.1
Network interface , 192.168.2.1 , after re boot change to 1.1
then you need to change it again every time you reboot
This is not an error on your part, but a common problem with modems that aren't in "pass-through" mode. Something that can be "fixed" later, but for now, what it looks like is happening is that:
- Your modem is using 192.168.1.0/24 for its DHCP-assigned addresses
- Your OpenWrt box is getting 192.168.1.178 from that modem
- Your OpenWrt box is configured, by default, to use 192.168.1.1/24 for its LAN
- It gets "confused" since the address range is on both its WAN and its LAN and doesn't know where to go to get to the Internet
How is your Windows PC connected to your OpenWrt router? Does it have only one Ethernet cable connected?
Edit: The above is very, very important, as we need to know how you can re-connect to your OpenWrt box after we help you change its LAN address.
It's likely auto reverting.
I'm afraid to suggest...but the OP can edit in /etc/config/network under the LAN section.
The OP needs to disconnect the duplicate WAN (or change it instead)...the OP should be able to do this in the web GUI.
please wait ,,, iam changing the DSL IP to 192.168.2.1
Excellent!!!
After you confirm modem change, reboot both devices!