On Fri, May 02, 2014 at 03:51:50PM +0200, Peter J. Philipp wrote: > Hi, > > I supposedly have an IPv6 capable connection but it doesn't negotiate > IPv6 for some reason. I'm inquiring if I need to turn on any sysctl's > or something... > > #net.inet6.ip6.accept_rtadv=1 # 1=Permit IPv6 autoconf (forwarding > must be 0) > > This one seems logical but my gateway is a soekris and has forwarding > enabled in order to NAT, so I'm really confused by that comment.
Forwarding is not the same as NAT. > Right now as it is this is what my pppoe0 looks like: > > ----- > # ifconfig pppoe0 > pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492 > priority: 0 > dev: em0 state: session > sid: 0x2b3 PADI retries: 1 PADR retries: 0 time: 11:43:44 > sppp: phase network authproto pap > groups: pppoe egress > status: active > inet6 fe80::200:24ff:fed0:1ea4%pppoe0 -> prefixlen 64 scopeid 0x8 There's a link-local address, so you have IPv6. > inet 188.174.205.151 --> 82.135.16.28 netmask 0xffffffff > ----- > > The soekris I have running OpenBSD 5.5-stable, does not seem to > negotiate IPv6, unlike the AVM FritzBox! router that it replaced. The > AVM router was able to negotiate IPv6 for some reason. > > Since I cycle my connection in the morning times per crontab I haven't > tried to get a debug yet, do you think I should do that, would it help any? > > My provider is M-Net in Germany. > > Regards, > > -peter OpenBSD doesn't support IPv6 autoconf on routers (i.e if forwarding is enabled). Some ISPs have started using autoconf to assign a global prefix for use on the WAN link. This violates early IPv6 RFCs which said that a router cannot do autoconf. There is a newer RFC which clears this up but OpenBSD doesn't support it yet: http://tools.ietf.org/html/rfc6204 However, using a global prefix on your WAN link is usually not a hard requirement since link-local addresses are sufficient for this. Try setting a default route that points to pppoe0: !/sbin/route add -inet6 default -ifp pppoe0 fe80:: Your router should now be able to reach the IPv6 internet. Once this works you need to get your LAN connected, too. Did you get a static IPv6 prefix from your ISP for your LAN?