Subject: Re: IPv6 rtsol & kernel configs
To: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
From: Jon Buller <jon@bullers.net>
List: tech-net
Date: 10/24/2002 05:55:42
In message <20021024102418.B26789@newton.cs.uni-bonn.de>, Ignatios Souvatzis wr
ites:
>
>> Nope, that's still it.  Thanks.  Perhaps rc.conf should default to
>> ip6mode=3Dautohost instead of host?  (After noticing that rc.d/networks
>> sets that sysctl value to 1 when ip6mode is autohost but not when
>> host.)  Would that be "really bad(tm)" for some reason?
>
>Yes. Unless you know you're on a trusted network with trusted routers,=20
>you're letting everybody set the default route of your machine. So you
>should at least decide yourself that you want to do that.

Of course.  I knew that. 8^)  (Thanks for the hit with a clue by
four.)  Then perhaps there should be a ip6defaultroute variable in
rc.conf and some way to put IPv6 information into /etc/mygate.  It
just seems broken right now, in that you can completely set up IPv4
(in the vast majority of cases at least) with out any outside files,
but you have to resort to putting "route add -f inet6 default ..."
in /etc/network.local to have a chance at getting an IPv6 setup to
work.  (Unless you can do autohost, of course.)

And while I'm spewing stupidity, perhaps rc.conf's defaultroute
variable should be ip4defaultroute for consistency with ip6defaultroute
(and any other network protocols we might want to add in the future).

Jon