VMware vSphere

 View Only
  • 1.  ingress and egress traffic shaping

    Posted Apr 04, 2017 07:21 PM

    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 ?



  • 2.  RE: ingress and egress traffic shaping

    Posted Apr 04, 2017 07:38 PM

    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



  • 3.  RE: ingress and egress traffic shaping

    Posted Apr 04, 2017 07:41 PM

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



  • 4.  RE: ingress and egress traffic shaping

    Posted Apr 04, 2017 09:26 PM

    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-468A-8A05-B71AA91F8A31.html?).

    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.



  • 5.  RE: ingress and egress traffic shaping

    Posted Jul 30, 2023 12:37 PM

    Do VMware and cisco speak opposite in the topic ?



  • 6.  RE: ingress and egress traffic shaping

    Posted Jul 30, 2023 07:48 PM
    What do you mean by “speak opposite”?


  • 7.  RE: ingress and egress traffic shaping

    Posted Jul 30, 2023 12:39 PM

    Do VMware and Cisco speak opposite in this topic ?

     



  • 8.  RE: ingress and egress traffic shaping

    Posted Apr 05, 2017 10:07 AM

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