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 ?
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
Designing your vMotion network – Multi-NIC vMotion and NetIOC - frankdenneman.nl
Moderator note: Moved to the relevant sub-forum area, VMware vSphere vNetwork.
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.
just to add, Traffic Shaping is applied all the time regardless of available bandwidth. Network I/O Control is prefered traffic shaping.
Do VMware and cisco speak opposite in the topic ?
Do VMware and Cisco speak opposite in this topic ?