Method 1: Set up a sub-network 1, insert the network cable from the neighbor's house into the WAN port of your router 2, set the router WLAN network mode is DHCP (general broadband here is set up PPPOE, such as the length and width I am using now), your router's WLAN IP is allocated by the neighbor's router.
3. Other Settings.
Just like normal router Settings. Such as setting the wireless network name, password and so on.
At this time, the IP of your laptop and mobile phone WIFI are assigned by your router, and their IP is unknowable to the neighbors.
Your computer and your neighbor's computer are not on the same LAN, you are a subnet to your neighbor. You can access your neighbor's computer.
If there is no address segment conflict (conflict means that your router's network segment is the same as your neighbor's network segment), there is no IP conflict because it is on a different router.
For example, if your neighbor's network is 192.168.1.X, it is recommended that your router be set to a different one, such as 192.168.2.X.
The network set by your router has nothing to do with the neighbor's allocation to the WAN port, in fact, you can set it to the same 192.168.1.X as the neighbor. It's just an inconvenience.
Method 2: Merge the network 1, plug the network cable from the neighbor's house into your router's LAN port (note that it is different from the WAN port in the above method) 2, turn off the DHCP function of your router (important: It must be turned off, otherwise the device assigned by your router will not be able to access the Internet).
3, forget about your router WLAN Settings, because it is not connected.
4. Other Settings.
Just like normal router Settings. Such as setting the wireless network name, password and so on.
At this time, the IP of your laptop and mobile phone WIFI are assigned by the neighbor router, and their IP is known to the neighbor.
Your computer and your neighbor's computer are on a local area network, and your devices can access each other. ====== Add:
1, just did not see what you said \"how to set the WAN port is not connected\
2, because the DHCP of your router is off, you need to manually set the IP in the wired way before you can change your router Settings again (it is not clear whether the wired is necessary, manually set the IP is a must).
In my case, the IP assigned by the upper-level router is 192.168.6.X, the IP set by my router is 192.168.1.1, and the IP assigned by my computer when I connect to the router is 192.168.6.100, so I need to change it to manual IP 192.168.1.2. To access 192.168.1.1 set up my router again.