Help - Search - Members - Calendar
Full Version: FreeBSD with IPv6 and ND (Neighbour Discovery)
The Planet Forums > Operating Systems > BSD
sealie
Hello,

First of all I want to say that this has nothing to do with my The Planet server at all, and is merely a "shout in the dark" to finally get this sorted.

I got two servers at work, where I initially installed the basic FreeBSD 6.1-PRERELEASE CD with the GENERIC kernel. Once i enabled the following CTL, it all happened "automagically":

sysctl -w net.inet6.ip6.accept_rtadv=1

The main interface discovered the ND beacon immediately and I got designated an IPv6 IP automatically. However, when I customized my kernel and setup, then rebooted - the ND part seized to work. I've tried to tcpdump and grep for inet6 traffic, and the machine doesnt even see the ND advertisements from the ND router. I got:

options INET6

defined in my kernel config, and I also have net.inet6.ip6.accept_rtadv=1 in my sysctl.conf (its also in ..defaults/sysctl.conf) Is there something I am missing? The only thing I can think of is something I missed in the kernel config. Because that is basically what have changed (the changes from PRERELEASE to STABLE were minimal) When using IPv6 with ND (Neighbourhood Discovery) there shouldn't be any need for additional pseudo devices or such?
Oh, and I've also allowed all ip6 traffic to all in ipfw. (I also tried to disable it completely)

I also tried to set the ipv6 stuff in rc.conf and rebooted without any luck.

Any ideas?

Any help is appreciated.

Vidar
X-Istence
diff DEFAULT NEWKERNEL

See what the differences are, what you added and what you removed, maybe something will show up. Your best bet is to go back to a DEFAULT kernel, and work from there.
sealie
I tried to diff the old one against my new one, and all I could see were the ordinary filesystem and bus/nic/hdd supports that I don't really need. The only thing I could think of were the IPv4 - IPv6 pseudo interfaces (faith, gif, etc) but those shouldn't matter as this is NATIVE IPv6, right?

Best regards,

Vidar S
sealie
I tried to disable the ipfw6 option in the kernel config, and things seemed to be working fine for some weird reason. Even though I had allow any to any on both ip/ip6 in my ruleset. Yay!
gbock
http://www.freebsd.org/releases/6.0R/errata.html

Try pf instead.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.