Avatar of Hamid Saeed
Hamid Saeed
 asked on

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

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,
VMware

Avatar of undefined
Last Comment
Hamid Saeed

8/22/2022 - Mon
Hamid Saeed

ASKER
Excuse me friends,
Do my question  is vague?
kevinhsieh

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.
Hamid Saeed

ASKER
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,
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
robocat

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.
Hamid Saeed

ASKER
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,
ASKER CERTIFIED SOLUTION
robocat

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Hamid Saeed

ASKER
Thanks dear for your answers,
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.