Community discussions

 
donisg
newbie
Topic Author
Posts: 26
Joined: Sun Nov 25, 2012 10:59 pm

ESXI+Mikrotik+VLAN

Mon Nov 26, 2012 8:30 am

Situation:
Config of Mikrotik (1.jpeg):
eth1=wan
eth2=vmware mng port (connected my computer)
eth3=vmware vm port with vlan's (vlan1, vlan2).
eth4=vmware mng port (administration of esxi).


Конфиг ESXI:
2.jpeg, 3.jpeg

I want to configure, that all vm's were in separate vlan's, so they cannot see each other.
At this situation vms's cannot access their gateways (192.168.1.254 and 192.168.2.254).
You do not have the required permissions to view the files attached to this post.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: ESXI+Mikrotik+VLAN

Mon Nov 26, 2012 3:52 pm

have you tried RouterOS 5.21 (or 5.22) we have reports that state this is working on that version of RouterOS.
 
donisg
newbie
Topic Author
Posts: 26
Joined: Sun Nov 25, 2012 10:59 pm

Re: ESXI+Mikrotik+VLAN

Mon Nov 26, 2012 4:09 pm

After upgrade should I reset to defaults?
 
donisg
newbie
Topic Author
Posts: 26
Joined: Sun Nov 25, 2012 10:59 pm

Re: ESXI+Mikrotik+VLAN

Mon Nov 26, 2012 9:13 pm

Right now upgraded to 5.22, but this did not resolved my problem.
 
savage
Forum Guru
Forum Guru
Posts: 1186
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Re: ESXI+Mikrotik+VLAN

Tue Nov 27, 2012 9:26 am

You can't use VLAN interfaces inside ESX - ESX strips the VLAN IDs.

You need to create the VLAN'ed interfaces as physical Ethernet nics connected to the switches inside ESX, and add physical ethernet NICs on the host connected to the virtual switch.
Regards,
Chris
 
donisg
newbie
Topic Author
Posts: 26
Joined: Sun Nov 25, 2012 10:59 pm

Re: ESXI+Mikrotik+VLAN

Thu Nov 29, 2012 8:36 am

Problem solved. Strange that veterans did not helped with such simple problem.

By default all vlans on MT can see each other and it is normal. You must drop packet between them using firewall rules.
 
Rivera
Member Candidate
Member Candidate
Posts: 105
Joined: Thu Jul 21, 2011 7:42 pm

Re: ESXI+Mikrotik+VLAN

Thu Nov 29, 2012 11:24 am

You can't use VLAN interfaces inside ESX - ESX strips the VLAN IDs.

You need to create the VLAN'ed interfaces as physical Ethernet nics connected to the switches inside ESX, and add physical ethernet NICs on the host connected to the virtual switch.
False. You can create vSwitch with VLAN#4095, then ESXi will not strip VLAN headers and you can set them as you wish inside VM.

Who is online

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