unassumingname
New Around Here
Hi Everyone,
I know this is the RT forum, but I assume the switching code is similiar enough to the RT family so thought I would ask here.
I would like to create a basic VLAN trunk, with a native VLAN on a couple of ports. It is for a small (home) lab, and I cannot justify $$$ for enterprise gear before people say - 'do not do that'
As you can see below, I am trying to add VLAN 10 (and more when I get it working) to ports 2 & 4 as tagged, and have the native vlan as vlan 1 (or at least bound as tagged)
If I do "nvram set 'vlan1ports=1 2 3 4t 5*' " after reboot vlan 1 is still untagged on port 4, and the native vlan is still 10
So to be concise my questions would be:
1. Can you have a VLAN trunk with a native (untagged) VLAN on a port(s)?
2. Can VLAN 1 be bound as tagged on any port?
3. When using nvram set 'vlanXports=a b c' what does the * indicate? The default interface to transmit out?
Thank you for any advice, this really will help me have a kick a$$ home lab setup
I know this is the RT forum, but I assume the switching code is similiar enough to the RT family so thought I would ask here.
I would like to create a basic VLAN trunk, with a native VLAN on a couple of ports. It is for a small (home) lab, and I cannot justify $$$ for enterprise gear before people say - 'do not do that'
As you can see below, I am trying to add VLAN 10 (and more when I get it working) to ports 2 & 4 as tagged, and have the native vlan as vlan 1 (or at least bound as tagged)
If I do "nvram set 'vlan1ports=1 2 3 4t 5*' " after reboot vlan 1 is still untagged on port 4, and the native vlan is still 10
Code:
admin@DSL-AC68U:/tmp/home/root# robocfg show
Switch: enabled
Port 0: 100FD enabled stp: none vlan: 2 jumbo: off mac: 78:da:6e:de:d3:d4
Port 1: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 94:de:80:f8:46:f2
Port 2: DOWN enabled stp: none vlan: 10 jumbo: off mac: 00:00:00:00:00:00
Port 3: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 74:d4:35:6b:d8:f4
Port 4: DOWN enabled stp: none vlan: 10 jumbo: off mac: 74:d4:35:6b:d8:f4
Port 8: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
VLANs: BCM5301x enabled mac_check mac_hash
1: vlan1: 1 2 3 4 5t
2: vlan2: 0 5t
10: vlan10: 2t 4t 5t
56: vlan56: 2t 5 7 8t
57: vlan57: 2 7
58: vlan58: 1 5 7t 8t
59: vlan59: 3t 4t 8t
60: vlan60: 0 8t
61: vlan61: 0 1 4 5 7 8t
62: vlan62: 0 5 7
3880: vlan3880: 0t 5t
So to be concise my questions would be:
1. Can you have a VLAN trunk with a native (untagged) VLAN on a port(s)?
2. Can VLAN 1 be bound as tagged on any port?
3. When using nvram set 'vlanXports=a b c' what does the * indicate? The default interface to transmit out?
Thank you for any advice, this really will help me have a kick a$$ home lab setup