Here is the article you requested:
Configuring ASUS Router with OpenWRT 22.03: Home Internet and WAN Port, Local Ethernet 0.1, WLAN0-1, and Virtual Bridge Network (CAMAL)
In this article, we will guide you through the process of configuring your ASUS router with OpenWRT 22.03, focusing on the WAN port, local Ethernet 0.1, WLAN0-1, and a virtual bridge network named CAMAL (wireless bridge).
Understanding the Components
Before we dive into the configuration, let's briefly discuss the key components involved:
-
WAN Port: This is the port that connects your router to the internet service provider (ISP).
-
Local Ethernet 0.1 (br-lan): This is a local Ethernet network share that is connected to the local Ethernet port of your router.
-
WLAN0-1: These are the wireless interfaces of your router.
-
Virtual Bridge Network (CAMAL): This is a wireless bridge network that connects two separate wireless networks.
Configuration Steps
Step 1: Access the OpenWRT Web Interface
- Connect your computer to the ASUS router via an Ethernet cable.
- Open a web browser and enter the IP address of your router (usually 192.168.1.1).
- Log in using your credentials (the default username is 'root' and the password is 'admin').
Step 2: Configure the WAN Port
- Navigate to Network > Interfaces > WAN.
- Set the Protocol to DHCP.
- Save and apply the changes.
Step 3: Configure Local Ethernet 0.1 (br-lan)
- Navigate to Network > Interfaces > LAN.
- Change the Protocol to Static IP.
- Enter the IP address, netmask, and gateway for your local network.
- Save and apply the changes.
Step 4: Configure WLAN0-1
- Navigate to Network > Wireless > Basic Settings.
- Enable the WLAN0 interface.
- Set the Network Mode to Managed.
- Enter the SSID, Security Mode, and Password for your wireless network.
- Save and apply the changes.
- Repeat the process for WLAN1 if you have a dual-band router.
Step 5: Configure the Virtual Bridge Network (CAMAL)
- Navigate to Network > Interfaces > config.
- Add the following lines to the end of the file:
config interface 'camal'
option ifname 'wlan0' 'wlan1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.2'
option netmask '255.255.255.0'
option ip6assign_method '6rd'
option ip6rd_server '2001:4860:4860::8888'
option ip6rd_id '0x200:0x1'
option ip6rd_prefix '2001:4860:4860::/48'
option ip6rd_preferred_lft '3600'
option ip6rd_valid_lft '7200'
option ip6rd_advertised_lft '1800'
option ip6rd_dns '2001:4860:4860::8888'
option ip6rd_wins '2001:4860:4860::8888'
Replace '192.168.1.2' with the desired IP address for the CAMAL network.
- Save and apply the changes.
Step 6: Configure Wireless Clients
- Navigate to Network > Wireless > Wireless Clients.
- Add the SSID and MAC address of the wireless clients you want to connect to the CAMAL network.
- Save and apply the changes.
References
- OpenWRT Documentation: OpenWRT Networking
- OpenWRT Documentation: OpenWRT Bridging
- OpenWRT Documentation: OpenWRT Wireless Clients
This article provides a step-by-step guide for configuring an ASUS router with OpenWRT 22.03, focusing on the WAN port, local Ethernet 0.1, WLAN0-1, and a virtual bridge network named CAMAL. The configuration steps include accessing the OpenWRT web interface, configuring the WAN port, local Ethernet 0.1, WLAN0-1, and the virtual bridge network, and configuring wireless clients. References for further reading are also provided.