Community discussions

MikroTik App
 
RaynoP
newbie
Topic Author
Posts: 34
Joined: Thu Jun 30, 2011 10:59 am

Bridge not forwarding traffic on ESXi host

Thu Jun 30, 2011 11:48 am

Hi guys,

I have an issue with x86 ROS on ESXi servers. I installed it in a VM and want to use the router for additional spam filtering and firewalling.

I added two interfaces to the VM and in winbox created a bridge and added those two interfaces to the bridge. I also assigned an IP address to the bridge itself. I then created a second internal vSwitch on the ESX host and connected the one interface of the router to that vSwitch and the second interface on the router to the default vSwitch that carries traffic out of the ESX host.

When I connect a VM to the internal vSwitch on the ESXi host I cannot ping it's interface but when I connect it to the external vSwitch I can ping it. I have used the two options from VMware the E1000 and Flexible VM NIC options. The one emulates a AMD server NIC and the other an Intel server NIC. None of the options seems to work.


What can the problem be?
 
RaynoP
newbie
Topic Author
Posts: 34
Joined: Thu Jun 30, 2011 10:59 am

Re: Bridge not forwarding traffic on ESXi host

Sat Jul 02, 2011 3:52 pm

Hi Guys,

I cannot believe that no one has experienced problems like these before.

If there is someone please help.


Rayno
 
RaynoP
newbie
Topic Author
Posts: 34
Joined: Thu Jun 30, 2011 10:59 am

Re: Bridge not forwarding traffic on ESXi host

Sun Jan 15, 2012 1:56 pm

Hi guys,

Mikrotik's official response is they don't and will not support ESX/ESXi interface cards.

However the only way I could get this to work after trying all possible configs in ESX/i was to route to another subnet in which case everything including the firewall rules works perfectly. So if your input subnet is 10.10.10.x use 10.10.11.x as the internal network for example.

Hope it helps!
RaynoP
 
abeggled
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Mon Aug 16, 2010 4:00 pm
Location: Zollikofen, Switzerland

Re: Bridge not forwarding traffic on ESXi host

Sun Jan 15, 2012 4:01 pm

Mikrotik's official response is they don't and will not support ESX/ESXi interface cards.
There is no need for "official" VMware support as long the Intel e1000 cards are supported by RouterOS.
Just use e1000 cards which are working verry well on ESX for years ...
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Bridge not forwarding traffic on ESXi host

Sun Jan 15, 2012 7:27 pm

isnt there something in vmware you have to enable to allow a port to become promiscuous and see all traffic on a bridge?
 
RaynoP
newbie
Topic Author
Posts: 34
Joined: Thu Jun 30, 2011 10:59 am

Re: Bridge not forwarding traffic on ESXi host

Mon Jan 16, 2012 9:59 pm

Mikrotik's official response is they don't and will not support ESX/ESXi interface cards.
There is no need for "official" VMware support as long the Intel e1000 cards are supported by RouterOS.
Just use e1000 cards which are working verry well on ESX for years ...
I have used every network card and config ESX has to offer. Nothing works or worked.
 
RaynoP
newbie
Topic Author
Posts: 34
Joined: Thu Jun 30, 2011 10:59 am

Re: Bridge not forwarding traffic on ESXi host

Mon Jan 16, 2012 10:01 pm

isnt there something in vmware you have to enable to allow a port to become promiscuous and see all traffic on a bridge?
Promiscous mode by default is disabled on a vSwitch. It can be enabled but in all my tests it has made no difference.

I have 4.1 and 5 hosts at work. I will double check maybe version 5 has improved the problem.
 
mp3turbo
newbie
Posts: 25
Joined: Fri May 29, 2009 9:24 pm

Re: Bridge not forwarding traffic on ESXi host

Fri Apr 13, 2012 5:39 am

so....

has it ?
 
test0912
just joined
Posts: 3
Joined: Mon May 07, 2012 10:01 pm

Re: Bridge not forwarding traffic on ESXi host

Mon May 07, 2012 10:05 pm

works well for me on M v4 and Esxi 4 U1

You have to enable Promiscuous mode on each (!) vSwitch that you would like to connect using Mikrotik bridge
 
dison4linux
just joined
Posts: 18
Joined: Fri Apr 13, 2012 4:26 pm

Re: Bridge not forwarding traffic on ESXi host

Sun May 20, 2012 5:36 am

I also have X86 working well on ESXi 4.1U2 and 5.0U1. Yes you do have to enable promiscuous mode as you would no matter what the virtualized network appliance would be... MikroTik, Vyatta, pfSense, Untangle, etc
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: Bridge not forwarding traffic on ESXi host

Sun May 20, 2012 6:35 am

This does work, but I discovered a problem with it...the same problem that this gentleman using Vyatta discovered: ESXi will echo back broadcast ethernet frames (FF:FF:FF:FF:FF:FF) to the same vSwitch port it heard the broadcast frame from. This not only causes network loops, but it confuses the heck out of bridges, since it will first learn a MAC on one interface/port, and then see that same MAC show up on another.

http://www.vyatta.org/forum/viewtopic.php?t=7545

I have yet to find a workaround to this.

-- Nathan
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: Bridge not forwarding traffic on ESXi host

Wed Mar 26, 2014 9:49 am

Revisiting this old topic because the need to do this has come up again...

I discovered that the problem I was having with broadcast traffic getting looped back through the vSwitch only occurred if I had more than 1 pNIC attached to a vSwitch, even if the second pNIC was configured to only be used for failover/standby purposes. Kind of a bummer since I don't want to give up the redundancy just to be able to bridge, but I also need to bridge...

Found this discussion thread where the same thing is being echoed: https://communities.vmware.com/message/1507261

I am considering trying to run Open vSwitch inside of a guest and having it sit between the vSwitch with the two pNICs and all of the guests on this box. Has anybody else played with Open vSwitch in conjunction with ESXi? Is there a good ready-made OVF/appliance somewhere?

(MikroTik feature request: replace the Linux bridging code in RouterOS with Open vSwitch :) )

-- Nathan

Who is online

Users browsing this forum: No registered users and 40 guests