public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] disabling IPv6 autoconfig for all interfaces
@ 2016-11-19 19:09 J. Roeleveld
  2016-11-19 20:13 ` Alarig Le Lay
  0 siblings, 1 reply; 4+ messages in thread
From: J. Roeleveld @ 2016-11-19 19:09 UTC (permalink / raw
  To: gentoo-user

Hi all,

For my VM server, I have several network interfaces and bridges configured.
I don't want every single interface and bridge to have an IPv6 address.

Only the one required for accessing the host will be sufficient.

What is the correct way to disable any form of autoconfiguration? Setting the 
config to "null":

eg:  config_eth0="null" 

only works for IPv4.

A related question: How do I prevent IPv6 addresses other than the ones I DO 
configure?

Many thanks,

Joost




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] disabling IPv6 autoconfig for all interfaces
  2016-11-19 19:09 [gentoo-user] disabling IPv6 autoconfig for all interfaces J. Roeleveld
@ 2016-11-19 20:13 ` Alarig Le Lay
  2016-11-19 21:33   ` J. Roeleveld
  0 siblings, 1 reply; 4+ messages in thread
From: Alarig Le Lay @ 2016-11-19 20:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

On Sat Nov 19 20:09:24 2016, J. Roeleveld wrote:
> Hi all,
> 
> A related question: How do I prevent IPv6 addresses other than the ones I DO 
> configure?
> 
> Many thanks,
> 
> Joost

Hi, 

You can do this with sysctl by setting the option
net.ipv6.conf.$if.accept_ra to 0.

-- 
alarig

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] disabling IPv6 autoconfig for all interfaces
  2016-11-19 20:13 ` Alarig Le Lay
@ 2016-11-19 21:33   ` J. Roeleveld
  2016-11-19 21:39     ` Alarig Le Lay
  0 siblings, 1 reply; 4+ messages in thread
From: J. Roeleveld @ 2016-11-19 21:33 UTC (permalink / raw
  To: gentoo-user

On Saturday, November 19, 2016 09:13:14 PM Alarig Le Lay wrote:
> On Sat Nov 19 20:09:24 2016, J. Roeleveld wrote:
> > Hi all,
> > 
> > A related question: How do I prevent IPv6 addresses other than the ones I
> > DO configure?
> > 
> > Many thanks,
> > 
> > Joost
> 
> Hi,
> 
> You can do this with sysctl by setting the option
> net.ipv6.conf.$if.accept_ra to 0.

doesn't work, I still get these:
inet6 fe80::2e0:81ff:fecc:6ec6  prefixlen 64  scopeid 0x20<link>

The problem with these (the mac-based ones) is that with multiple VLANs, they 
all insist on using the same IP as they are all on the same physical device.

--
Joost


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] disabling IPv6 autoconfig for all interfaces
  2016-11-19 21:33   ` J. Roeleveld
@ 2016-11-19 21:39     ` Alarig Le Lay
  0 siblings, 0 replies; 4+ messages in thread
From: Alarig Le Lay @ 2016-11-19 21:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 473 bytes --]

On Sat Nov 19 22:33:33 2016, J. Roeleveld wrote:
> doesn't work, I still get these:
> inet6 fe80::2e0:81ff:fecc:6ec6  prefixlen 64  scopeid 0x20<link>
> 
> The problem with these (the mac-based ones) is that with multiple VLANs, they 
> all insist on using the same IP as they are all on the same physical device.

It’s a link-local IPv6, it’s normal to have at least one on each
interface. And you can have the same fe80 on several interfaces.

-- 
alarig

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-19 21:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-19 19:09 [gentoo-user] disabling IPv6 autoconfig for all interfaces J. Roeleveld
2016-11-19 20:13 ` Alarig Le Lay
2016-11-19 21:33   ` J. Roeleveld
2016-11-19 21:39     ` Alarig Le Lay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox