Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Peter
On 03/10/2015 08:59 AM, Robert Moskowitz wrote:
> 
> error: "net.ipv6.conf.eth0.disable_ipv6" is an unknown key

s/eth0/your_interface_name/

...or just leave it out, it will probably work with one, or both of the
other two.


Peter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Jay Leafey

On 03/09/2015 12:52 PM, Robert Moskowitz wrote:

No change after running this and trying both:

system network restart

ifdown eth0; ifup eth0

Still having an IPv6 addr.

The box has been up for 140 days.  Would like to keep it running...

This box is really Redsleeve 6, which is the port of Centos 6 to arm.
The kernel I am using is the F19 kernel.  All of this MIGHT be
contributing to things not working as they would on a 'normal' Centos
box.  I am awaiting the start of the Centos7-arm work ;)



Hmm, I've used the information in this link in the past with good results:


http://wiki.centos.org/FAQ/CentOS6#head-d47139912868bcb9d754441ecb6a8a10d41781df


Don't know how this would with with Redsleeve, but with both CentOS 6 
and RHEL 6 it works fine.  I was able to disable IPv6 on-the-fly without 
a reboot using the "sysctl -w" method.


Your Mileage May Vary!
--
Jay Leafey - jay.lea...@mindless.com
Memphis, TN
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Robert Moskowitz



On 03/09/2015 03:24 PM, Peter wrote:

On 03/09/2015 01:15 AM, Chris Stone wrote:

sysctl -w net.ipv6.conf.all.accept_ra=0

On 03/10/2015 06:52 AM, Robert Moskowitz wrote:

No change after running this and trying both:

system network restart

it's: service network restart


Typo.  My dsyelxia at work again.



Try also setting these in sysctl:

net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.eth0.disable_ipv6=1


error: "net.ipv6.conf.eth0.disable_ipv6" is an unknown key


and then run: service network restart


And no more IPv6.  Now to document this so I can reverse it when the 
time comes!


thanks




Peter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Peter
> On 03/09/2015 01:15 AM, Chris Stone wrote:
>>
>> sysctl -w net.ipv6.conf.all.accept_ra=0

On 03/10/2015 06:52 AM, Robert Moskowitz wrote:
> No change after running this and trying both:
> 
> system network restart

it's: service network restart

Try also setting these in sysctl:

net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.eth0.disable_ipv6=1

and then run: service network restart


Peter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Les Mikesell
On Mon, Mar 9, 2015 at 12:39 PM, Robert Moskowitz  wrote:
> I have to disagree on that.  NATs is the problem and I am one of the causes
> of that problem as one of the principals behind RFC 1918.
>
>
> What has happened is that HTTP has become the transport for the Internet.
> Very bad in a number of ways.

On the contrary.  NAT and HTTP are the reasons most households are
connected.  But now we have http 2.0 to provide some pretense of
security.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Robert Moskowitz



On 03/09/2015 02:18 PM, Chris Stone wrote:

How about, in your /etc/sysconfig/network file adding or editing the line
for IPV6 to be:

NETWORKING_IPV6=no


One of the first things I tried.  It is still in there and doing no 
difference.


What I have is:

# cat network
NETWORKING=yes
HOSTNAME=z9m9z.htt-consult.com
NETWORKING_IPV6=no
IPV6INIT=no
IPV6_AUTOCONF=no

and:

cat network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO=none
ONBOOT="yes"
TYPE="Ethernet"
NAME="System eth0"
MACADDR=02:67:15:00:00:03
MTU=1500
DNS1=50.253.254.2
DNS2=192.168.224.2
GATEWAY="50.253.254.14"
IPADDR="50.253.254.3"
NETMASK="255.255.255.240"
HOSTNAME="z9m9z.htt-consult.com"
IPV6INIT="no"

I have used all the magic glue to say "no ipv6" and it just chugs along.



and then try a 'service network restart' and see what you get.


Chris


On Mon, Mar 9, 2015 at 11:52 AM, Robert Moskowitz 
wrote:


