Hi, I am trying to set bandwidth caps for two zones. I created two vnics and assigned them to two zones 'exclusive'ly. Then, I used the following commands to set the bandwidth limits
#dladm modify-vnic -b 100 1 #dladm modify-vnic -b 900 2 and I see that they are set correctly. # dladm show-vnic device speed vnic1 e1000g0 1000 Mbps mac: 0:14:4f:8d:a9:bd (fixed) bw limit: 100 Mbps cpus: 0 vnic2 e1000g0 1000 Mbps mac: 0:14:4f:8d:a9:be (fixed) bw limit: 900 Mbps cpus: 0 I am measuring the bandwidth used by a zone, by calculating tx + rx bytes as seen by 'kstat -n vnic?'. Is this the right way to measure it? I use httperf to connect to the webservers running in the two zones, and I always see the bandwidth used by the zones exceeding the limits often reaching 400Mbps (my workload is very network heavy). I tried using the -L option as specified in the dladm man page (http://dlc.sun.com/osol/netvirt/downloads/20070214/dladm.1m.txt) to cap bandwidth, but I get an error. # dladm modify-vnic -b 100 -L 1 dladm: unrecognized option '-L' I am not sure whether this is the right way to cap bandwidth. Another way to do it, I believe, is to use flowadm and setup flows with limited bandwidth. I thought that probably uses more protocol processing than necessary, since I just want to cap the full vnic bandwidth. Any ideas? Pradeep