-->

DEVOPSZONES

  • Recent blogs

    How to Disable IPV6 in RHEL7/CentOS 7

    How to Disable  IPV6 in RHEL7/CentOS 7


    ipv6

    1. Un-comment "AddressFamily inet" in /etc/ssh/sshd_config.
    2. create new file named /etc/sysctl.d/ipv6.conf.
    3. Enter following Information in the file.

    # To disable for all interfaces
    net.ipv6.conf.all.disable_ipv6 = 1
    # the protocol can be disabled for specific interfaces as well.
    #net.ipv6.conf.<interface>.disable_ipv6 = 1

    4. Reload new settings.
    sysctl -p /etc/sysctl.d/ipv6.conf

    5. Rebuild initial RAM Disk Image.
    dracut -f

    6. Reboot the Server to take effect.

    No comments