LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-23-2011, 10:32 AM   #1
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
SLES 11.1 disable ipv6 autoconfiguration


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..

Last edited by AlucardZero; 03-23-2011 at 10:35 AM.
 
Old 03-23-2011, 02:02 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
There's another key I had to set: net.ipv6.conf.default.autoconf. Once I set that to 0, net.ipv6.conf.eth9.autoconf stopped being reset to 1.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Privacy Extensions for Stateless Address Autoconfiguration in IPv6: RFC3041/4941 gprakash.gps AIX 0 05-27-2009 04:07 AM
need Help in SLES 10 with IPv6 diya_1426 Linux - Networking 2 03-31-2008 04:55 PM
need Help in SLES 10 with IPv6 diya_1426 Linux - Server 1 03-21-2008 01:02 PM
ipv6 autoconfiguration montrhano Linux - Networking 0 04-12-2007 03:35 AM
IPv6 stateless autoconfiguration client Fonk Debian 2 09-22-2005 01:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration