?
Solved

How to implement traffic shaping for certain group of VM in ESXi 4

Posted on 2010-08-30
12
Medium Priority
?
1,545 Views
Last Modified: 2012-06-22
Hi All,

How to actually implement / simulate 1 MB WAN link slowness in VMware vsphere 4 ?

I've created separate vswitch and implement the traffic shaping as in the picture below but how come the speed is still 1.4 GBps ?

any kind of help and comment would be greatly appreciated.

Thanks,

JJ
shaping.jpg
0
Comment
Question by:jjoz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
12 Comments
 
LVL 12

Assisted Solution

by:geowrian
geowrian earned 1600 total points
ID: 33564323
Does this apply?
http://support.microsoft.com/kb/931857

The NIC speed as shown in the OS doe snot reflect any traffic shaping policies. They are performed at the vSwitch or dvSwitch level. The guest OS is not aware of the traffic shaping.
0
 
LVL 1

Author Comment

by:jjoz
ID: 33564331
uhm.. yes that is why it is always displayed as 1.4 GBps on the 32 bit VM.

is that right implementation in the vswitch setting ?
0
 
LVL 42

Assisted Solution

by:paulsolov
paulsolov earned 400 total points
ID: 33564356
keep in mind that traffic shaping is only outbound on a standard vswitch.  

What you need to do is use a traffic shaping application on physical hardware or as a VM.  Traffic shaping in ESX is data leaving the vswitch, if you have two VMs talking to each other on the same vswitch it is at line speed.

What exactly are you trying to accomplish?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 12

Expert Comment

by:geowrian
ID: 33564363
Yes, that should limit all incoming and outgoing traffic to that VM at 1024kbps. However, the last setting is in kbytes, not kbits. That shouldn't matter as the peak speed will never be exceeded, but I just wanted to point it out.
0
 
LVL 1

Author Comment

by:jjoz
ID: 33564365
thanks for the reply Paul,

what does it means by "line" speed ?
I'm trying to test the slowness link (end to end / client server) simulation form this 32 bit VM and 32 bit physical machine.
0
 
LVL 12

Assisted Solution

by:geowrian
geowrian earned 1600 total points
ID: 33564368
Oops - let me fix something. On a standard vSwitch, it only shapes egress traffic. On a distributed vSwitch, it is bidirectional.
0
 
LVL 1

Author Comment

by:jjoz
ID: 33564372
oh.. so in this case i shall use dvSwitch ? instead of normal vswitch ?

doh.. i only have license for VSphere essential, that doesn't include dVswitch....
0
 
LVL 12

Expert Comment

by:geowrian
ID: 33564376
The line speed, in your case, is 10 gig. Since this is the only VM on the vSwitch, this shouldn't matter as it is not doing VM to VM traffic.
0
 
LVL 12

Assisted Solution

by:geowrian
geowrian earned 1600 total points
ID: 33564383
Yes, a dvSwitch can do inbound traffic shaping. A standard vSwitch is egress only.
http://www.dailyhypervisor.com/2009/05/30/differences-between-vswitches-and-dvswitches/
0
 
LVL 1

Author Comment

by:jjoz
ID: 33564385
ok, suppose there is another VM in this vswitch, then the communication between them is shaped into 1 MBps ?

thanks for the reply.

egress this means exitting the ESXi right ?
0
 
LVL 12

Accepted Solution

by:
geowrian earned 1600 total points
ID: 33564400
No, the traffic to the other VM on the switch would not be shaped at all.

Yes, egress is outbound traffic (leaving the host).
0
 
LVL 1

Author Closing Comment

by:jjoz
ID: 33564433
thanks man !
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question