No change after running this and trying both:

system network restart

ifdown eth0; ifup eth0

Still having an IPv6 addr.

The box has been up for 140 days.  Would like to keep it running...

This box is really Redsleeve 6, which is the port of Centos 6 to arm.  The
kernel I am using is the F19 kernel.  All of this MIGHT be contributing to
things not working as they would on a 'normal' Centos box.  I am awaiting
the start of the Centos7-arm work ;)


On 03/09/2015 01:15 AM, Chris Stone wrote:


Sorry - that should be


sysctl -w net.ipv6.conf.all.accept_ra=0

to disable that, not 1.


Chris


On Sun, Mar 8, 2015 at 11:14 PM, Chris Stone  wrote:

  Try:

sysctl -w net.ipv6.conf.all.accept_ra=1

to persist between boots, be sure to add this to your /etc/sysctl.conf
file.

This should prevent the box from listening to any RA announcements.


Chris

On Sun, Mar 8, 2015 at 10:55 PM, Ryan Wagoner 
wrote:

  On Fri, Mar 6, 2015 at 11:52 AM, Robert Moskowitz 

wrote:



On 03/06/2015 11:00 AM, Robert Moskowitz wrote:



On 03/06/2015 10:55 AM, Barry Brimer wrote:



   IPV6INIT="no"


But I am still getting a global IPv6 (and of course local scope).

What else do I need to do to disable the listening for RA


announcements

and setting an IPv6 global address?  I do not want to reboot the box.

  There are other modules, most notably bonding that rely on the ipv6

module being loaded. What I do is place "options ipv6 disable=1" in
"/etc/modprobe.d/ipv6.conf". That does require a reboot, which I know


you

are looking to avoid, so you may want to try other methods to remove

your

address in the running configuration.

  'All' I need is for the system not to have a global IPv6 address.

Then


it
will not try to connect to other global IPv6 systems which will reject
the
connection, as the IPv6 rDNS cannot be set, given it is a dynamic IPv6

assigned address from the ISP.

  I tried:

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=z9m9z.htt-consult.com
NETWORKING_IPV6=no
IPV6INIT=no


and 'service network restart' but still showing IPv6 addressing.



I would try adding the below line to /etc/sysconfig/network.

IPV6_AUTOCONF=no

Ryan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



--
Chris Stone
AxisInternet, Inc.
www.axint.net





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos






___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Chris Stone
How about, in your /etc/sysconfig/network file adding or editing the line
for IPV6 to be:

NETWORKING_IPV6=no

and then try a 'service network restart' and see what you get.


Chris


On Mon, Mar 9, 2015 at 11:52 AM, Robert Moskowitz 
wrote:

> No change after running this and trying both:
>
> system network restart
>
> ifdown eth0; ifup eth0
>
> Still having an IPv6 addr.
>
> The box has been up for 140 days.  Would like to keep it running...
>
> This box is really Redsleeve 6, which is the port of Centos 6 to arm.  The
> kernel I am using is the F19 kernel.  All of this MIGHT be contributing to
> things not working as they would on a 'normal' Centos box.  I am awaiting
> the start of the Centos7-arm work ;)
>
>
> On 03/09/2015 01:15 AM, Chris Stone wrote:
>
>> Sorry - that should be
>>
>>
>> sysctl -w net.ipv6.conf.all.accept_ra=0
>>
>> to disable that, not 1.
>>
>>
>> Chris
>>
>>
>> On Sun, Mar 8, 2015 at 11:14 PM, Chris Stone  wrote:
>>
>>  Try:
>>>
>>> sysctl -w net.ipv6.conf.all.accept_ra=1
>>>
>>> to persist between boots, be sure to add this to your /etc/sysctl.conf
>>> file.
>>>
>>> This should prevent the box from listening to any RA announcements.
>>>
>>>
>>> Chris
>>>
>>> On Sun, Mar 8, 2015 at 10:55 PM, Ryan Wagoner 
>>> wrote:
>>>
>>>  On Fri, Mar 6, 2015 at 11:52 AM, Robert Moskowitz 
 wrote:


