LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2014, 11:05 PM   #1
anjana c
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
URGENT: iperf does not work to run TCP traffic using IPV6 IP. Same work with IPV4 IP.


Hi,
I am using iperf version 2.0.5 and I am not able to run the traffic it displays error invalid argument. Please find the below log. ping6 <ipv6 ip> doesnot ping instead I need to give ping6 -I <interface> <ipv6 ip> then it ping. Please find the below log and provide me the immediate solution for the same

Server log:
-----------
[root@localhost ~]# ping6 fe80::225:b5ff:fe00:3f
connect: Invalid argument
[root@localhost ~]# ping6 -I eth0 fe80::225:b5ff:fe00:3f
PING fe80::225:b5ff:fe00:3f(fe80::225:b5ff:fe00:3f) from fe80::225:b5ff:fe00:3f eth0: 56 data bytes
64 bytes from fe80::225:b5ff:fe00:3f: icmp_seq=1 ttl=64 time=0.034 ms
64 bytes from fe80::225:b5ff:fe00:3f: icmp_seq=2 ttl=64 time=0.023 ms
64 bytes from fe80::225:b5ff:fe00:3f: icmp_seq=3 ttl=64 time=0.024 ms
^C
--- fe80::225:b5ff:fe00:3f ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2406ms
rtt min/avg/max/mdev = 0.023/0.027/0.034/0.005 ms
[root@localhost ~]# iperf -s -B fe80::225:b5ff:fe00:3f -V
bind failed: Invalid argument
------------------------------------------------------------
Server listening on TCP port 5001
Binding to local address fe80::225:b5ff:fe00:3f
TCP window size: 85.3 KByte (default)
------------------------------------------------------------


Client log:
------------
[root@localhost ~]# ping6 fe80::225:b5ff:fe00:3f
connect: Invalid argument
[root@localhost ~]# ping6 -I eth0 fe80::225:b5ff:fe00:3f
PING fe80::225:b5ff:fe00:3f(fe80::225:b5ff:fe00:3f) from fe80::225:b5ff:fe00:f eth0: 56 data bytes
64 bytes from fe80::225:b5ff:fe00:3f: icmp_seq=1 ttl=64 time=1.07 ms
64 bytes from fe80::225:b5ff:fe00:3f: icmp_seq=2 ttl=64 time=0.197 ms
^C
--- fe80::225:b5ff:fe00:3f ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1695ms
rtt min/avg/max/mdev = 0.197/0.635/1.073/0.438 ms
[root@localhost ~]# iperf -c fe80::225:b5ff:fe00:3f -i 1 -V
connect failed: Invalid argument
[root@localhost ~]#
 
Old 03-28-2014, 01:48 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
Quote:
Originally Posted by anjana c View Post
[root@localhost ~]# ping6 fe80::225:b5ff:fe00:3f
connect: Invalid argument
This is to be expected, as fe80::/16 is the "link-local" address range, meaning these addresses can exist behind any interface. As such, the address "fe80::225:b5ff:fe00:3f" is actually ambiguous; it may refer to any number of hosts on different local networks.

Pinging (or otherwise attempting to reach) a link-local address is only possible if one also specifies the interface. Otherwise, the IPv6 stack won't know where to look for the address.

Last edited by Ser Olmy; 03-28-2014 at 01:50 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
In tspc ipv6 tunnelling, does tunnel broker required for ipv4 to ipv4 communication? nyk.mat Linux - Newbie 2 08-13-2013 09:48 PM
Trouble setting IPv6 traffic class (QoS) bits with iperf Washington Ratso Linux - Networking 0 07-25-2011 05:42 PM
LXer: Linux-ready plug-in enables IPv6 traffic over IPv4 nets LXer Syndicated Linux News 0 03-10-2010 02:10 PM
Not able to run traffic for IPV6 using Iperf satya_seth Linux - Software 1 08-27-2009 10:31 AM
Help regarding iperf ipv6 ssenthilkumar Linux - Networking 0 06-18-2009 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration