RE: RE: Specifying interface for iperf


Two things: First

> iperf -s -u -B 224.0.55.55 -i 1 &
This will use eth0 as a default interface. So you should be seeing a _join_
on this interface.

Second

The Iperf docs say;
" --B : Bind to host, one of this machine's addresses. For the client this
sets the outbound interface. For a server this sets the incoming interface.
This is only useful on multihomed hosts, which have multiple network
interfaces.  
For Iperf in UDP server mode, this is also used to bind and join to a
multicast group. Use addresses in the range 224.0.0.0 to 239.255.255.255 for
multicast. " 

It does not distinguish between specifying a local interface and joining a
multicast group. You need to wake up someone higher in the hierarchy to get
an answer (does not always work) OR look at the code (always works) :)

- Nirav Jasapara.
http://www-scf.usc.edu/~jasapara/



-----Original Message-----
From: owner-iperf-users --at-- dast.nlanr.net
[mailto:owner-iperf-users --at-- dast.nlanr.net] On Behalf Of cnelson --at-- nycap.rr.com
Sent: Thursday, October 21, 2004 11:53 AM
To: iperf-users --at-- dast.nlanr.net
Subject: Re: RE: Specifying interface for iperf

> You are correctly using the -B option for binding to an interface.
> 
> ...
> 
> Are you sure the IP for the other interface is 224.0.12.34 ? Can 
> you confirm that ?

I'm not sure we're using "interface" the same way.  I have two interfaces on
my system: eth0 and eth1.  I want iperf to join a multicast group (e.g.,
224.0.12.34) and to send its IGMP Report out eth1.  If I specify the IP
address of my local host on eth1  as the value of -B, where do I specify the
multicast group?



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index