How Do I Find My Ipv6 Address in Linux?
Contents

How do I find IPv4 and IPv6 in Linux?

Using the ifconfig Command

Look for the one labeled UP, BROADCAST, RUNNING, MULTICAST to find your IP address. This lists both IPv4 and IPv6 addresses.

How do I enable IPv6 on Linux?

Enabling IPv6 in kernel module (requires reboot)

  1. Edit /etc/default/grub and change the value of kernel parameter ipv6.disable from 1 to 0 in line GRUB_CMDLINE_LINUX, e.g.: …
  2. Regenerate a GRUB configuration file and overwrite existing one using the command shown below. …
  3. Restart system for the changes to take effect.
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest