Date: Sun, 17 Jun 2001 15:14:53 -0700 From: Alex Zepeda <jazepeda@pacbell.net> To: questions@freebsd.org Subject: how to get IPv6 router advertisement to work? Message-ID: <20010617151453.A617@zippy.mybox.zip>
next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
status: active
sproing:~#ifconfig sn0
sn0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> 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]: <ra_output> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010617151453.A617>
