Community discussions

 
User avatar
lapsio
Member
Member
Topic Author
Posts: 470
Joined: Wed Feb 24, 2016 5:19 pm

MikroTik switch/bridge hair-pinning (reflective relay) support

Mon Jun 04, 2018 10:24 am

I'm reading about VEPA virtualization and articles say that it requires hair pinning support on switch (sending packet back to the same interface). I honestly thought it's standard behavior of pretty much any switch but those articles confused me a bit. Do RouterOS or MikroTik switches work in such scenario? To give some context idea of VEPA is that single server interface has N mac addresses (one for each VM) and all VMs always send packets through interface even if it's destined to another VM (which uses the same interface aka the same physical port just different MAC. So example packet flow would look like this lets say:
vm1 -> virtual_if1 -> eth0(mac1) -> crs317(port1) -> crs317(port1) -> eth0(mac2) -> virtual_if2 -> vm2
Can mikrotik switches reply to different mac on the same port or packet will be dropped or something? How about RouterOS bridges? I'm pretty sure MAC defined VLANs are some viable workaround but I'd like to avoid that (or at least avoid software routing)
Last edited by lapsio on Wed Jun 06, 2018 4:40 pm, edited 1 time in total.
MTCNA, MTCRE, MTCINE
 
User avatar
lapsio
Member
Member
Topic Author
Posts: 470
Joined: Wed Feb 24, 2016 5:19 pm

Re: MikroTik switch/bridge hair-pinning support

Wed Jun 06, 2018 1:51 am

So... no, apparently it does not work in straightforward way. However on RouterOS it can be achieved by adding vlans in VMs and then bridging those vlans in ROS. I doubt it's possible on switches at wire speed though.
MTCNA, MTCRE, MTCINE

Who is online

Users browsing this forum: Google [Bot] and 100 guests