> On 03/06/2015 11:00 AM, Robert Moskowitz wrote:
>
>
>> On 03/06/2015 10:55 AM, Barry Brimer wrote:
>>
>>
>>>   IPV6INIT="no"
>>>
 But I am still getting a global IPv6 (and of course local scope).

 What else do I need to do to disable the listening for RA

>>> announcements

> and setting an IPv6 global address?  I do not want to reboot the box.

  There are other modules, most notably bonding that rely on the ipv6
>>> module being loaded. What I do is place "options ipv6 disable=1" in
>>> "/etc/modprobe.d/ipv6.conf". That does require a reboot, which I know
>>>
>> you

> are looking to avoid, so you may want to try other methods to remove
>>>
>> your

> address in the running configuration.
>>>
>>>  'All' I need is for the system not to have a global IPv6 address.
>> Then
>>
> it

> will not try to connect to other global IPv6 systems which will reject
>>
> the

> connection, as the IPv6 rDNS cannot be set, given it is a dynamic IPv6
>> assigned address from the ISP.
>>
>>  I tried:
>
> # cat /etc/sysconfig/network
> NETWORKING=yes
> HOSTNAME=z9m9z.htt-consult.com
> NETWORKING_IPV6=no
> IPV6INIT=no
>
>
> and 'service network restart' but still showing IPv6 addressing.
>


 I would try adding the below line to /etc/sysconfig/network.

 IPV6_AUTOCONF=no

 Ryan
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


>>>
>>> --
>>> Chris Stone
>>> AxisInternet, Inc.
>>> www.axint.net
>>>
>>>
>>
>>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Chris Stone
AxisInternet, Inc.
www.axint.net
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Robert Moskowitz

No change after running this and trying both:

system network restart

ifdown eth0; ifup eth0

Still having an IPv6 addr.

The box has been up for 140 days.  Would like to keep it running...

This box is really Redsleeve 6, which is the port of Centos 6 to arm.  
The kernel I am using is the F19 kernel.  All of this MIGHT be 
contributing to things not working as they would on a 'normal' Centos 
box.  I am awaiting the start of the Centos7-arm work ;)


On 03/09/2015 01:15 AM, Chris Stone wrote:

Sorry - that should be


sysctl -w net.ipv6.conf.all.accept_ra=0

to disable that, not 1.


Chris


On Sun, Mar 8, 2015 at 11:14 PM, Chris Stone  wrote:


Try:

sysctl -w net.ipv6.conf.all.accept_ra=1

to persist between boots, be sure to add this to your /etc/sysctl.conf
file.

This should prevent the box from listening to any RA announcements.


Chris

On Sun, Mar 8, 2015 at 10:55 PM, Ryan Wagoner  wrote:


On Fri, Mar 6, 2015 at 11:52 AM, Robert Moskowitz 
wrote:



On 03/06/2015 11:00 AM, Robert Moskowitz wrote:



On 03/06/2015 10:55 AM, Barry Brimer wrote:



  IPV6INIT="no"

But I am still getting a global IPv6 (and of course local scope).

What else do I need to do to disable the listening for RA

announcements

and setting an IPv6 global address?  I do not want to reboot the box.


There are other modules, most notably bonding that rely on the ipv6
module being loaded. What I do is place "options ipv6 disable=1" in
"/etc/modprobe.d/ipv6.conf". That does require a reboot, which I know

you

are looking to avoid, so you may want to try other methods to remove

your

address in the running configuration.


'All' I need is for the system not to have a global IPv6 address. Then

it

will not try to connect to other global IPv6 systems which will reject

the

connection, as the IPv6 rDNS cannot be set, given it is a dynamic IPv6
assigned address from the ISP.


I tried:

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=z9m9z.htt-consult.com
NETWORKING_IPV6=no
IPV6INIT=no


and 'service network restart' but still showing IPv6 addressing.



