Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help: IPv6 Problem

Reply
Thread Tools Display Modes

Help: IPv6 Problem

 
 
Amy Lee
Guest
Posts: n/a

 
      09-13-2008, 01:24 PM
Hello,

I use ADSL to surf the web and Linux kernel is 2.4.21-47.EL by using RHEL
3. I have to access some IPv6 protocol based sites. I'm sure that I have
load the ipv6 module called "ipv6". But when I use ping6 command to have a
test it always shows following error messages.

PING xxx.xxx.xxx.xxx(cernet2.net) 56 data bytes
From ::1 icmp_seq=0 Destination unreachable: Address unreachable
From ::1 icmp_seq=1 Destination unreachable: Address unreachable
From ::1 icmp_seq=2 Destination unreachable: Address unreachable
From ::1 icmp_seq=3 Destination unreachable: Address unreachable
From ::1 icmp_seq=4 Destination unreachable: Address unreachable
From ::1 icmp_seq=5 Destination unreachable: Address unreachable
From ::1 icmp_seq=6 Destination unreachable: Address unreachable
From ::1 icmp_seq=7 Destination unreachable: Address unreachable
From ::1 icmp_seq=8 Destination unreachable: Address unreachable
From ::1 icmp_seq=9 Destination unreachable: Address unreachable
From ::1 icmp_seq=10 Destination unreachable: Address unreachable
From ::1 icmp_seq=11 Destination unreachable: Address unreachable
From ::1 icmp_seq=12 Destination unreachable: Address unreachable
From ::1 icmp_seq=13 Destination unreachable: Address unreachable
From ::1 icmp_seq=14 Destination unreachable: Address unreachable

Could you tell me how to fix that?

Thank you very much.

Amy

 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      09-13-2008, 05:18 PM
On 2008-09-13, Amy Lee <(E-Mail Removed)> wrote:
>
>
> Hello,
>
> I use ADSL to surf the web and Linux kernel is 2.4.21-47.EL by using RHEL
> 3. I have to access some IPv6 protocol based sites. I'm sure that I have
> load the ipv6 module called "ipv6". But when I use ping6 command to have a
> test it always shows following error messages.
>
> PING xxx.xxx.xxx.xxx(cernet2.net) 56 data bytes
> From ::1 icmp_seq=0 Destination unreachable: Address unreachable
> Could you tell me how to fix that?
>
> Thank you very much.
>

Do you have an entry for ::1 in /etc/hosts? The installer should have
put it there by default.

$ grep ::1 /etc/hosts
ff02::1 ip6-allnodes
::1 ip6-localhost ip6-loopback

And make sure that the output of "ifconfig lo" contains the line
inet6 addr: ::1/128 Scope:Host

 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      09-13-2008, 07:39 PM
Hello,

Bill Marcum a écrit :
> On 2008-09-13, Amy Lee <(E-Mail Removed)> wrote:
>>
>>I use ADSL to surf the web and Linux kernel is 2.4.21-47.EL by using RHEL
>>3. I have to access some IPv6 protocol based sites. I'm sure that I have
>>load the ipv6 module called "ipv6". But when I use ping6 command to have a
>>test it always shows following error messages.
>>
>>PING xxx.xxx.xxx.xxx(cernet2.net) 56 data bytes
>>From ::1 icmp_seq=0 Destination unreachable: Address unreachable
>>Could you tell me how to fix that?


Usually this message means that the neighbor discovery process for the
next hop failed. The next hop is the destination when it is directly
connected or the next router on the route otherwise.

Could you provide the output of the following commands ?
$ ip -6 addr
$ ip -6 route

> Do you have an entry for ::1 in /etc/hosts?


What for ?

> And make sure that the output of "ifconfig lo" contains the line
> inet6 addr: ::1/128 Scope:Host


I guess it does, else the OP would not get an error from ::1.
 
Reply With Quote
 
Amy Lee
Guest
Posts: n/a

 
      09-13-2008, 11:59 PM
On Sat, 13 Sep 2008 21:39:42 +0200, Pascal Hambourg wrote:

> Hello,
>
> Bill Marcum a écrit :
>> On 2008-09-13, Amy Lee <(E-Mail Removed)> wrote:
>>>
>>>I use ADSL to surf the web and Linux kernel is 2.4.21-47.EL by using RHEL
>>>3. I have to access some IPv6 protocol based sites. I'm sure that I have
>>>load the ipv6 module called "ipv6". But when I use ping6 command to have a
>>>test it always shows following error messages.
>>>
>>>PING xxx.xxx.xxx.xxx(cernet2.net) 56 data bytes
>>>From ::1 icmp_seq=0 Destination unreachable: Address unreachable
>>>Could you tell me how to fix that?

