Close Menu
IOupdate | IT News and SelfhostingIOupdate | IT News and Selfhosting
  • Home
  • News
  • Blog
  • Selfhosting
  • AI
  • Linux
  • Cyber Security
  • Gadgets
  • Gaming

Subscribe to Updates

Get the latest creative news from ioupdate about Tech trends, Gaming and Gadgets.

[contact-form-7 id="dd1f6aa" title="Newsletter"]
What's Hot

Testing Proxmox 9 Snapshots as Volume Chains on iSCSI (Tech Preview)

August 13, 2025

Z-Wave reborn – Home Assistant Connect ZWA-2

August 13, 2025

Awesome List Updates on May 17, 2025

August 13, 2025
Facebook X (Twitter) Instagram
Facebook Mastodon Bluesky Reddit
IOupdate | IT News and SelfhostingIOupdate | IT News and Selfhosting
  • Home
  • News
  • Blog
  • Selfhosting
  • AI
  • Linux
  • Cyber Security
  • Gadgets
  • Gaming
IOupdate | IT News and SelfhostingIOupdate | IT News and Selfhosting
Home»Linux»How to Disable IPv6 on RHEL using grubby
Linux

How to Disable IPv6 on RHEL using grubby

MarkBy MarkMay 9, 2025No Comments2 Mins Read
How to Disable IPv6 on RHEL using grubby


In the realm of computing, there are two primary types of IP addresses: IPv4 and IPv6. While IPv6 offers a significantly larger addressing scheme compared to IPv4, the latter remains the more prevalent choice among many organizations for various reasons.

There are times when disabling IPv6 on a RHEL system is necessary, such as when an application does not support IPv6 or when the hardware is incompatible.

This guide outlines one of the simplest methods to disable IPv6 on a RHEL system.

How to Disable IPv6 using Grubby

The grubby utility is an effective tool for making persistent changes to the grub.cfg file. This represents one of the easiest approaches to disable IPv6, especially on Red Hat-based systems.

Step 1: Check if IPv6 is Enabled

Begin by verifying if your system is utilizing IPv6 with the ip command. If you see any 'inet6' entry in the output below, it indicates that IPv6 is enabled on your devices.

ip a | grep -i inet6

inet6 ::1/128 scope host
inet6 fe80::b5c2:565a:e972:e572/64 scope link noprefixroute

Step 2: Disable IPv6

Execute the following command to add the parameter 'ipv6.disable=1' to the ‘grub.cfg’ file across all installed kernels, as RHEL systems typically have the last three kernels.

The value '1' signifies that IPv6 will be disabled for the device.

grubby --update-kernel ALL --args ipv6.disable=1

Step 2a: Disable IPv6 (Optional)

If you’d prefer to disable IPv6 only for the latest kernel, you can add the following entry to the ‘grub.cfg’ file.

grubby --update-kernel DEFAULT --args ipv6.disable=1

Step 3: Verify the grub.cfg File

To confirm that IPv6 is disabled, check that the ‘ipv6.disable=1’ parameter has been added to the ‘grub.cfg’ file before restarting the system. You should see this parameter for all kernels, as shown below:

grubby --info=ALL

Step 4: Reboot the System

Reboot your system for the changes to take effect.

reboot
or
init 6

Step 5: IPv6 Verification

After rebooting, check if IPv6 is disabled using the ip command as shown below:

ip a | grep -i inet6

If no ‘inet6’ entries appear in the output, it confirms that IPv6 is disabled for all devices.

Conclusion

This tutorial has guided you through the straightforward process of disabling IPv6 on a RHEL system.

If you have any questions or feedback, please feel free to leave a comment below.



Source link

0 Like this
Disable grubby IPv6 RHEL
Share. Facebook LinkedIn Email Bluesky Reddit WhatsApp Threads Copy Link Twitter
Previous ArticleEnd-of-life routers hacked for cybercrime proxy networks
Next Article Mafia: The Old Country won’t ask you to surrender your entire real life to the Cosa Nostra this August, and it’ll only charge you $50 of tribute unless you want a limo

Related Posts

Linux

10 sFTP Commands to Move Files Between Linux Systems

August 10, 2025
Linux

AWS Fiasco, AUR Poisoned Again, Ubuntu Manual, Firefox New Tab Customization and More Linux Stuff

August 8, 2025
Linux

Arch Linux Installer Gets U2F Authentication and Bluetooth Support

August 7, 2025
Add A Comment
Leave A Reply Cancel Reply

Top Posts

AI Developers Look Beyond Chain-of-Thought Prompting

May 9, 202515 Views

6 Reasons Not to Use US Internet Services Under Trump Anymore – An EU Perspective

April 21, 202512 Views

Andy’s Tech

April 19, 20259 Views
Stay In Touch
  • Facebook
  • Mastodon
  • Bluesky
  • Reddit

Subscribe to Updates

Get the latest creative news from ioupdate about Tech trends, Gaming and Gadgets.

About Us

Welcome to IOupdate — your trusted source for the latest in IT news and self-hosting insights. At IOupdate, we are a dedicated team of technology enthusiasts committed to delivering timely and relevant information in the ever-evolving world of information technology. Our passion lies in exploring the realms of self-hosting, open-source solutions, and the broader IT landscape.

Most Popular

AI Developers Look Beyond Chain-of-Thought Prompting

May 9, 202515 Views

6 Reasons Not to Use US Internet Services Under Trump Anymore – An EU Perspective

April 21, 202512 Views

Subscribe to Updates

Facebook Mastodon Bluesky Reddit
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 ioupdate. All Right Reserved.

Type above and press Enter to search. Press Esc to cancel.