Given a LAN with Windows and Linux systems running IPv6, it may be necessary to Ping a Link Local interface. Consider the output of a Linux ifconfig command:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJm4pDmAsX7IaNvSORW30JZ1UlltnHyla7WXkY4XtF0eRYeXhY897MuU5GYpWD3LN1fX2XphqocXuyBVAmBynyuuvoXM4vao-bpoC-H0La_6Z0KtGd9nAEvJDPFOTQoM7XwZpm/s320/linuxIfconfigIPv6.jpg)
ping6 -I eth0 FE80::250:56ff:fea7:54a7Notice the -I eth0 option: this tells the system which interface to use.
On the Windows side, things are slightly different:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP6czjLy2k0h6x2hEiX6teKv7ZSHrBUtDMMuu1WLshwsvikK2jiBEpAffNDIcQMQ1iaSnHI-PlTCH36nAOurisMJFfvQ0Yqd6UuixC5H3hvMSMVhWR358HrUMV4o0tJDEBZdI5/s320/windowsIpconfigIPv6.jpg)
ping fe80::250:56ff:fea7:d33%6Notice the %6 on the end. This allows Windows to know which interface (or tunnel) to use.
No comments:
Post a Comment