Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2009 10:24:07 -0800 (PST)
From:      gahn <ipfreak@yahoo.com>
To:        Steve Bertrand <steve@ibctech.ca>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: ipv6 and freebsd
Message-ID:  <422087.73333.qm@web52112.mail.re2.yahoo.com>
In-Reply-To: <49918F11.2070002@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

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@ibctech.ca> wrote:

> From: Steve Bertrand <steve@ibctech.ca>
> Subject: Re: ipv6 and freebsd
> To: ipfreak@yahoo.com
> Cc: "freebsd general questions" <freebsd-questions@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


      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?422087.73333.qm>