Can't ping6 local ifnterface--was: Re: How to propagate default route from ipsec?

Axel Rau <[email protected]> Wed, 22 Dec 2010 13:40:27 +0100
Newsgroups gmane.os.openbsd.ipv6
Message-ID <[email protected]>
Am 20.12.2010 um 21:54 schrieb Stuart Henderson:

>> There is another basic issue:
>> On my router (at the internal vpn side) I can't ping6 my own ip6
>> address (neither link local nor global).
>> I guess this will be resolved, when I resolve the default route
>> issue?
>
> When you ping or connect from the local machine, with ipsec flows,
> you often need to make sure the correct source address is used.
> So it might help to do ping6 -S <sourceaddr> <dest>.
Seems not the problem (see below).
No progress here:
-------
[gw2:~] root# ifconfig em0
em0:
flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
mtu 1500
         lladdr 00:02:b3:a9:ef:2b
         priority: 0
         groups: green
         media: Ethernet autoselect (1000baseT full-
duplex,rxpause,txpause)
         status: active
         inet 192.168.220.2 netmask 0xffffff00 broadcast 192.168.220.255
         inet6 fe80::202:b3ff:fea9:ef2b%em0 prefixlen 64 scopeid 0x1
         inet6 2001:1234:2:10::b prefixlen 64
[gw2:~] root# ifconfig carp0
carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         lladdr 00:00:5e:00:01:01
         priority: 0
         carp: MASTER carpdev em0 vhid 1 advbase 1 advskew 0
         groups: carp
         status: master
         inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0xb
         inet 192.168.220.9 netmask 0xffffff00 broadcast 192.168.220.255
         inet6 2001:1234:2:10::c prefixlen 64
[gw2:~] root# ping6 fe80::200:5eff:fe00:101
-------
[gw2:~] root# ping6 2001:1234:2:10::b
PING6(56=40+8+8 bytes) 2001:1234:2:10::b --> 2001:1234:2:10::b
^C
--- 2001:1234:2:10::b ping6 statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss

[gw2:~] root# ping6 2001:1234:2:10::c
PING6(56=40+8+8 bytes) 2001:1234:2:10::c --> 2001:1234:2:10::c
^C
--- 2001:1234:2:10::c ping6 statistics ---
6 packets transmitted, 0 packets received, 100.0% packet loss

[gw2:~] root# ping6 fe80::200:5eff:fe00:101
PING6(56=40+8+8 bytes) fe80::1%lo0 --> fe80::200:5eff:fe00:101
ping6: sendmsg: Network is unreachable
ping6: wrote fe80::200:5eff:fe00:101 16 chars, ret=-1
-------
sysctl setting have been posted here:
	http://article.gmane.org/gmane.os.openbsd.ipv6/251

What am I doing wrong?
Axel
---
[email protected]  PGP-Key:29E99DD6  +49 151 2300 9283  computing @
chaos claudius