Azure Linux vm ifconfig shows a different IPv6 address than the one I set in the console

嘉诚 赵 0 Reputation points

I set private ipv6 IP is began with ace:ceb but i type ifconfig in vm it shows that vm's ipv6 address is began with fe80:: but ipv4 address is normal I set v4 address is and ifconfig show the same addr

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
4,929 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 25,626 Reputation points Microsoft Employee

    @嘉诚 赵

    The IPv6 address that begins with "fe80::" is a link-local address, which is used for communication within the local network segment.

    Please verify that you have an IPv6 private address associated with the Network Interface. You should see this when viewing the IP configurations of the NIC. If not, you can add the IPv6 here.

    User's image

    If you have IPv6 private address associated with the NIC and are still not seeing it on the VM you will need to update the OS configuration. This page walks you through enabling DHCPv6 for your VM.

    Hope this helps! Let me know if you still have questions or issues.

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.