[CentOS] About IPv6 Link-Local Address(CentOS5)
米山陽介
komeyama at designet.co.jp
Mon Nov 16 07:58:34 UTC 2015
> First off, I assume you can ping your link-local address:
>
> ping6 -I eth1 fe80::a00:27ff:fe03:5b8a
>
> Second, you never mentioned how eth1 was assigned its IPv6 address.
> Given that you've tried to embed an IPv4 address within an IPv6 address
> (which is normally done with a 0:0:0:0:0: prefix), I'd guess you did it
> manually. If so, with what tools?
Thanks for the response.
I'm sorry when it was misguided answer.
The setting of the IP address reaches by manual operation.
# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO="none"
ONBOOT=yes
HWADDR=08:00:27:83:74:54
IPADDR=192.168.11.8
NETMASK=255.255.255.0
IPV6INIT=yes
IPV6ADDR=2000:8000:12:6:192:168:11:8/64
IPV6_DEFAULTGW=2000:7000:12:6::1
■ link up
# ethtool eth1
Settings for eth1:
~
Link detected: yes
# ifdown eth1
# ifup eth1
# 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: fe80::a00:27ff:fe83:7454/64 Scope:Link ←○
inet6 addr: 2000:8000:12:6:192:168:11:8/64 Scope:Global
■ link down
# ethtool eth1
Settings for eth1:
~
Link detected: no
# ifdown eth1
# ifup eth1
# 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
Missing fe80::a00:27ff:fe83:7454/64.
On 2015/11/14 1:19, Paul Heinlein wrote:
> On Fri, 13 Nov 2015, 米山陽介 wrote:
>
>>> Try
>>>
>>> ping6 -I eth1 2000:8000:12:6:192:168:11:8
>>
>> Thanks for the response.
>>
>> I tried.
>> However, It did not resolve....
>>
>> # ping6 -I eth1 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) from
>> fe80::a00:27ff:fe03:5b8a eth1: 56 data bytes
>
> First off, I assume you can ping your link-local address:
>
> ping6 -I eth1 fe80::a00:27ff:fe03:5b8a
>
> Second, you never mentioned how eth1 was assigned its IPv6 address.
> Given that you've tried to embed an IPv4 address within an IPv6 address
> (which is normally done with a 0:0:0:0:0: prefix), I'd guess you did it
> manually. If so, with what tools?
>
>>
>> On 2015/11/13 2:22, Paul Heinlein wrote:
>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>> https://lists.centos.org/mailman/listinfo/centos
>>>
>>
>>
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
--
■□■□■□■□■□■□■□■□■□■□■□■
株式会社デージーネット
フロンティア開発部
米山 陽介
TEL: (052)709-7121 FAX: (052)709-7122
e-mail: komeyama at designet.co.jp
URL: http://www.designet.co.jp
■□■□■□■□■□■□■□■□■□■□■□■
More information about the CentOS
mailing list