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

嘉诚 赵 0 Reputation points
2023-03-03T13:18:58.8033333+00:00

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 10.1.1.5 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.
7,175 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 33,626 Reputation points Microsoft Employee
    2023-03-03T18:38:56.4166667+00:00

    @嘉诚 赵

    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.

    0 comments No comments