From owner-freebsd-questions Sun Jun 17 15:17:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pltn13.pbi.net (mta8.pltn13.pbi.net [64.164.98.22]) by hub.freebsd.org (Postfix) with ESMTP id 31DF837B403 for ; Sun, 17 Jun 2001 15:17:21 -0700 (PDT) (envelope-from jazepeda@pacbell.net) Received: from zippy.mybox.zip ([207.214.149.226]) by mta8.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GF300IJKHSU4A@mta8.pltn13.pbi.net> for questions@freebsd.org; Sun, 17 Jun 2001 15:14:56 -0700 (PDT) Received: by zippy.mybox.zip (Postfix, from userid 1000) id E696B1856; Sun, 17 Jun 2001 15:14:53 -0700 (PDT) Date: Sun, 17 Jun 2001 15:14:53 -0700 From: Alex Zepeda Subject: how to get IPv6 router advertisement to work? To: questions@freebsd.org Message-id: <20010617151453.A617@zippy.mybox.zip> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Out of curiosity I decided to play around with the IPv6 stuff in FreeBSD and NetBSD. I've got two computers on a 5 port switch: * zippy is an ia32 machine running FreeBSD-current (recent buildworld and kernel), with a dialup modem (tun0/cuaa0) to the outside world and an Intel NIC (fxp0) connected to sproing. Its internal IPv4 addy is 10.0.0.1, and it does NAT for sproing. * sproing is a Quadra 650 running NetBSD-current (recent kernel, 1.5 world). It's using the internal ethernet hardware (sn0). It's also nfs mounting everything (V2/UDP). It's got its default route set to 10.0.0.1 for IPv4 traffic. So I stuck the appropiate autoconfig options in NetBSD's rc.conf for the IPv6 stuff: defaultroute="10.0.0.1" ip6mode="autohost" rtsol="YES" rtsol_flags="sn0" And then put this in zippy's rc.conf (the IPv6 prefix is bogus, but I intend to use freenet6 eventually): ipv6_enable="YES" ipv6_prefix_fxp0="3ffe:8000:ffff:1005" ipv6_gateway_enable="YES" ipv6_router_enable="YES" ipv6_network_interfaces="fxp0" rtadvd_interfaces="fxp0" fxp0: flags=8843 mtu 1500 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 inet6 fe80::290:27ff:fed1:836a%fxp0 prefixlen 64 scopeid 0x1 inet6 3ffe:8000:ffff:1005:290:27ff:fed1:836a prefixlen 64 inet6 3ffe:8000:ffff:1005:: prefixlen 64 anycast ether 00:90:27:d1:83:6a media: Ethernet autoselect (100baseTX ) status: active sproing:~#ifconfig sn0 sn0: flags=8863 mtu 1500 inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255 inet6 fe80::a00:7ff:fe36:54%sn0 prefixlen 64 scopeid 0x1 The big problem I'm seeing however seems to be from rtadvd on zippy: Jun 17 15:06:57 zippy rtadvd[975]: sendmsg on fxp0: Permission denied Enabling the debug output, everything else seems to be normal. Any suggestions? - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message