Is it possible, and is there an example configuration anywhere, of VLAN trunking with a Cisco IOS based switch? I have KAMIKAZE (7.07) running on a Linksys WRT54GL v1.1 (BCM5352 rev0).
I have three VLAN's (100/200/300) on my Cisco 3750 and I'd like to configure one port on it as a trunk to my Openwrt -I don't use the WAN interface on the Openwrt, so that'd be a handy trunk port for me?
A quick initial look seems like I might need the following on my IOS switch for the designated trunk interface:
switchport mode trunk
switchport nonegotiate
switchport trunk encapsulation dot1q
switchport trunk allowed vlan add 100
switchport trunk allowed vlan add 300
Anything else? Do I need to set the default vlan (switchport access vlan X) and the native vlan (switchport trunk native vlan X)?
What about the Openwrt side? It looks like the webif only allows vlans 0-9, and not anything greater? Is that a web interface limitation or must my VLAN number really be in that range? Can I just edit /etc/config/network, something like this:
#### VLAN configuration
config switch eth0
option vlan0 "0 1 5*"
option vlan100 '3 4 5*'
option vlan300 '2 4 5*'
Would this make Port 4 (WAN?) able to trunk vlan100 and 300, and port 3 as a member of just vlan100, and port 2 as a member of vlan 300?
Any help appreciated.
(Last edited by fihzy on 8 Dec 2007, 15:51)