Ok, I'm back. I have isolated port 4 on my router. It now has IP of 192.168.2.1. I have tested it by connecting my computer to port 4. I gives an ip address to the computer of 192.168.2.101 and I get internet access. The problem is when I connect my wireless access point to port 4 I do not get internet access. Do I need to change settings on the wap to get it to work? or do I need to change settings on my router? I used these instructions to set up my router. Any help would be appreciated.
1) Install the v.23 dd-wrt SP1 final, SP2 beta or v.24 alpha version of firmware available HERE -- Instructions for installing DD-WRT are available HERE
2) Telnet to your router and enter the username of root and your administrative password.
3) Copy the following script and paste on the command line.
------------------- Copy starting below this line. -------------------
nvram set vlan0ports="1 2 3 5*"
nvram set vlan2ports="4 5*"
nvram set rc_startup='
#!/bin/ash
PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"
ifconfig vlan2 192.168.2.1 netmask 255.255.255.0
ifconfig vlan2 up
'
nvram set rc_firewall='
iptables -I INPUT -i vlan2 -j ACCEPT
iptables -I FORWARD -i vlan2 -o vlan1 -m state --state NEW -j ACCEPT
iptables -I FORWARD -i vlan2 -o ppp0 -m state --state NEW -j ACCEPT
iptables -I FORWARD -i br0 -o vlan2 -j logdrop
'
nvram commit
--------------- Stop here when selecting text to copy --------------------------
4) Back to the web management interface in DD-WRT. Select the Setup tab and the select the VLAN sub-tab.
5) On port 4 de-select VLAN 0 and select VLAN 2.
DD-WRT Sep VLANS
6) Click the Save Settings button at the bottom of the page.
7) Select the Administration tab and then the Management sub-tab.
8) Scroll down until you find the DNS MASQ section of the Management tab.
9) In the Additional DNS Options box paste the following:
------------------- Copy starting below this line. -------------------
interface=vlan2
dhcp-range=192.168.2.100,192.168.2.149,255.255.255.0,1440m
--------------- Stop here when selecting text to copy --------------------------
DNSMASQ Configuration
10) Click the Save Settings button at the bottom of the page.
11) Back to the telnet window. At the prompt type reboot and hit <enter>
You should now have a WRT54G/S/L running DD-WRT with port 4 on its own VLAN/Network with access to the internet.