[CentOS] About IPv6 Link-Local Address(CentOS5)

Thu Nov 12 17:22:49 UTC 2015
Paul Heinlein <heinlein at madboa.com>

On Thu, 12 Nov 2015, 米山陽介 wrote:

> Hello
>
> Because I did not send , and then retransmitted.
>
> I am using the CentOS5.7.
> In a state where the link down, I did a ping to the IPv4 and IPv6.
> IPv4 succeeds in ping. but, IPv6 is ping fails.
> Once confirmed by ifconfig, it did not have a Link-Local Address.
> At link down, Is the Link-Local Address not set?
> Leave the link down, Is there a way to avoid this?
>
> # ethtool eth1
> Settings for eth1:
>>        Link detected: no
>
> # ifconfig eth1
> eth1      Link encap:Ethernet  HWaddr 08:00:27:83:74:54
>          inet addr:192.168.11.8  Bcast:192.168.11.255  Mask:255.255.255.0
>          inet6 addr: 2000:8000:12:6:192:168:11:8/64 Scope:Global
>          UP BROADCAST MULTICAST  MTU:1500  Metric:1
>          RX packets:786 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:289 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:81093 (79.1 KiB)  TX bytes:46507 (45.4 KiB)
>
> # ping 192.168.11.8
> PING 192.168.11.8 (192.168.11.8) 56(84) bytes of data.
> 64 bytes from 192.168.11.8: icmp_seq=1 ttl=64 time=0.033 ms
> 64 bytes from 192.168.11.8: icmp_seq=2 ttl=64 time=0.019 ms
>>
> # ping6 2000:8000:12:6:192:168:11:8
> PING 2000:8000:12:6:192:168:11:8(2000:8000:12:6:192:168:11:8) 56 data bytes

Try

   ping6 -I eth1 2000:8000:12:6:192:168:11:8

-- 
Paul Heinlein
heinlein at madboa.com
45°38' N, 122°6' W