Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] ipv6 problem with ping6
Date: Fri, 06 Jan 2012 21:03:58
Message-Id: je7ngo$hlr$1@dough.gmane.org
1 I've enabled ipv6 support in my kernel and it appears to be working on
2 the "lo" interface:
3
4 # ip -6 addr show lo
5
6 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
7 inet6 ::1/128 scope host
8 valid_lft forever preferred_lft forever
9
10 # ping6 -c3 ::1
11
12 PING ::1(::1) 56 data bytes
13 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.022 ms
14 64 bytes from ::1: icmp_seq=2 ttl=64 time=0.021 ms
15 64 bytes from ::1: icmp_seq=3 ttl=64 time=0.021 ms
16
17 --- ::1 ping statistics ---
18 3 packets transmitted, 3 received, 0% packet loss, time 1998ms
19 rtt min/avg/max/mdev = 0.021/0.021/0.022/0.003 ms
20
21 And the other interfaces all have link-local addresses:
22
23 # ip -6 addr show eth1
24 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
25 inet6 fe80::216:17ff:fe84:a7b3/64 scope link
26 valid_lft forever preferred_lft forever
27
28 But I can't ping6 any of the "real" interfaces (or any external
29 address):
30
31 # ping6 -c3 fe80::216:17ff:fe84:a7b3
32
33 connect: Invalid argument
34
35 Why can I ping "lo" at ::1 and not "eth1" at fe80::216:17ff:fe84:a7b3?
36
37 I'm guessing there might other packages I have to re-emerge with the
38 ipv6 use flag. But, I do not want to rebuild everything capable of
39 supporting ipv6, since there are only a few selected programs that
40 I'll be using with ipv6. I thought I might have to rebuild glibc, but
41 it doens't list ipv6 as one of it's use flags.
42
43 Any hints?
44
45 --
46 Grant Edwards grant.b.edwards Yow! I had a lease on an
47 at OEDIPUS COMPLEX back in
48 gmail.com '81 ...

Replies

Subject Author
Re: [gentoo-user] ipv6 problem with ping6 Michael Mol <mikemol@×××××.com>