>
> Usually this message means that the neighbor discovery process for the
> next hop failed. The next hop is the destination when it is directly
> connected or the next router on the route otherwise.
>
> Could you provide the output of the following commands ?
> $ ip -6 addr
> $ ip -6 route
>
>> Do you have an entry for ::1 in /etc/hosts?

>
> What for ?
>
>> And make sure that the output of "ifconfig lo" contains the line
>> inet6 addr: ::1/128 Scope:Host

>
> I guess it does, else the OP would not get an error from ::1.


It seems that I got nothing in /etc/hosts file. Shall I add
ff02::1 ip6-allnodes
::1 ip6-localhost ip6-loopback
into this file?

And the lo device does not contain the "inet6 addr: ::1/128 Scope:Host"
string.

ip -6 addr has nothing, and the output of "ip -6 route" is
172.16.200.1 dev ppp0 proto kernel scope link src 60.219.199.156
172.16.54.0/24 dev vmnet1 proto kernel scope link src 172.16.54.1
172.16.75.0/24 dev vmnet8 proto kernel scope link src 172.16.75.1
169.254.0.0/16 dev lo scope link
default via 172.16.200.1 dev ppp0

How to continue?

Thanks,

Amy
 
Reply With Quote
 
D. Stussy
Guest
Posts: n/a

 
      09-15-2008, 04:41 AM
"Amy Lee" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> Hello,
>
> I use ADSL to surf the web and Linux kernel is 2.4.21-47.EL by using RHEL
> 3. I have to access some IPv6 protocol based sites. I'm sure that I have
> load the ipv6 module called "ipv6". But when I use ping6 command to have a
> test it always shows following error messages.
>
> PING xxx.xxx.xxx.xxx(cernet2.net) 56 data bytes
> From ::1 icmp_seq=0 Destination unreachable: Address unreachable
> From ::1 icmp_seq=1 Destination unreachable: Address unreachable
> From ::1 icmp_seq=2 Destination unreachable: Address unreachable
> ...
> From ::1 icmp_seq=14 Destination unreachable: Address unreachable
>
> Could you tell me how to fix that?
> Thank you very much.


Your routing table is empty.


 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      09-18-2008, 09:35 AM
D. Stussy a écrit :
> "Amy Lee" <(E-Mail Removed)> wrote in message
>>
>>From ::1 icmp_seq=0 Destination unreachable: Address unreachable

[...]
> Your routing table is empty.


I don't think so. The error message would be "Network is unreachable"
instead.
 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      09-18-2008, 09:48 AM
Amy Lee a écrit :
>
> It seems that I got nothing in /etc/hosts file. Shall I add
> ff02::1 ip6-allnodes
> ::1 ip6-localhost ip6-loopback
> into this file?


You can, but it is not necessary and won't help solving your problem.

> And the lo device does not contain the "inet6 addr: ::1/128 Scope:Host"
> string.


This is really surprising. What is the output of the following command ?
$ ping6 ::1

> ip -6 addr has nothing


What do you mean by nothing ? No output at all ? What is the output of
the following command ?
$ cat /proc/net/if_inet6

> and the output of "ip -6 route" is
> 172.16.200.1 dev ppp0 proto kernel scope link src 60.219.199.156
> 172.16.54.0/24 dev vmnet1 proto kernel scope link src 172.16.54.1
> 172.16.75.0/24 dev vmnet8 proto kernel scope link src 172.16.75.1
> 169.254.0.0/16 dev lo scope link
> default via 172.16.200.1 dev ppp0


This is the IPv4 routing table. You should not get that with -6 (or -f
inet6). What is the output of the following commands ?
$ route -n -A inet6
$ cat /proc/net/ipv6_route

PS : Linux 2.4.21 is very old and outdated (as well as RHEL 3, I guess).
You may consider upgrading, even to a more recent 2.4 kernel if you want
to stick to 2.4 series.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPv6 problem Thomas Windows Networking 0 04-15-2008 10:15 AM
Implementing a IPv6 network with dynamically assigned static IPv6 addresses. Ashish Shukla Linux Networking 2 02-13-2007 02:59 PM
Linux host PC(ipv6) can't ping with embedded board(ipv6) with ping6 sangsu Linux Networking 2 10-11-2005 09:06 AM
Ipv6 routing problem Frank de Bot Linux Networking 0 09-25-2004 09:42 PM
ipv6 ip addr. problem dutone Linux Networking 0 06-23-2004 09:47 PM



1 2 3 4 5 6 7 8 9 10 11