User Tools

Site Tools


linux:linux-networking:rhel7-networking:disable_ipv6

RHEL7 Disable IPv6

This has changed significantly from RHEL 6

Here ae the steps:

  • Edit /etc/default/grub and append ipv6.disable=1 to GRUB_CMDLINE_LINUX

GRUB_CMDLINE_LINUX=“rd.lvm.lv=rhel/swap crashkernel=auto rd.lvm.lv=rhel/root ipv6.disable=1”

* Run the grub2-mkconfig command to regenerate the grub.cfg file:
# grub2-mkconfig -o /boot/grub2/grub.cfg

Alternatively, on UEFI systems, run the following:     
# grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg

See the link at https://access.redhat.com/solutions/8709

linux/linux-networking/rhel7-networking/disable_ipv6.txt · Last modified: by 127.0.0.1