Xbox Live keeps dropping and disconnecting. ISP isn't helping

Can someone help me out? I am getting massive packet loss whenever I try to play online when I am playing xbox live well trying to play. However when I surf the internet I am totally fine. I have tried directly connected to my modem. Connected to a router with and without my ports forwarded and I get the same result. This has been going on for two weeks.

I have did all the troubleshooting that I know. Unplugging my modem and router turning them back on and resetting them still no change. This is insanely troubling me because playing online is my online way to get any kind of practice vs humans.

Is your Xbox connected via an ethernet cable or wireless?

run a constant ping test in command prompt just type ping -t and attempt to play online report back the results.