-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

> No way to have tagged vLANs outbound?

Assuming you want a vlan trunk on LAN Port 1, your config may look like
this:

config switch eth0

# Normal LAN VLAN over Ports 2-3 + CPU
config switch_vlan
        option vlan  0
        option ports '1 2 3 5'

# Normal WAN VLAN over Port 4 + CPU
config switch_vlan
        option vlan  1
        option ports '4 5'

# Tagged VLAN 10 over Port 1
config switch_vlan
        option vlan  10
        option ports '0t 5'

# Tagged VLAN 11 over Port 1
config switch_vlan
        option vlan  11
        option ports '0t 5'

# Tagged VLAN 12 over Port 1
config switch_vlan
        option vlan  12
        option ports '0t 5'

# LAN Bridge
config interface lan
        option type    bridge
        option proto   static
        # include VLAN 0, 10, 11 and 12
        option ifname  "eth0.0 eth0.10 eth0.11 eth0.12"
        option ipaddr  192.168.1.1
        option netmask 255.255.255.0

# WAN Interface
config interface wan
        option ifname  eth0.1
        option proto   dhcp


Keep in mind the Broadcom Switch can only handle VLAN IDs from 0 to 15.

~ Jow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzmKOsACgkQdputYINPTPMoigCaAolEdEaFAkEsoJf5dTq9c5E2
zboAoJzlheKi49Zst8tsoIL210lL0WZJ
=oIgy
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to