We help IT Professionals succeed at work.

How state mac table in physical switch when virtual machine connect to it?

Hamid Saeed
Hamid Saeed asked
on
183 Views
Last Modified: 2018-05-24
Hi dears,
Can you help  me for :
 In scenario below:
In a esxi host with a uplink that connet to a upstream  switch, exist 5 VMs that  each have thier broad cast domain ,
My question is,  
When VMs start for connect to external network, I want know  what mac table switch is?
I want know a switch port how understand many VMs connected to it?

Very thanks for your helps,
Comment
Watch Question

Author

Commented:
Excuse me friends,
Do my question  is vague?
kevinhsiehNetwork Engineer
CERTIFIED EXPERT

Commented:
If there are multiple VMs on a host, the physical switch will see multiple MAC addresses on that switch port, just like it would if you plugged in another physical switch and had multiple devices connected. It isn't any different because of virtualization.

Author

Commented:
Thanks dear,
Excuse me, let to me explain more,
I want know with a uplink and many VMs with different subnets, that uplink connect to one physical  switch , I want know how traffics from VMs send out to external network and how switch behavior with VMs traffics ?

Thanks,
CERTIFIED EXPERT

Commented:
This is done using VLAN trunking or 802.1Q.

This protocol adds a header to each ethernet packet that allows both switch and VM host to identify to which subnet the traffic should be directed.

So you can have different subnets on one physical cable, being logically separated by the 802.1Q protocol. Within each subnet, things work like they usually do.

Author

Commented:
Very thanks friends,
Ok, if I have three port groups that with thier subnets, I don't want use vlan Id for them,
Now physical  switch how see this traffics and how vsphere send vm's traffic  to physical switch and how switch pass traffic of VMs from external network to each of VMs?

Very thanks for your helps,
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
Thanks dear for your answers,