是否已经有人尝试从容器连接到vlan ?
代码:选择所有
/接口桥添加名称= bridge1 /接口vlan添加接口= bridge1 name = bridge1.10 vlan id = 10添加界面= bridge1 name = bridge1.20 vlan id = 20添加界面= bridge1 name = bridge1.99 vlan id = 99 /接口以太网交换机端口设置1 vlan-header = add-if-missing vlan-mode =安全设置2 default-vlan-id = 100 vlan-header = always-strip vlan-mode =安全组3 default-vlan-id = 10 vlan-header = always-strip vlan-mode =安全组4 default-vlan-id = 10 vlan-header = always-strip vlan-mode =安全设置5vlan-mode=secure /interface bridge port add bridge=bridge1 interface=ether2 add bridge=bridge1 interface=ether3 add bridge=bridge1 interface=ether3 add bridge=bridge1 interface=ether4 add bridge=bridge1 interface=ether5 /interface以太网交换机vlan add independent-learning=yes ports=ether2,switch1-cpu switch=switch1 vlan-id=99 add independent-learning=yes ports=ether2,ether4,ether5,switch1-cpu switch=switch1 vlan-id=10 add independent-learning=yes ports=ether2,switch1-cpu switch=switch1 vlan-id=20 add independent-learning=yesPorts =ether2,ether3 switch=switch1 vlan-id=100