You are here

Disable IPv6

Disable IPv6

Step 1 Step 2 Step 3 Step 4
Download the Oracle VM Manager Installation Media Oracle VM Manager Prerequisites
Install Oracle VM Manager
Oracle VM Manager Post Installation Checklist
 
Applicable for all Oracle VM Releases
Even if IPv6 is not being used, IPv6 can still cause problems such a duplicate addresses with Oracle VM Manager (WebLogic). For example, IPv6 uses a dual stack protocol format that runs IPv4 and IPv6 at the same time. IPv6 creates an IPv6 interface for each IPv4 interface. WebLogic and many other Oracle technologies see the IPv6 interfaces as duplicate address. If IPv6 is not being used, a best practice is to disable IPv6.
 
For Oracle Linux 6+:
Add the following entries to /etc/sysctl.conf:
 
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
 
To load the settings, as root, type:
# sysctl -p
 
To disable IPv6 on a running system, as root type:
 
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6
 
or
 
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
 
With IPv6 disabled, if X forwarding breaks, edit /etc/ssh/sshd_config and make one of the following changes:
 
(1) Change the line
 
#AddressFamily any
 
to
 
AddressFamily inet
(inet is ipv4 only; inet6 is ipv6 only)
 
or
 
(2) Remove the hash mark (#) in front of the line
 
#ListenAddress 0.0.0.0
 
Next, restart ssh.
 
Next, type chkconfig ip6tables off
 
Finally, remove the IPv6 entries in the /etc/hosts file to aviod "Bug 13652664 : AGENT DEPLOY FAILS WITH AGENT PORT PASSED BY USER IS BUSY" with Oracle Management Agent installations. The next example shows the Pv6 entries in the /etc/hosts file that should be removed.
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
 
For Oracle Linux 5+:
Add the following entries to /etc/sysctl.conf:
 
net.ipv6.conf.all.disable_ipv6 = 1
 
To disable IPv6 on a running system, as root type:
 
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
 
Finally, remove the IPv6 entries in the /etc/hosts file to aviod "Bug 13652664 : AGENT DEPLOY FAILS WITH AGENT PORT PASSED BY USER IS BUSY" with Oracle Management Agent installations. The next example shows the Pv6 entries in the /etc/hosts file that should be removed.
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
Download PDF Now!