1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I am realy try but something wrong (vlan config)

Discussion in 'DD-WRT Firmware' started by alaite, Mar 19, 2007.

  1. alaite

    alaite Guest

    I am new and have no expierence. I was read some treads and trying to configure my WRT54GL v.1.1 with dd-wrt v23 sp2 to switch port 4 as vlan2.
    I want the ports 1,2,3 from vlan0 can access port 4 on the vlan2 and internet. Vlan2 can access vlan0 and internet. Vlan0 have DHCP and vlan2 do not have DHCP.
    Result of my experiment was total disaster - no internet on vlan0 and vlan2. No communication between vlan0 and vlan2. :confused:

    Can somebody help me with setup?

    My code:

    nvram set vlan0ports="1 2 3 5*"
    nvram set vlan2hwname=et0
    nvram set vlan2ports="4 5"
    nvram set rc_startup="ifconfig vlan2 netmask"
    nvram set rc_firewall="iptables -I INPUT 2 -i vlan1 -o vlan2 -j ACCEPT"
    nvram commit



Share This Page