Hi Thanks for Suggestion,

You are right !!

But then I come up with other easy solution.. Without applying patch

  • When I ran "route" command, I found NIC1( eth0 ) was in my default route:
    10.10.10.0      *               255.255.255.0   U     0      0        0 eth2
    10.168.1.0      *               255.255.255.0   U     0      0        0 eth1
    169.254.0.0     *               255.255.0.0     U     0      0        0 eth2
    192.168.0.0     *               255.255.0.0     U     0      0        0 eth0
    default         headnode.direct 0.0.0.0         UG    0      0        0 eth0

  • I deleted that entry: route del -net default

  • Then, I added my NIC2( eth2 ) as default NIC: route add default gw 10.10.10.82 eth2 :
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    10.10.10.0      0.0.0.0         255.255.255.0   U     0      0        0 eth2
    10.168.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1
    169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth2
    192.168.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
    0.0.0.0         10.10.10.82     0.0.0.0         UG    0      0        0 eth2

  • Now Iperf ran on NIC2 path

Dharmesh

Gerrit Renker wrote:
Quoting Dharmesh:
|    Hi users,
| 
|    I have multiple NIC card on my PC like:
|    Server:
|    SERVER_NIC1: 192.168.54.82
|    SERVER_NIC2: 10.10.10.82
| 
|    Client:
|    CLIENT_NIC1: 192.168.54.83
|    CLIENT_NIC2: 10.10.10.83
| 
|    Now suppose I find out below commands to test Iperf Multicast:
|    Server: iperf -u -B 230.17.17.1 -s -t 60 -i 5 -l 1K -P 1 -p 5001
|    Client: iperf -u -B 192.168.54.83 -c 230.17.17.1 -t 60 -i 10 -l 2k -P 1 -p
|    5001
| 
|    And its worked but when ran commands for NIC2 like:
|    Server: iperf -u -B 230.17.17.1 -s -t 60 -i 5 -l 1K -P 1 -p 5001
|    Client: iperf -u -B 10.10.10.83 -c 230.17.17.1 -t 60 -i 10 -l 2k -P 1 -p
|    5001
| 
|    Server didn't response and seems that it was not hearing on 10.10.10.XX
|    IP.
| 
|    How can I Run Multicast test on NIC2 / Else than Default NIC ? Do any one
|    have any Command OR Solution ?
|    Thanks,
|    Dharmesh
| 
As far as I know, iperf does not support setting the multicast interface. Doing this
is however required when running UDP multicast on a multihomed box. The fix should
be easy, you can check for IP_MULTICAST_IF in the manpage of ip(7).

Gerrit



Email Scanned for Virus & Dangerous Content by : www.CleanMailGateway.com


  

-- 

_____________________________________________________________________

Disclaimer: This e-mail message and all attachments transmitted with it

are intended solely for the use of the addressee and may contain legally

privileged and confidential information. If the reader of this message

is not the intended recipient, or an employee or agent responsible for

delivering this message to the intended recipient, you are hereby

notified that any dissemination, distribution, copying, or other use of

this message or its attachments is strictly prohibited. If you have

received this message in error, please notify the sender immediately by

replying to this message and please delete it from your computer. Any

views expressed in this message are those of the individual sender

unless otherwise stated.Company has taken enough precautions to prevent

the spread of viruses. However the company accepts no liability for any

damage caused by any virus transmitted by this email.

__________________________________________________________________________

 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to