[netperf-talk] Running Netperf using IPv6

Rick Jones rick.jones2 at hp.com
Mon Jul 23 18:56:35 PST 2007


Ashenafi D wrote:
> Thank you Rick for your input.
> Here is what I found from Qt:
> QHostAddress isn't enough to hold proper addresses, meaning IPv6 
> addresses require more information than a simple 128-bit
> address. Link-local addresses in stream connections require the 
> sin6_scope_id field of sockaddr_in6 to be set when connect call is used,
>  
> In some Linux distros, when using a link-local or site-local address for 
> IPv6 connections, you must specify the scope ID. The scope ID for a 
> link-local address is usually the same as the interface name (e.g., 
> "eth0", "en1") or number ( e.g., "1", "2").
> http://doc.trolltech.com/4.3/qhostaddress.html#scopeId

Sigh - again linux has to be different...  I will try to ask in another forum if 
this difference is intentional and if it will persist.  Meanwhile, I guess that 
means we need additional options to netperf to specify scopeids.

rick jones


More information about the netperf-talk mailing list