hi

i allready read the threads here in this list because my problem is similar but
not the the same.

the environment.

dsl provider in germany "NetCologne" they offer an full working /64 ipv6 net through slaac config.


i use an openbsd 5.8 beta 8 build a couple of day before )

physical interface are intel em

net.inet6.ip6.forwarding = 1
net.inet6.icmp6.nd6_debug=1



# cat /etc/hostname.em2
inet 192.168.0.2 255.255.255.252 NONE
up

# cat /etc/hostname.em0
inet 192.168.131.251 255.255.255.0 NONE
inet6 autoconf

!echo "setup ipv4 on NetCologene pppoe"
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev em2 authproto pap authname 'nc-yyyyy...@netcologne.de' authkey 'xxxx' up
dest 0.0.0.1
!echo "setup ipv6 on NetCologne pppoe"
inet6 autoconf
!/sbin/route add -inet default -ifp pppoe0 0.0.0.1
!/sbin/route add -inet6 default -ifp pppoe0 ::0.0.0.1


# ifconfig pppoe0
pppoe0: flags=208851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6> mtu 1492
        priority: 0
        dev: em2 state: session
        sid: 0x508f PADI retries: 16 PADR retries: 0 time: 01:28:15
sppp: phase network authproto pap authname "nc-glaesz...@netcologne.de"
        groups: pppoe egress
        status: active
        inet6 fe80::214:b7ff:fe00:6163%pppoe0 ->  prefixlen 64 scopeid 0xb
        inet 84.44.157.221 --> 195.14.226.82 netmask 0xffffffff
inet6 2001:4dd0:af10:d604:214:b7ff:fe00:6163 -> prefixlen 64 autoconf pltime 604786 vltime 2591986 inet6 2001:4dd0:af10:d604:747a:f5e2:c201:b278 -> prefixlen 64 autoconf autoconfprivacy pltime 80714 vltime 599505

# route -n show
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu Prio Iface
default            195.14.226.82      UGS        1     2046 -     8 pppoe0
84.44.157.221      84.44.157.221      UHl        0        0 -     1 lo0
127/8              127.0.0.1          UGRS       0        0 32768     8 lo0
127.0.0.1          127.0.0.1          UHl        1        0 32768     1 lo0
192.168.0.0/30     192.168.0.2        UC         0        0 -     8 em2
192.168.0.2        00:14:b7:00:61:66  UHLl       0        0 -     1 lo0
192.168.0.3        192.168.0.2        UHb        0        0 -     1 em2
192.168.131/24     192.168.131.251    UC         2        0 -     8 em0
192.168.131.101    e8:03:9a:b4:f6:48  UHLc       2      767 -     8 em0
192.168.131.103    00:1d:7d:02:5a:e4  UHLc       0        0 -     8 em0
192.168.131.251    00:14:b7:00:61:63  HLl        0        0 -     1 lo0
192.168.131.255    192.168.131.251    UHb        0        0 -     1 em0
195.14.226.82      84.44.157.221      UH         0        0 -     8 pppoe0
224/4              127.0.0.1          URS        0        0 32768     8 lo0

Internet6:
Destination Gateway Flags Refs Use Mtu Prio Iface ::/104 ::1 UGRS 0 0 32768 8 lo0 ::/96 ::1 UGRS 0 0 32768 8 lo0 default ::1 UGS 0 12 - 8 pppoe0 default fe80::90:1a00:41a4:ecb0%pppoe0 UG 0 0 - 56 pppoe0 ::1 ::1 UHl 15 0 32768 1 lo0 ::127.0.0.0/104 ::1 UGRS 0 0 32768 8 lo0 ::224.0.0.0/100 ::1 UGRS 0 0 32768 8 lo0 ::255.0.0.0/104 ::1 UGRS 0 0 32768 8 lo0 ::ffff:0.0.0.0/96 ::1 UGRS 0 0 32768 8 lo0 2001:4dd0:af10:d604:214:b7ff:fe00:6163 2001:4dd0:af10:d604:214:b7ff:fe00:6163 UHl 0 0 - 1 lo0 2001:4dd0:af10:d604:747a:f5e2:c201:b278 2001:4dd0:af10:d604:747a:f5e2:c201:b278 UHl 0 0 - 1 lo0 2002::/24 ::1 UGRS 0 0 32768 8 lo0 2002:7f00::/24 ::1 UGRS 0 0 32768 8 lo0 2002:e000::/20 ::1 UGRS 0 0 32768 8 lo0 2002:ff00::/24 ::1 UGRS 0 0 32768 8 lo0 fe80::/10 ::1 UGRS 0 0 32768 8 lo0 fe80::%em0/64 fe80::214:b7ff:fe00:6163%em0 UC 1 0 - 4 em0 fe80::214:b7ff:fe00:6163%em0 00:14:b7:00:61:63 HLl 0 0 - 1 lo0 fe80::ea03:9aff:feb4:f648%em0 e8:03:9a:b4:f6:48 UHLc 0 40 - 4 em0 fe80::%lo0/64 fe80::1%lo0 U 0 0 32768 4 lo0 fe80::1%lo0 fe80::1%lo0 UHl 0 0 32768 1 lo0 fe80::%pppoe0/64 fe80::214:b7ff:fe00:6163%pppoe0 U 0 0 - 4 pppoe0 fe80::90:1a00:41a4:ecb0%pppoe0 pppoe0 UHL 1 0 - 4 pppoe0 fe80::214:b7ff:fe00:6163%pppoe0 fe80::214:b7ff:fe00:6163%pppoe0 Hl 0 0 - 1 lo0 fec0::/10 ::1 UGRS 0 0 32768 8 lo0 ff01::/16 ::1 UGRS 6 0 32768 8 lo0 ff01::%em0/32 fe80::214:b7ff:fe00:6163%em0 UC 0 0 - 4 em0 ff01::%lo0/32 ::1 UC 0 0 32768 4 lo0 ff01::%pppoe0/32 fe80::214:b7ff:fe00:6163%pppoe0 UC 0 0 - 4 pppoe0 ff02::/16 ::1 UGRS 6 0 32768 8 lo0 ff02::%em0/32 fe80::214:b7ff:fe00:6163%em0 UC 0 0 - 4 em0 ff02::%lo0/32 ::1 UC 0 0 32768 4 lo0 ff02::%pppoe0/32 fe80::214:b7ff:fe00:6163%pppoe0 UC 0 0 - 4 pppoe0


until this point all works as expected .

i get the message a lot in /var/log/messages a lot of time.

nd6_lookup: failed to lookup fe80:b::90:1a00:41a4:ecb0 (if = pppoe0)

if i do an tcpdump -nevvvi pppoe0 i see the RA from netcologne include the IPv6 Net for the lan.

so if i start the rtadvd -d em0 without counfg i see that he receive the RA from ppoe but he dont deploy
the offered /64 network,

if i add the net by hand to the rtadvd ( addr= ) that it works a while ( until IP change from NetCologne )

what im doing wrong ?

Holger

p.s. i use 5.8-beta due hardware support for my embedded device ( thanks sfire )

Reply via email to