Date: Fri, 19 Nov 2010 12:24:32 +0800 From: Siquijor Philips <siquijorphilips@gmail.com> To: sthaug@nethelp.no Cc: freebsd-net@freebsd.org Subject: Re: How to generate IPv6 RA without any prefixes? Message-ID: <AANLkTik79rpdUYcNqXU9gaG4w67FaeoxtCqozV1HicDT@mail.gmail.com> In-Reply-To: <AANLkTimu5SiyQye1iPaGCuMOjb0im%2BTHUmy=ET_mCcw-@mail.gmail.com> References: <AANLkTimu5SiyQye1iPaGCuMOjb0im%2BTHUmy=ET_mCcw-@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 19, 2010 at 11:19 AM, Siquijor Philips <siquijorphilips@gmail.com> wrote: >> On Wed, 10 Nov 2010, sthaug@nethelp.no wrote: >> >> Hi, >> >> >> In IPv6 it should be possible to generate a Router Advertisement which >> contains no prefix options (the idea being that I want the host to >> populate its default router list but nothing else). However, I cannot >> seem to get rtadvd to do this. >> >> If I start rtadvd with no /etc/rtadvd.conf file, it sends RAs with a >> prefix option corresponding to the IPv6 address of the interface. In >> the /etc/rtadvd.conf I can explicitly specify prefixes ("addr"), but >> I can't find any way to specify that no prefix options should be sent. >> >> Any suggestions? > > You mean to say that you want your router to act as the default IPv6 > gateway only advertising default route via RA and the IPv6 prefixes > are managed by other means such as DHCPv6 server? Because by its the > only way I can think of with your case now. You can specify > 'pinfoflags' with 'l' in the /etc/rtadvd.conf to suppress the prefix > information option being advertised. > My suggestion above is not complete, you should have something in your /etc/rtadvd.conf vlan0:\ :raflags="mo":pinfoflags="l":
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik79rpdUYcNqXU9gaG4w67FaeoxtCqozV1HicDT>