LINKSYS WRT54G Wireless G Router Instructions
V24:_WLAN_separate_from_LAN,_with_independent_DHCP
Step 1
First, we will log into the router interface and go to Wireless > Basic Settings. Change Network Configuration
from Bridged to Unbridged. This will bring up 3 new settings. For IP Address enter 192.168.2.1 and for
Subnet Mask enter 255.255.255.0. Click Apply Settings. Now click on Wireless > Advanced Settings. Change
AP Isolation from Disable to Enable and click Apply Settings. This will prevent wireless clients from
communicating with each other. As far as wireless encryption goes, that's up to your preferences. I'm not
going to cover it in this article.
Step 2
Now that we have the wireless network setup, we need to have the DHCP server issue IP addresses within its
range. To do this, first go to Setup > VLANs. Scroll to the bottom and change Wireless from LAN to None.
Click Apply Settings. Now go to Setup > Networking. Scroll to the bottom and click Add under Multiple
DHCP Server. This will bring up several new options. Set the first option to eth1 (the wireless adapter) and
leave the other default settings as they are. Click Apply Settings.
Step 3
Now we have the wireless and wired on their own class c networks, all we have to do now is prevent them
from talking to each other. Goto Administration > Commands. Now put the following commands into the text
box:
iptables -t nat -I PREROUTING -i eth1 -d $(nvram get lan_ipaddr)/$(nvram get lan_netmask) -j DRO
iptables -t nat -I PREROUTING -i br0 -d $(nvram get eth1_ipaddr)/$(nvram get eth1_netmask) -j DR
Click Save Firewall, reboot the router for good measure, and BAM! You now have your LAN on the
192.168.1.1/24 network and your wireless on 192.168.2.1/24, without access to each other.
Comments
--Jozevolf 13:15, 30 September 2008 (CEST)
I followed your article on v24 sp1. I had problems with wifi clients not being able to acquire IP from DHCP. I
found out that there was a problem with the nas authentication service running without '-l' parameter. I then
included the following two commands in post boot script:
killall nas
nas -P /tmp/nas.wl0lan.pid -H 34954 -l eth1 -i eth1 -A -m 132 -k yourpsk -s yourssid -w 6 -g 3600
# adjust other nas parameters according to your security needs
For firewall part, I gues the following is more appropriate:
iptables -I FORWARD 1 -i eth1 -d $(nvram get lan_ipaddr)/$(nvram get lan_netmask) -j DROP
iptables -I FORWARD 2 -i br0 -d $(nvram get eth1_ipaddr)/$(nvram get eth1_netmask) -j DROP
Step 1
2
| General | Details |
|---|---|
| Name | LINKSYS WRT54G Wireless G Router Instructions |
| Make | Linksys |
| Language | English |
| Filetype | PDF (Download) |
| File size | 0.04 MB |
If you have any questions regarding LINKSYS WRT54G Wireless G Router Instructions, please ask here and describe the problem in detail.

LINKSYS EA7500 AC1900 Max Stream Wifi Router User Guide

Linksys WRT300N Wireless-N Broadband Router User Guide

LINKSYS MX4200 Router Installation Guide

LINKSYS N600 Dual Band Router User Guide

LINKSYS E2500 Dual Band Router User Guide

LINKSYS AX3200 Dual-Band Gigabit Wi-Fi 6 Router User Guide

LINKSYS FGW5500 5G WiFi 6 Router User Guide

LINKSYS AX1800 Dual-Band WiFi 6 Router E7350 User Guide

LINKSYS 750MR7500 Hydra Pro 6E Mesh Router User Guide

LINKSYS E900 Wi-Fi Router User Manual

