I would try adding the below line to /etc/sysconfig/network.

IPV6_AUTOCONF=no

Ryan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos




--
Chris Stone
AxisInternet, Inc.
www.axint.net






___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Robert Moskowitz



On 03/09/2015 12:55 AM, Ryan Wagoner wrote:

On Fri, Mar 6, 2015 at 11:52 AM, Robert Moskowitz 
wrote:



On 03/06/2015 11:00 AM, Robert Moskowitz wrote:



On 03/06/2015 10:55 AM, Barry Brimer wrote:



  IPV6INIT="no"

But I am still getting a global IPv6 (and of course local scope).

What else do I need to do to disable the listening for RA announcements

and setting an IPv6 global address?  I do not want to reboot the box.


There are other modules, most notably bonding that rely on the ipv6
module being loaded. What I do is place "options ipv6 disable=1" in
"/etc/modprobe.d/ipv6.conf". That does require a reboot, which I know you
are looking to avoid, so you may want to try other methods to remove your
address in the running configuration.


'All' I need is for the system not to have a global IPv6 address. Then it
will not try to connect to other global IPv6 systems which will reject the
connection, as the IPv6 rDNS cannot be set, given it is a dynamic IPv6
assigned address from the ISP.


I tried:

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=z9m9z.htt-consult.com
NETWORKING_IPV6=no
IPV6INIT=no


and 'service network restart' but still showing IPv6 addressing.



I would try adding the below line to /etc/sysconfig/network.

IPV6_AUTOCONF=no


Added this, did a 'service network restart' and still seeing the IPv6 addr.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Robert Moskowitz
I have to disagree on that.  NATs is the problem and I am one of the 
causes of that problem as one of the principals behind RFC 1918.



What has happened is that HTTP has become the transport for the 
Internet.  Very bad in a number of ways.


But for another time.  Perhaps.  Right now I have to deal with a new ISP 
that was on the road to static IPv6 when somehow the lead engineer kind 
of stopped responding to emails and I won't find out the details until 
IETF later this month.


On 03/09/2015 04:58 AM, Joseph L. Brunner wrote:

+1

IPv6 = solution looking for a problem.

Disabled on all our systems!

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
Chris Stone
Sent: Monday, March 09, 2015 01:15 AM
To: CentOS mailing list
Subject: Re: [CentOS] Centos 6 - disabling IPv6 addressing

Sorry - that should be


sysctl -w net.ipv6.conf.all.accept_ra=0

to disable that, not 1.


Chris


On Sun, Mar 8, 2015 at 11:14 PM, Chris Stone  wrote:


Try:

sysctl -w net.ipv6.conf.all.accept_ra=1

to persist between boots, be sure to add this to your /etc/sysctl.conf
file.

This should prevent the box from listening to any RA announcements.


Chris

On Sun, Mar 8, 2015 at 10:55 PM, Ryan Wagoner  wrote:


On Fri, Mar 6, 2015 at 11:52 AM, Robert Moskowitz

wrote:



On 03/06/2015 11:00 AM, Robert Moskowitz wrote:



On 03/06/2015 10:55 AM, Barry Brimer wrote:



  IPV6INIT="no"

But I am still getting a global IPv6 (and of course local scope).

What else do I need to do to disable the listening for RA

announcements

and setting an IPv6 global address?  I do not want to reboot the box.


There are other modules, most notably bonding that rely on the
ipv6 module being loaded. What I do is place "options ipv6
disable=1" in "/etc/modprobe.d/ipv6.conf". That does require a
reboot, which I know

you

are looking to avoid, so you may want to try other methods to
remove

your

address in the running configuration.


'All' I need is for the system not to have a global IPv6 address.
Then

it

will not try to connect to other global IPv6 systems which will
reject

the

connection, as the IPv6 rDNS cannot be set, given it is a dynamic
IPv6 assigned address from the ISP.


I tried:

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=z9m9z.htt-consult.com
NETWORKING_IPV6=no
IPV6INIT=no


and 'service network restart' but still showing IPv6 addressing.



I would try adding the below line to /etc/sysconfig/network.

IPV6_AUTOCONF=no

Ryan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos




--
Chris Stone
AxisInternet, Inc.
www.axint.net




--
Chris Stone
AxisInternet, Inc.
www.axint.net
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-09 Thread Joseph L. Brunner
+1

IPv6 = solution looking for a problem. 

Disabled on all our systems!

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
Chris Stone
Sent: Monday, March 09, 2015 01:15 AM
To: CentOS mailing list
Subject: Re: [CentOS] Centos 6 - disabling IPv6 addressing

Sorry - that should be


sysctl -w net.ipv6.conf.all.accept_ra=0

to disable that, not 1.


Chris


On Sun, Mar 8, 2015 at 11:14 PM, Chris Stone  wrote:

> Try:
>
> sysctl -w net.ipv6.conf.all.accept_ra=1
>
> to persist between boots, be sure to add this to your /etc/sysctl.conf 
> file.
>
> This should prevent the box from listening to any RA announcements.
>
>
> Chris
>
> On Sun, Mar 8, 2015 at 10:55 PM, Ryan Wagoner  wrote:
>
>> On Fri, Mar 6, 2015 at 11:52 AM, Robert Moskowitz 
>> 
>> wrote:
>>
>> >
>> >
>> > On 03/06/2015 11:00 AM, Robert Moskowitz wrote:
>> >
>> >>
>> >>
>> >> On 03/06/2015 10:55 AM, Barry Brimer wrote:
>> >>
>> >>>
>> >>>
>> >>>  IPV6INIT="no"
>> >>>>
>> >>>> But I am still getting a global IPv6 (and of course local scope).
>> >>>>
>> >>>> What else do I need to do to disable the listening for RA
>> announcements
>> >>>>
>> >>>> and setting an IPv6 global address?  I do not want to reboot the box.
>> >>>>
>> >>> There are other modules, most notably bonding that rely on the 
>> >>> ipv6 module being loaded. What I do is place "options ipv6 
>> >>> disable=1" in "/etc/modprobe.d/ipv6.conf". That does require a 
>> >>> reboot, which I know
>> you
>> >>> are looking to avoid, so you may want to try other methods to 
>> >>> remove
>> your
>> >>> address in the running configuration.
>> >>>
>> >>
>> >> 'All' I need is for the system not to have a global IPv6 address. 
>> >> Then
>> it
>> >> will not try to connect to other global IPv6 systems which will 
>> >> reject
>> the
>> >> connection, as the IPv6 rDNS cannot be set, given it is a dynamic 
>> >> IPv6 assigned address from the ISP.
>> >>
>> >
>> > I tried:
>> >
>> > # cat /etc/sysconfig/network
>> > NETWORKING=yes
>> > HOSTNAME=z9m9z.htt-consult.com
>> > NETWORKING_IPV6=no
>> > IPV6INIT=no
>> >
>> >
>> > and 'service network restart' but still showing IPv6 addressing.
>>
>>
>>
>> I would try adding the below line to /etc/sysconfig/network.
>>
>> IPV6_AUTOCONF=no
>>
>> Ryan
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>
>
> --
> Chris Stone
> AxisInternet, Inc.
> www.axint.net
>



--
Chris Stone
AxisInternet, Inc.
www.axint.net
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-08 Thread Chris Stone
Sorry - that should be


sysctl -w net.ipv6.conf.all.accept_ra=0

to disable that, not 1.


Chris


On Sun, Mar 8, 2015 at 11:14 PM, Chris Stone  wrote:

> Try:
>
> sysctl -w net.ipv6.conf.all.accept_ra=1
>
> to persist between boots, be sure to add this to your /etc/sysctl.conf
> file.
>
> This should prevent the box from listening to any RA announcements.
>
>
> Chris
>
> On Sun, Mar 8, 2015 at 10:55 PM, Ryan Wagoner  wrote:
>
>> On Fri, Mar 6, 2015 at 11:52 AM, Robert Moskowitz 
>> wrote:
>>
>> >
>> >
>> > On 03/06/2015 11:00 AM, Robert Moskowitz wrote:
>> >
>> >>
>> >>
>> >> On 03/06/2015 10:55 AM, Barry Brimer wrote:
>> >>
>> >>>
>> >>>
>> >>>  IPV6INIT="no"
>> 
>>  But I am still getting a global IPv6 (and of course local scope).
>> 
>>  What else do I need to do to disable the listening for RA
>> announcements
>> 
>>  and setting an IPv6 global address?  I do not want to reboot the box.
>> 
>> >>> There are other modules, most notably bonding that rely on the ipv6
>> >>> module being loaded. What I do is place "options ipv6 disable=1" in
>> >>> "/etc/modprobe.d/ipv6.conf". That does require a reboot, which I know
>> you
>> >>> are looking to avoid, so you may want to try other methods to remove
>> your
>> >>> address in the running configuration.
>> >>>
>> >>
>> >> 'All' I need is for the system not to have a global IPv6 address. Then
>> it
>> >> will not try to connect to other global IPv6 systems which will reject
>> the
>> >> connection, as the IPv6 rDNS cannot be set, given it is a dynamic IPv6
>> >> assigned address from the ISP.
>> >>
>> >
>> > I tried:
>> >
>> > # cat /etc/sysconfig/network
>> > NETWORKING=yes
>> > HOSTNAME=z9m9z.htt-consult.com
>> > NETWORKING_IPV6=no
>> > IPV6INIT=no
>> >
>> >
>> > and 'service network restart' but still showing IPv6 addressing.
>>
>>
>>
>> I would try adding the below line to /etc/sysconfig/network.
>>
>> IPV6_AUTOCONF=no
>>
>> Ryan
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>
>
> --
> Chris Stone
> AxisInternet, Inc.
> www.axint.net
>



-- 
Chris Stone
AxisInternet, Inc.
www.axint.net
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-08 Thread Chris Stone
Try:

sysctl -w net.ipv6.conf.all.accept_ra=1

to persist between boots, be sure to add this to your /etc/sysctl.conf file.

This should prevent the box from listening to any RA announcements.


Chris

On Sun, Mar 8, 2015 at 10:55 PM, Ryan Wagoner  wrote:

> On Fri, Mar 6, 2015 at 11:52 AM, Robert Moskowitz 
> wrote:
>
> >
> >
> > On 03/06/2015 11:00 AM, Robert Moskowitz wrote:
> >
> >>
> >>
> >> On 03/06/2015 10:55 AM, Barry Brimer wrote:
> >>
> >>>
> >>>
> >>>  IPV6INIT="no"
> 
>  But I am still getting a global IPv6 (and of course local scope).
> 
>  What else do I need to do to disable the listening for RA
> announcements
> 
>  and setting an IPv6 global address?  I do not want to reboot the box.
> 
> >>> There are other modules, most notably bonding that rely on the ipv6
> >>> module being loaded. What I do is place "options ipv6 disable=1" in
> >>> "/etc/modprobe.d/ipv6.conf". That does require a reboot, which I know
> you
> >>> are looking to avoid, so you may want to try other methods to remove
> your
> >>> address in the running configuration.
> >>>
> >>
> >> 'All' I need is for the system not to have a global IPv6 address. Then
> it
> >> will not try to connect to other global IPv6 systems which will reject
> the
> >> connection, as the IPv6 rDNS cannot be set, given it is a dynamic IPv6
> >> assigned address from the ISP.
> >>
> >
> > I tried:
> >
> > # cat /etc/sysconfig/network
> > NETWORKING=yes
> > HOSTNAME=z9m9z.htt-consult.com
> > NETWORKING_IPV6=no
> > IPV6INIT=no
> >
> >
> > and 'service network restart' but still showing IPv6 addressing.
>
>
>
> I would try adding the below line to /etc/sysconfig/network.
>
> IPV6_AUTOCONF=no
>
> Ryan
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Chris Stone
AxisInternet, Inc.
www.axint.net
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-08 Thread Ryan Wagoner
On Fri, Mar 6, 2015 at 11:52 AM, Robert Moskowitz 
wrote:

