On a SLES 11.1 PPC (2.6.32.29-0.3-ppc64) system, I am trying to disable ipv6 autoconfiguration. I do NOT want to disable ipv6 entirely, because I do want the machine to use the static ipv6 IP the network gods here have assigned it. I want to remove the automatically configured global address so there's no confusion about where ipv6 traffic is leaving from or arriving at.
I have the following in /etc/sysctl.conf:
Code:
net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.eth9.autoconf = 0
and I have rebooted. However the interface is still picking up a global autoconf address:
Code:
$ /sbin/ifconfig eth9
eth9 Link encap:Ethernet HWaddr 00:02:55:2F:C0:8A
inet addr:10.1.1.39 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: 2002:920:c000:172:202:55ff:fe2f:c08a/64 Scope:Global
inet6 addr: fe80::202:55ff:fe2f:c08a/64 Scope:Link
inet6 addr: 2002:920:c000:172:10:1:1:39/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
The sysctl lines disable autoconf on the other (RHEL) Linuxes I've touched so far. I don't see an equivalent to RHEL's IPV6_AUTOCONF variable in SLES' man page for ifcfg, though.
How do I disable ipv6 autoconfiguration, but not ipv6 entirely, on SLES 11.1?
Quick edit: It seems that whenever I restart networking, net.ipv6.conf.eth9.autoconf gets reset to 1. Any idea why? I'll grep through the config files..