Hi,
I've been using RSPros for a while and just got a new one so built a
new firmware.
The swconfig has changed from every other version I have though.
The original format (I have always used) no longer works properly -
this is also the format the GUIs spit out config files, so I am a bit
stumped.
I have 3 different OSs on these units - 2 with the same behavior, and
1 that requires this new behavior.
So, for this example, let's say I have 4 vlans with the vlan id
mapping to the ethernet port number for it's pvid. Ie, vlan1 -> pvid
on port1, etc..
The following commands are what I used to use (still do on my other 2 units)
swconfig dev eth1 vlan 1 set ports '0t 2t 3t 4t'
swconfig dev eth1 vlan 2 set ports '0t 2 3t 4t'
swconfig dev eth1 vlan 3 set ports '0t 2t 3 4t'
swconfig dev eth1 vlan 4 set ports '0t 2t 3t 4'
This results in:
Port 0:
pvid: 0
Port 1:
pvid: 0
Port 2:
pvid: 2
Port 3:
pvid: 3
Port 4:
pvid: 4
VLAN 0:
vid: 0
ports:
VLAN 1:
vid: 1
ports: 0t 2t 3t 4t
VLAN 2:
vid: 2
ports: 0t 3t 4t
VLAN 3:
vid: 3
ports: 0t 2t 4t
VLAN 4:
vid: 4
ports: 0t 2t 3t
With the latest release (trunk and 10.3.1-rc6)
VLAN 1:
vid: 1
ports: 0t
VLAN 2:
vid: 2
ports: 0t 2t
VLAN 3:
vid: 3
ports: 0t 2t 3t
VLAN 4:
vid: 4
ports: 0t 2t 3t 4
Now, I can work around this by leaving off the entries without "t",
and using the "swconfnig port x set pvid y" syntax, but the fact that
the OS is writing an incompatible config is making me wonder if
something else is going awry with this board?
Anyone run into this?
Thanks,
Greg
Thanks
-Greg
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users