Community discussions

MikroTik App
 
KBV
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 79
Joined: Mon Nov 10, 2014 7:02 pm

Switch Chip: what am i doing wrong

Mon Apr 20, 2015 8:04 pm

I want to do so:
scheme.jpg
/interface bridge
add name=bridge-DMZ protocol-mode=none
add name=bridge-LAN protocol-mode=none

/interface vlan
add interface=ether2-Server name=Port2-vlan81 vlan-id=81

/interface bridge port
add bridge=bridge-LAN interface=ether2-Server
add bridge=bridge-DMZ interface=Port2-vlan81

/interface ethernet
set [ find default-name=ether2 ] name=ether2-Server
set [ find default-name=ether4 ] master-port=ether2-Server name=ether4-DMZ

/interface ethernet switch port
set 0 vlan-mode=secure
set 2 default-vlan-id=81 vlan-header=always-strip vlan-mode=secure

/interface ethernet switch vlan
add independent-learning=no ports=ether2-Server,ether4-DMZ,switch1-cpu switch=switch1 vlan-id=81
add independent-learning=no ports=ether2-Server,switch1-cpu switch=switch1 vlan-id=1
But the interface Ether4 does not get in Vlan 81 (and bridge-DMZ) :(
Computer in the port 4 is connected to the LAN bridge
What am i doing wrong?
 
troffasky
Member
Member
Posts: 431
Joined: Wed Mar 26, 2014 4:37 pm

Re: Switch Chip: what am i doing wrong

Mon Apr 20, 2015 11:41 pm

You might want to mention what platform you're using. Switch chip, config and best practise can vary.
 
KBV
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 79
Joined: Mon Nov 10, 2014 7:02 pm

Re: Switch Chip: what am i doing wrong

Tue Apr 21, 2015 1:06 pm

Sorry :)
RB850Gx2 , Atheros 8327 switch chip

/interface ethernet switch port
set 0 - this is the Port 2
set 2 - Port4
 
KBV
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 79
Joined: Mon Nov 10, 2014 7:02 pm

Re: Switch Chip: what am i doing wrong

Wed Apr 22, 2015 9:51 pm

I solved the problem. Thanks to all :)
The port "switch 1 cpu" was in VLAN-mode "disabled". Tags have been ignored and vlan 81 was in a LAN network :)

Who is online

Users browsing this forum: Bing [Bot] and 102 guests