[ECOS] Disable IPv6 at startup?
Andrew Lunn
andrew@lunn.ch
Thu Feb 16 21:15:00 GMT 2012
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
More information about the Ecos-discuss
mailing list