Create a VLAN interface with parent etherx and desired VLAN tag, and add that VLAN interface to the bridge.
When you ask so many questions yet accept no answers or advise, it is not remarkable that at some point
you get ignored. I would advise you to leave tasks that are above your capability to someone else when you
do not want to study the matter.
>>Create a VLAN interface with parent etherx and desired VLAN tag, and add that VLAN interface to the bridge.
When i create a VLAN interface with parent etherx and desired VLAN tag, i get TAGGED traffic. This interface can receive only packets with tag, and transmit packet with tag.
How can i add tag for incoming (untagged) traffic, and strip tag on outgoing traffic?
>>Here is the link to VLAN examples which should help
omg! how it works???
you connect tagged vlan10 interface and untagged ether1 interface. they should not communicate!
It looks like the Mikrotik bridge automatically add tags and strip tags!
But, your bridge documentation (http://wiki.mikrotik.com/wiki/Manual:Interface/Bridge) does not contain any information about this CRITICAL feature!
Mikrotik team, you need to place on the site more detailed documentation!
The virtual vlan interface connected to a physical interface is the one untagging incoming and tagging outgoing traffic.
If you put 2 physical interfaces (without attached vlan interfaces) on a bridge, the ports will behave like trunks, keeping all the tags.
If you bridge only vlan interfaces, the traffic inside the bridge is untagged, being stripped by the vlan interfaces.
The traffic extracted by a vlan interface attached to the physical one will not appear in a bridge in which the physical interface is part of (while all other vlans will).
You know what the problem is? You came here, because you wanted to solve something. Some big goal consisting of several parts/steps. But you don’t tell us about big goal and all its details. You just told us about step #1, which you’re set on doing in one specific way, and refuse to accept that it might not be the right way. And when you get working solution (that would be ZeroByte’s option 3 in the other thread(*)), you start doing something else on top of that and then complain how it does not work. But you don’t bother to tell anyone what’s the next thing you’re trying to do now. Which in fact you should have told us about in advance, because it could influence what the proper solution for step #1 is.
(*) I don’t know what’s the idea behind spreading your problem over several threads and I don’t think it makes things clearer at all.
Don’t take it a wrong way, it’s meant as friendly advice.
Please draw a complete map of the entire solution you want to see with all involved connections and addresses.
Don’t use fake addresses all over the place. You can do some fake address for an external address but not
for RFC1918 addresses. And when you use a fake address don’t use a RFC1919 value.
Then explain us how it should function (e.g. where it should NAT if anywhere, what it should filter, which incoming
translations there should be if there is NAT, etc)
Only with a complete picture of the situation it is possible to explain how you should approach the problem.
Most likely there will be no bridge involved, and certainly no bridge with more than ether3 and ether4.
What are these IP addresses? How do they relate to IP1 and IP2 (external IPs on your ISP-facing CCR interfaces)? Are they in the same subnet?
Why do you need the traffic on the ESXi-facing ports to be untagged? (A few posts above you attached a picture telling us that you want that traffic to be untagged)