VMware Cloud Community
baber
Expert
Expert

ingress and egress traffic shaping

Dear all

Hi

are these correct about ingress and egress traffic shaping?

1- ingress = traffic from vm to vds and vds to wan or lan

2- ingress is output traffic

3- egress = traffic from wan or lan to vds and from vds to VM

4- egress is input traffic

are these correct ?

Please mark helpful or correct if my answer resolved your issue.
Reply
0 Kudos
7 Replies
bayupw
Leadership
Leadership

Some of your points are partially correct

The ingress & egress terms in traffic shapping is from vDS point of view

Ingress = going into or entering vDS

Egress = going outside vDS

See these 2 blog posts

Leveraging Traffic Shaping to Control Multi-NIC vMotion Bandwidth - Wahl Network

ingress-vs-egress-diagram

Designing your vMotion network – Multi-NIC vMotion and NetIOC - frankdenneman.nl

05-ingress-egress

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
Reply
0 Kudos
bayupw
Leadership
Leadership

Moderator note: Moved to the relevant sub-forum area, VMware vSphere vNetwork.

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
Reply
0 Kudos
Eric_Allione
Enthusiast
Enthusiast

Yes, you are correct. In VMware-speak:

ingress: Traffic is going into the vDS from the VM.

egress: Traffic is going out to the VM from the vDS.

"Within a standard vSwitch, you can only enforce traffic shaping on outbound traffic that is being sent out of an object--such as a VM or VMkernel port--toward another object. This is referred to by VMware as "ingress traffic" and refers to the fact that data is coming into the vSwitch by way of the virtual ports. Later, we cover how to set "egress traffic" shaping, which is the control of traffic being received by a port group headed toward a VM or VMkernel port, when we start talking about the distributed switch in the next chapter."

Source: Wahl & Pantol. (2014). Networking for VMware Administrators. Palo Alto: VMware Press.

However, VMware's definition of this stops at the virtual switch. Per the vSphere 6.5 documentation: "The traffic is classified to ingress and egress according to the traffic direction in the switch, not in the host" (http://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.vsphere.networking.doc/GUID-964F5A21-0B53-468...).

In Cisco-speak:

ingress: Traffic moving out of a physical interface.

egress: Traffic moving into a physical interface.

But this means you are also right, because moving past VMware's definition and into Cisco's it's still the same direction. Therefore, ingress is VM > vSwitch > physical switch, and egress is physical switch > vSwitch > VM.

vfk
Expert
Expert

just to add, Traffic Shaping is applied all the time regardless of available bandwidth.  Network I/O Control is prefered traffic shaping.

--- If you found this or any other answer helpful, please consider the use of the Helpful or Correct buttons to award points. vfk Systems Manager / Technical Architect VCP5-DCV, VCAP5-DCA, vExpert, ITILv3, CCNA, MCP
Reply
0 Kudos
shoeb_khan
Contributor
Contributor

Do VMware and cisco speak opposite in the topic ?

Reply
0 Kudos
shoeb_khan
Contributor
Contributor

Do VMware and Cisco speak opposite in this topic ?

 

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

What do you mean by “speak opposite”?

-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos