RHEL: Difference between revisions

From JoeHacker
(Created page with 'Simple tricks for RHEL that are common to me. == Disable ipv6 == RHEL 5.4 has an easy way to disable ipv6. The other methods don't work when the iscsi driver is loaded. To disab…')
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Simple tricks for RHEL that are common to me.
Simple tricks for RHEL that are common to me.


== Disable ipv6 ==
== Disable ipv6 ==
RHEL 7
1. Append below lines in /etc/sysctl.conf:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
Then run
sysctl -p
RHEL 5.4 has an easy way to disable ipv6. The other methods don't work when the iscsi driver is loaded. To disable:
RHEL 5.4 has an easy way to disable ipv6. The other methods don't work when the iscsi driver is loaded. To disable:


  echo “options ipv6 disable=1″ > /etc/modprobe.d/disable-ipv6
  echo "options ipv6 disable=1" > /etc/modprobe.d/disable-ipv6


http://planet.admon.org/2009/09/how-to-disable-the-ipv6-protocol/
http://planet.admon.org/2009/09/how-to-disable-the-ipv6-protocol/

Latest revision as of 09:16, 1 August 2019

Simple tricks for RHEL that are common to me.


Disable ipv6

RHEL 7

1. Append below lines in /etc/sysctl.conf:

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

Then run

sysctl -p

RHEL 5.4 has an easy way to disable ipv6. The other methods don't work when the iscsi driver is loaded. To disable:

echo "options ipv6 disable=1" > /etc/modprobe.d/disable-ipv6

http://planet.admon.org/2009/09/how-to-disable-the-ipv6-protocol/

Links

http://planet.admon.org/2009/09/how-to-disable-the-ipv6-protocol/ - How to disable the IPv6 protocol?