I'm just trying to get to grips with how the various vlan variables are read and operated on.
Taking a default wrt54gs - it's bridged between vlan0 and vlan1 (and the wireless). So I tried to "rename" all instances of vlan1 to be vlan2. I also changed all references to vlan1 into vlan2 (for me this was lan_ifnames and wan_ifname).
However, if I do this (and reboot) then the bridging stops working ("some" packets get through), and in fact routing becomes extremely wierd (I can't ping lots of stuff which is plugged in directly and was working fine before I switched the vlan name)
Is this all deliberate and I'm missing something obvious. Or is this some subtle bug somewhere? I tried grepping the code, but I don't see anything particular which makes vlan1 special, but it does seem to be so?
(As to "why". I was trying to debug why I'm having problems with more than two vlans. Looks like the issue might be this rather than the multiple vlans)
Could someone else repro the situation above please and tell me if I am just testing it incorrectly or if really does do this (day old CVS)
Thanks