Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ipv6



Hi all,

I started playing a bit with IPv6 and have the following problem:

I have two machines, both with global ipv6 addresses:

|mobileunit:~# ifconfig eth0
|eth0      Link encap:Ethernet  HWaddr 00:00:B4:4E:3C:FF
|          inet addr:192.168.2.251  Bcast:192.168.2.255  Mask:255.255.255.0
|          inet6 addr: fe80::200:b4ff:fe4e:3cff/10 Scope:Link
|          inet6 addr: 1234:5678:abcd:ef02::251/64 Scope:Global
|          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
|          RX packets:38342 errors:0 dropped:1 overruns:0 frame:608
|          TX packets:24342 errors:0 dropped:0 overruns:0 carrier:0
|          collisions:147 txqueuelen:100
|          RX bytes:31555836 (30.0 Mb)  TX bytes:8373207 (7.9 Mb)
|          Interrupt:11 Base address:0x300

|router:~# ifconfig eth2
|eth2      Link encap:Ethernet  HWaddr 00:80:48:DD:22:9D
|          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
|          inet6 addr: 1234:5678:abcd:ef02::1/64 Scope:Global
|          inet6 addr: fe80::280:48ff:fedd:229d/10 Scope:Link
|          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
|          RX packets:534082 errors:0 dropped:0 overruns:0 frame:0
|          TX packets:413972 errors:0 dropped:0 overruns:0 carrier:0
|          collisions:0 txqueuelen:100
|          RX bytes:478651900 (456.4 Mb)  TX bytes:469715618 (447.9 Mb)
|          Interrupt:10 Base address:0x2000
 

ping6 ::1 works
ping6 -I inetrface linklocaladdress works

ping6 globaladdress gives:
"From ::1: Destination unreachable: Address unreachable"
if it's not the localhost

|mobileunit:~# ping6 -n -c 1 router
|
|PING router(1234:5678:abcd:ef02::1) from 1234:5678:abcd:ef02::251 : 56 data bytes
|From ::1: Destination unreachable: Address unreachable
|
|--- router ping statistics ---
|1 packets transmitted, 0 packets received, +1 errors, 100% packet loss
|
|mobileunit:~# ping6 -n -c 1 mobileunit
|
|PING mobileunit(1234:5678:abcd:ef02::251) from ::1 : 56 data bytes
|64 bytes from 1234:5678:abcd:ef02::251: icmp_seq=0 hops=64 time=319 usec
|
|--- mobileunit ping statistics ---
|1 packets transmitted, 1 packets received, 0% packet loss
|round-trip min/avg/max/mdev = 0.319/0.319/0.319/0.000 ms

tcpdump shows that the other machine does not respond to neighbour discovery 

|mobileunit:/home/ranma# tcpdump -i eth0 ip6
|device eth0 entered promiscuous mode
|tcpdump: listening on eth0
|15:11:28.235018 mobileunit.ranmachan.dyndns.org > ff02::1:ff00:1: icmp6: neighbor sol: who has router.ranmachan.dyndns.org
|15:11:29.229701 mobileunit.ranmachan.dyndns.org > ff02::1:ff00:1: icmp6: neighbor sol: who has router.ranmachan.dyndns.org
|15:11:30.229708 mobileunit.ranmachan.dyndns.org > ff02::1:ff00:1: icmp6: neighbor sol: who has router.ranmachan.dyndns.org

/proc/sys/net/ipv6/conf/all/ settings are

accept_ra=0
accept_redirects=0
autoconf=0
forwarding=1
router_solicitations=0

on both hosts.

Any ideas why it's not working ?

-- 
Tobias
nya~ni ?


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links