Ping ipv6 address Linux

 

ping6 command is use ping an ipv6 address.

Example:

$ ping6 "your-ipv6-address"

In some older version Linux kernels above command wont work it. I will throw “connect: Invalid argument“.

To mitigate above problem use following command

$ ping6  -I eth0 "your-ipv6-address"

where eth0 localhost’s or your machine’s interface and it should contain ipv6 address, else you can’t ping ipv6 address.

-Sany

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s