Mac IPv6 issues
Whenever my Mac is connected to an IPv6 address, the Wi-Fi doesn't work. When my Mac is connected to an IPv4 address, the Wi-Fi does work. Periodically, the Mac switches (or gets switched) to an IPv6 address and my internet stops working. The only way to force my Mac to reconnect to an IPv4 address is to manually reboot my router or wait a while. I'm not sure if this is a problem with my router or with my Mac, but is there a way I can prevent macOS from ever connecting to an IPv6 IP address? I've tried contacting Apple and they say to contact the ISP. I tried contacting the ISP and they had no idea (Optimum) and only wanted to just send someone to come look at the router.
iMac 27″, macOS 10.15