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

high vlan ids?

Discussion in 'Tomato Firmware' started by humba, Jul 6, 2009.

  1. humba

    humba Network Guru Member

    I need to get one of my WRT54GL ports into vlan402 as a tagged member.

    so I took my existing confing

    lan_ifnames=vlan0 vlan2 eth1 eth2 eth3
    vlan2ports=3 5
    and turned into

    lan_ifnames=vlan0 vlan402 eth1 eth2 eth3
    vlan402ports=3 5
    and removed the vlan2* stuff, commited and rebooted. Sure enough, the nvram variables survive the reboot, but there's no vlan402 afterwards... ifconfig vlan402 says no interface found. if I go back to 2, it works.

    I then tried vlan5 and 15, both of which worked, then 16, and that's where it stops working.. so it seems somehow vlans above 15 are not supported.

    Does anybody know a workaround?
  2. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    Tomato has a max (auto) VLAN number of 15 (relevant source). You'll have to do it by hand with the "vconfig" utility. For an idea of what commands are run for the nvram based VLANs, see the source code here. Maybe someone more knowledgeable of VLANs can give a more direct answer of what commands to run.

Share This Page