Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a scenario where appliances running Debian may have multiple network interfaces. I want my eth0 interface to get its address via SLAAC configuration, but I want the remaining interfaces to only have their link-local or manually configured IPv6 addresses.

Is this possible?

share|improve this question
up vote 6 down vote accepted

I keep answering my own questions today!

Adding the following to the appropriate section /etc/network/interfaces does the trick, e.g. eth1:

pre-up /sbin/sysctl -w net.ipv6.conf.eth1.autoconf=0

Found answer here.

UPDATE: actually, that just disables the creation of an IPv6 IP address - it still gets, for example, default routes for that interface. To disable SLAAC on the interface altogether, apparently what you actually want is net.ipv6.conf.eth1.accept_ra=0

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.