Posts Tagged ‘IPv6’

Disable IPv6 on RHEL5 or Centos5

Monday, May 16th, 2011

Recently, bonding module requires IPv6 module. There are two possible solutions. The first is to define zeroconf to off, by adding the following line to /etc/sysconfig/network :
NOZEROCONF=yes

The other method, which actually disables IPv6 is to insert into /etc/modprobe.conf the following line:
options ipv6 disable=1

That should do the trick. You will need to restart/reload your modules, of course.

Solaris SSH weird behaviour

Thursday, July 3rd, 2008

Sun likes IPv6. They like it so badly that they strive to use it in all cases.

Solaris 9 and 10 SSH daemon is bounded to IPv6, which leads to a problem when trying to forward X. Editing the config file /etc/ssh/sshd_conf and assigning the SSH daemon to IPv4 address (bind to address 0.0.0.0) is not enough. You need to make sure that the sshd process is started with the “-4” flag. In Solaris 10, it means editing /lib/svc/method/sshd and appending “-4” to the sshd start command.

I wonder what will happen after an upgrade or a patch…