Translated message

A translation of this page exists in English.

RHEL9: ipv6.disable=1 により、ping: socket: Address family not supported by protocol エラーが発生する

Solution In Progress - Updated -

Issue

サンプルログ:

$ grep ipv6.disable=1 /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-162.6.1.el9_1.x86_64 root=/dev/mapper/VolGroup-lv_root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/VolGroup-lv_swap rd.lvm.lv=VolGroup/lv_root rd.lvm.lv=VolGroup/lv_swap ipv6.disable=1
$ ping -c 1 192.168.122.1 > /tmp/ping.output
ping: socket: Address family not supported by protocol

Environment

  • Red Hat Enterprise Linux (RHEL) 9
  • iputils

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content