This can be likely happened after creating Virtual Switch , I will suggest you remove default virtual switch and create new Virtual switch with External as per below Microsoft article.
Allow management operating system to share this network adapter -> Select this option if you want to allow the Hyper-V host to share the use of the virtual switch and NIC or NIC team with the virtual machine. With this enabled, the host can use any of the settings that you configure for the virtual switch like Quality of Service (QoS) settings, security settings, or other features of the Hyper-V virtual switch.
---
--If the reply is helpful, please Upvote and Accept as answer--