>
>
> On 03/06/2015 11:00 AM, Robert Moskowitz wrote:
>
>>
>>
>> On 03/06/2015 10:55 AM, Barry Brimer wrote:
>>
>>>
>>>
>>>  IPV6INIT="no"

 But I am still getting a global IPv6 (and of course local scope).

 What else do I need to do to disable the listening for RA announcements

 and setting an IPv6 global address?  I do not want to reboot the box.

>>> There are other modules, most notably bonding that rely on the ipv6
>>> module being loaded. What I do is place "options ipv6 disable=1" in
>>> "/etc/modprobe.d/ipv6.conf". That does require a reboot, which I know you
>>> are looking to avoid, so you may want to try other methods to remove your
>>> address in the running configuration.
>>>
>>
>> 'All' I need is for the system not to have a global IPv6 address. Then it
>> will not try to connect to other global IPv6 systems which will reject the
>> connection, as the IPv6 rDNS cannot be set, given it is a dynamic IPv6
>> assigned address from the ISP.
>>
>
> I tried:
>
> # cat /etc/sysconfig/network
> NETWORKING=yes
> HOSTNAME=z9m9z.htt-consult.com
> NETWORKING_IPV6=no
> IPV6INIT=no
>
>
> and 'service network restart' but still showing IPv6 addressing.



I would try adding the below line to /etc/sysconfig/network.

IPV6_AUTOCONF=no

Ryan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-08 Thread Robert Moskowitz



On 03/06/2015 10:59 AM, zep wrote:


On 03/06/2015 10:40 AM, Robert Moskowitz wrote:

I have just moved a host from a network that supports static IPv4 and
IPv6.  The IPv4 addr is set in ifcfg-eth0, and the IPv6 via RA (I set
the MAC so I get an IPv6 addr that I like).

I just moved the host to a network that supports static IPv4, but only
dymanic IPv6, so at this time (until I get static IPv6), I need to
disable the global IPv6 addressing.  So in the ifcfg-eth0 file I set:

IPV6INIT="no"

But I am still getting a global IPv6 (and of course local scope).

What else do I need to do to disable the listening for RA
announcements and setting an IPv6 global address?  I do not want to
reboot the box.  I can restart the network as needed.

I seem to recall, once upon atime an option in /etc/sysconfig/network

thanks

AFAIK/recall none of the ipv6 disabling in the /etc/sysconfig files has
ever quite worked the way it was advertised, I ended up writing a small
shell script to be executed on startup to handle the issue.  something like:
 echo "disable ipv6 on physical interfaces"
 for i in /proc/sys/net/ipv6/conf/eth*
do echo 1 > $i/disable_ipv6
 done

but you may have better luck.

I ended up simply disabling IPv6 for postfix.  If it does not send with 
IPv6, no MTAs will fail to accept an IPv6 connection with no DNS or rDNS 
for that address.  And really it SHOULD be that only postfix would be 
starting an outbound connection.  Well there is spamassasin and clamav, 
but I don't believe they verify the source IP address asking for updates.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-06 Thread Robert Moskowitz



On 03/06/2015 11:00 AM, Robert Moskowitz wrote:



On 03/06/2015 10:55 AM, Barry Brimer wrote:




IPV6INIT="no"

But I am still getting a global IPv6 (and of course local scope).

What else do I need to do to disable the listening for RA announcements

and setting an IPv6 global address?  I do not want to reboot the box.
There are other modules, most notably bonding that rely on the ipv6 
module being loaded. What I do is place "options ipv6 disable=1" in 
"/etc/modprobe.d/ipv6.conf". That does require a reboot, which I know 
you are looking to avoid, so you may want to try other methods to 
remove your address in the running configuration.


