On Sun, Oct 08, 2006 at 05:41:33PM +0200, Thomas Bader wrote: > Hi all > > With the help of my ISP I'm trying to get native IPv6 over ADSL (PPPoE). > This isn't a regular offer and I'm the first customer who tries it out. > > My ISP has set me the following two RADIUS attributes: > > Framed-IPv6-Prefix = 2001:x:3000::1 > Framed-IPv6-Route = 2001:x:4000::/48 2001:x:3000::1 1 > > To debug everything I used userspace ppp with the following ppp.conf: > > -->--<-- > default: > set log Phase Chat IPCP IPV6CP CCP tun command > set redial 15 0 > set reconnect 15 0 > > pppoe: > set device "!/usr/sbin/pppoe -i sis1" > disable acfcomp protocomp > deny acfcomp > set mtu max 1454 > set speed sync > enable lqr > set lqrperiod 5 > set cd 5 > set dial > set login > set timeout 0 > set authname username > set authkey password > add! default HISADDR > add! default HISADDR6 > disable dns > enable mssfixup > enable ipv6 > enable ipv6cp > -->--<-- > > I'm unable to receive any IPv6 traffic over the wire: > > -->--<-- > PPP ON clockwork> show ipv6cp > IPV6CP [Opened] > His side: fe80::ff1c:1402 > My side: fe80::2fe9:29b9 > Queued packets: 0 > > Defaults: > FSM retry = 3s, max 5 Config REQs, 5 Term REQs > > Connect time: 0:04:04 > 0 octets in, 4472 octets out > 0 packets in, 77 packets out > overall 18 bytes/sec > currently 0 bytes/sec in, 56 bytes/sec out (over the last 5 secs) > peak 280 bytes/sec on Sun Oct 8 16:46:09 2006 > PPP ON clockwork> > -->--<-- > > Some packets out, but no packets in. If I run tcpdump on my sis1 > interface I see that the icmp echo-requests are actually sent > encapsulated in PPPoE. But I never get an answer. > > I tried to reach fe80::ff1c:1402 and some other IPv6-enabled sites (like > mirror.switch.ch). Wasn't sucessful. > > I'm not really sure if I'm doing a mistake in my configuration. Has > anyone of you any comments about my configuration or even a sample > ppp.conf for using IPv6? I haven't found any IPv6-capable sample > configuration with Google. >
hi, i don't see anything bad with your config, currently i'm using something quite similar: /etc/hostname.xl0: inet 10.0.0.4 255.255.255.0 NONE inet6 alias 2001:x:4da3::1 /etc/hostname.tun0: !/usr/sbin/ppp -ddial -unit0 myisp /etc/ppp/ppp.conf: default: set log tun phase myisp: set log phase set redial 15 0 set device "!/usr/sbin/pppoe -i ep1" set speed sync set authname mylogin set authkey mypasswd set mtu max 1492 set mru max 1492 disable mssfixup acfcomp protocomp deny acfcomp protocomp enable lqr /etc/ppp/ppp.linkup: myisp: add! MYADDR 127.0.0.1 add! default HISADDR add! MYADDR6 ::1 add! default HISADDR6 > Besides that there are two things which I worry about: > > - Both sides of the connection have link-local addresses assigned > (fe80::). Is this the expected behaviour? afaik yes; that's what ifconfig(8) gives for my tun(4) device: $ ifconfig tun0 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492 groups: tun egress inet6 fe80::2e0:29ff:fe00:2e0d%tun0 -> prefixlen 64 scopeid 0x8 inet x.x.x.x --> y.y.y.y netmask 0xffffffff > - According to the manual page the Framed-IPv6-Prefix can be used > in commands through the IPV6PREFIX variable. Does that mean that I > manually need to set the non link-local address to the device? How? > I tried out with > ifconfig tun0 inet6 2001:x:3000::1 > This resulted in the icmp echo-requests being sent with src address > 2001:x:3000::1 - but there was still no answer. > hmm.. this may overwrite your local-link address. Try to make an alias with your statc IPv6 address: ifconfig tun0 inet6 alias 2001:x:3000:1 hth, -- Alexandre