This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Disable IPv6 at startup?
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Grant Edwards <grant dot b dot edwards at gmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 16 Feb 2012 22:15:00 +0100
- Subject: Re: [ECOS] Disable IPv6 at startup?
- References: <jhjnjr$eo8$1@dough.gmane.org>
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