'All' I need is for the system not to have a global IPv6 address. Then 
it will not try to connect to other global IPv6 systems which will 
reject the connection, as the IPv6 rDNS cannot be set, given it is a 
dynamic IPv6 assigned address from the ISP.


I tried:

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=z9m9z.htt-consult.com
NETWORKING_IPV6=no
IPV6INIT=no


and 'service network restart' but still showing IPv6 addressing.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-06 Thread Robert Moskowitz



On 03/06/2015 10:55 AM, Barry Brimer wrote:




IPV6INIT="no"

But I am still getting a global IPv6 (and of course local scope).

What else do I need to do to disable the listening for RA announcements

and setting an IPv6 global address?  I do not want to reboot the box.

There are other modules, most notably bonding that rely on the ipv6 module being loaded. What I do 
is place "options ipv6 disable=1" in "/etc/modprobe.d/ipv6.conf". That does 
require a reboot, which I know you are looking to avoid, so you may want to try other methods to 
remove your address in the running configuration.


'All' I need is for the system not to have a global IPv6 address. Then 
it will not try to connect to other global IPv6 systems which will 
reject the connection, as the IPv6 rDNS cannot be set, given it is a 
dynamic IPv6 assigned address from the ISP.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-06 Thread zep


On 03/06/2015 10:40 AM, Robert Moskowitz wrote:
> I have just moved a host from a network that supports static IPv4 and
> IPv6.  The IPv4 addr is set in ifcfg-eth0, and the IPv6 via RA (I set
> the MAC so I get an IPv6 addr that I like).
>
> I just moved the host to a network that supports static IPv4, but only
> dymanic IPv6, so at this time (until I get static IPv6), I need to
> disable the global IPv6 addressing.  So in the ifcfg-eth0 file I set:
>
> IPV6INIT="no"
>
> But I am still getting a global IPv6 (and of course local scope).
>
> What else do I need to do to disable the listening for RA
> announcements and setting an IPv6 global address?  I do not want to
> reboot the box.  I can restart the network as needed.
>
> I seem to recall, once upon atime an option in /etc/sysconfig/network
>
> thanks

AFAIK/recall none of the ipv6 disabling in the /etc/sysconfig files has
ever quite worked the way it was advertised, I ended up writing a small
shell script to be executed on startup to handle the issue.  something like:
echo "disable ipv6 on physical interfaces"
for i in /proc/sys/net/ipv6/conf/eth*
   do echo 1 > $i/disable_ipv6
done

but you may have better luck.

-- 
public gpg key id: AE60F64C

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 - disabling IPv6 addressing

2015-03-06 Thread Barry Brimer



>IPV6INIT="no"
>
>But I am still getting a global IPv6 (and of course local scope).
>
>What else do I need to do to disable the listening for RA announcements
>
>and setting an IPv6 global address?  I do not want to reboot the box. 

There are other modules, most notably bonding that rely on the ipv6 module 
being loaded. What I do is place "options ipv6 disable=1" in 
"/etc/modprobe.d/ipv6.conf". That does require a reboot, which I know you are 
looking to avoid, so you may want to try other methods to remove your address 
in the running configuration.

Barry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 6 - disabling IPv6 addressing

2015-03-06 Thread Robert Moskowitz
I have just moved a host from a network that supports static IPv4 and 
IPv6.  The IPv4 addr is set in ifcfg-eth0, and the IPv6 via RA (I set 
the MAC so I get an IPv6 addr that I like).


I just moved the host to a network that supports static IPv4, but only 
dymanic IPv6, so at this time (until I get static IPv6), I need to 
disable the global IPv6 addressing.  So in the ifcfg-eth0 file I set:


IPV6INIT="no"

But I am still getting a global IPv6 (and of course local scope).

What else do I need to do to disable the listening for RA announcements 
and setting an IPv6 global address?  I do not want to reboot the box.  I 
can restart the network as needed.


I seem to recall, once upon atime an option in /etc/sysconfig/network

thanks


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos