Open jaylong255 opened 1 month ago
Yes, a WAN interface can be reprogrammed as a LAN interface in OpenWrt. This is often done when setting up a router as an access point or switch. Here's how you can do it:
Access the OpenWrt web interface of the router.
Go to Network > Interfaces.
Find the WAN interface and click on "Delete".
Go to Network > Switch.
In the switch configuration, you'll see a list of ports. Find the port that was previously assigned to WAN.
Change this port's VLAN assignment to match the LAN VLAN (usually VLAN 1).
Save and apply the changes.
Reboot the router.
After these steps, the former WAN port will now function as another LAN port.
This process can be particularly useful when repurposing a router as a switch or access point, as it gives you an extra Ethernet port to work with.
Would you like more details on any part of this process?
To set up a second router as a wireless access point (WAP) and switch using OpenWrt, follow these steps:
Connect to the second router and access its web interface.
Go to Network > Interfaces and delete all interfaces except for LAN.
Edit the LAN interface:
Go to Network > Wireless:
Go to Network > Firewall:
Connect the second router's LAN port to one of the LAN ports on your main router using an Ethernet cable.
Reboot the second router.
This setup will make your second router function as a wireless access point and switch, extending your network's coverage.
Would you like me to explain or elaborate on any of these steps?