ipv6 and freebsd

gahn ipfreak at yahoo.com
Tue Feb 10 10:24:08 PST 2009


Thanks for the tips.

But i still only see the fe80::..., link-local address, not the fec0:... something as I expected.

--- On Tue, 2/10/09, Steve Bertrand <steve at ibctech.ca> wrote:

> From: Steve Bertrand <steve at ibctech.ca>
> Subject: Re: ipv6 and freebsd
> To: ipfreak at yahoo.com
> Cc: "freebsd general questions" <freebsd-questions at freebsd.org>
> Date: Tuesday, February 10, 2009, 6:28 AM
> gahn wrote:
> > Ok, i meant the configuration of
> "ipv6_network_interface="fxp0"" alone
> doesn't seem to be working:
> 
> [...]
> 
> > how could I enable IPv6 only on the interface fxp0
> instead of every interface?
> 
> It is possible to completely disable IPv6 on an interface,
> but man (8)
> ndp recommends against doing this manually.
> 
> However, you can pretty well achieve the same effect by
> informing the
> interfaces to not accept RAs.
> 
> First (and to answer your next question), enable 'auto
> config'. You can
> put the next line in /etc/sysctl.conf to enable it at boot
> (without the
> word 'sysctl'):
> 
> pearl# sysctl net.inet6.ip6.accept_rtadv=1
> 
> Now, you can disable acceptance of rtadv messages on
> individual
> interfaces by:
> 
> pearl# ndp -i fxp1 -- -accept_rtadv
> 
> ...or re-enable:
> 
> pearl# ndp -i fxp1 -- accept_rtadv
> 
> So, I think that this will suit your requirements. The only
> difference
> being is that although the unused interfaces won't
> accept RAs, they will
> still have a link-local address.
> 
> Steve


      


More information about the freebsd-questions mailing list