My IPv4 and IPv6 stopped working after a couple of windows 10 boots after upgrading.

Tried downloading new driver windows 10 driver from the internet on a different computer and transfer it using a USB stick.

Tried windows 10 Network diagnosis tool. Say there could be a problem with the driver, but it was working after upgade.

Tried running SFC /scannow no problems found.

Tried renew windows 10. windows 10 restarted a couple of times after showing an error message. Then it restored itself to the state with no network.

Tried changing motherboard, but changed it back as the new one had the same problem. Network adaptors were from different manufacturers. (intel l217-V Gigabit Lan and Qualcomm Atheros Killer E2201 Lan).