This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Disable IPv6 at startup?


On Thu, Feb 16, 2012 at 08:06:19PM +0000, Grant Edwards wrote:
> What's the simplest/best way to "disable" IPv6 at runtime?
> 
> For IPv4 if you never set up any addresses or routes, then that's
> "disabled enough" since it won't respond visibly to any IPv4 packets
> (AFAICT).
> 
> However, for IPv6, there is a default link-local address and a
> link-local route -- so even if the user application never sets up any
> IPv6 configuration, the device will respond to IPv6 packets (neighbor
> discovery, ping, etc).

Hi Grant

I think link-local is mandatory. See section 2.8 of RFC 4291.

So i _guess_ you need to ensure IPv6 is not bound to the interface. It
should then not have this mandatory addresses. No idea how to actually
do that....

   Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]