Topic: Bringing out vlan's to physical ports

Hi!

Thought I'd first declare what hard-/soft-ware I'm using.
WL-520gU with 32MB RAM
10.03.1-RC6, r28680

Problem:
I have a ISP that splits Internet, IPTV and IP-telephony in 3 different Vlans. I would like to bring these three out to different ports on the router.

I basically want to make it into a (smart) switch, no routing.

This is how I wish to have it configured:
VLAN ID         VLAN Members (Service)
1----------------Lan1 (Internet)
845-------------Lan2 (IPTV)
855-------------Lan3 (IP-telephony)

WAN-port should be connected to the ISP. "Uplink"

Since internet is kept on vlan id 1, that is how I can reach the internet now using a normal router.

Lan4 should be kept as a config-port with static IP so I can SSH into it. Not connected in any way to the other vlans/ports.

If you think that you can help, please do.

Re: Bringing out vlan's to physical ports

OpenWrt / VDSL with TP-Link TL-WR1043ND

3 (edited by 3zl 2011-12-29 15:51:51)

Re: Bringing out vlan's to physical ports

could not resist....:cool:

http://www.myspace.com/video/andria/sam-brown-quot-horse-to-the-water-quot/7422657

{ forgive my weekness..but thats what i feel like }
3zl

"use  *search* or give me your  I*  so i can show you"

        mesh applications with batman-adv

Re: Bringing out vlan's to physical ports

Unfortunately this is impossible with the WL-520gU, as the internal switch only supports the VLAN IDs 1 to 15.

Re: Bringing out vlan's to physical ports

KanjiMonster wrote:

Unfortunately this is impossible with the WL-520gU, as the internal switch only supports the VLAN IDs 1 to 15.

Ah..

Thanks anyway! smile

Re: Bringing out vlan's to physical ports

KanjiMonster, is this actually a driver issue or is the hardware not capable of this?

7 (edited by Jakkvurt 2011-12-29 18:02:25)

Re: Bringing out vlan's to physical ports

https://forum.openwrt.org/viewtopic.php?id=28647
https://forum.openwrt.org/viewtopic.php?id=27113

Seems to have found this, mentioning the fact that broadcom switches can only address 4-bit vlans. So it's a hardware limitation.

If I were to get myself another router for this use, what can you recommend?
Links seem to indicate that atheros or realtek routers support full 12-bit vlans.

Orca, I saw you just updated the Buyers Guide. Any thoughts?
I would like to be able to push the whole 100Mbit line through the router.

Re: Bringing out vlan's to physical ports

http://wiki.openwrt.org/?do=search&id=ar8316
http://wiki.openwrt.org/?do=search&id=rtl8366 including D-Link DIR-825b1/b2 and Buffalo WZR-HP-G300NHv1

Manual:Switch Chip Features - MikroTik Wiki
OpenWrt / Which router for high IPsec throughput?

Re: Bringing out vlan's to physical ports

Thanks!

Your name appropriate. smile

10

Re: Bringing out vlan's to physical ports

Personally I recommend Buffalo WZR-HP-G300NH (v1) for its 32MB flash and TP-LINK TL-WR1043ND for its unique switch design. Both at a very fair price. TP-LINK TL-WR1043ND is the only one I know the wan port is programmable.

RouterBoard RB750GL is also a very good choice if you don't need Wi-Fi. I believe that its wan port is also programmable but I wouldn't want to replace RouterOS with OpenWrt.

Re: Bringing out vlan's to physical ports

If I understand correctly, the VLAN limitation is on the internal switch, not the WAN port.

So you should be able to assign the correct vlans on that side.  Then you can add them to bridge groups for different vlans on the LAN port (which is connected to the internal switch).  So basically you remap the vlans.  Seems like a hassle, but you'd need to setup the bridges anyway if you were going to use the WAN port (since it's not attached to the switch).

Just curious - but why have the Inet traffic 'switched' through? Why not do NAT here on one of the ports and just pass through TV/Phone?

-3j

Re: Bringing out vlan's to physical ports

@3josh

It would be interesting if it would work.

I have no problem with NAT'ing the internet-connection, just didn't focus on the internet connection this time. Just wanted something that would work.

If you could help me with the network config file I would be very thankful.