Shibby tomato and default VLAN

Discussion in 'Tomato Firmware' started by DonutMan, Apr 30, 2013.

  1. DonutMan

    DonutMan Reformed Router Member

    Hi all,
    I'm very new in the open router community :)
    I recently bought a WNR3500Lv2 open source router on which I installed the latest Shibby Tomato firmware.

    I really enjoy it but I have a little question about it...
    Indeed by default it seems that Tomato have created two VLAN and I don't know why....

    I expect no more than 4 different interfaces : loopback, ethernet WAN side, ethernet LAN side and WiFi.

    Here the result of an ifconfig done on the router :

    • br0 --> IP of my router, LAN side
    • eth0 --> no IP, same MAC adress than br0
    • eth1 --> no IP
    • lo -->
    • vlan1 --> no IP, same MAC adress than eth0 and br0
    • vlan2 --> IP of my router, WAN side
    So my questions are :
    1 - could you please help me to identify the four interfaces expected on my router (e.g. loopback is here called 'lo')
    2 - I've read that three different kinds of VLAN can be used (level 1 based on physical port, level 2 based on MAC adress and level 3 based on IP adress). How can I check what kind are vlan1 and vlan2 ?
    3 - Why those two VLAN have been created ? I guess that, somehow, the ethernet based on RJ-45 and the ethernet based on WiFi have to be joined... But a bridge should have been used instead of a VLAN ? I'm really not sure of what's happening here....
    Thanks a lot for your answers :)
  2. shibby20

    shibby20 Network Guru Member

    all RJ45 ports in router are create one psychical switch. Well it has to be devided to 2 vlans (WAN and LAN). Because wan and lan interfaces are vlans, well we can change ports members. For example if WAN port will fail, then you can promote one of lan ports as new WAN (remove lan1 from lan vlan and add to wan vlan). Simple.

    eth0 is our switch (all 5 external ports)
    eth1 is Wireless 2.4GHz
    eth2 is Wireless 5GHz
    lo - loopback

    Now vlan of LAN + eth1 + eth2 (is exist) = br0 and this is our LAN + all wireless interfaces, they are bridged together, but only by default, because we are able to seperate wireless from LAN ports. We can also create to 4 bridges (br0/1/2/3).

    My language is not perfect but i hope it will help you understand interface topology in tomato :)
    Best Regards!
    Trent Bates likes this.
  3. DonutMan

    DonutMan Reformed Router Member

    Hi Shibby,
    thanks a lot for this very helpful explanation :)
    I've made a little figure (see hereafter), I suppose that all is okay now ?

    Anyway, thanks a lot for the work you've done for this tomato release :)



    Attached Files:

  4. shibby20

    shibby20 Network Guru Member

    vlan1 and vlan2 are not always static. For some router it will be vlan0 and vlan1. For some router vlan1 will be wan and vlan2 will be lan for the others it will be revert :) You have to remember about this :)

    Best Regards.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice