Stupidity and shenanigans on a school network

So my school’s student wifi network has been having some nuts issues today. I looked at ipconfig on my Android tablet, and I have an IP on one subnet, a default gateway on a different one, and a subnet mask of 0.0.0.0. There’s no way ANY of this could work, is there? If I set a static IP (I remember some of the IP settings from the past) it works fine and I can access the internet, so I’m guessing they’ve just broken something? Is there some concept I’m missing here or are is their DHCP server really as insanely screwed up as it seems?

yes you can have an IP address on one subnet and then a default gateway on another. the address are assigned in CIDR blocks. so say you have 192.168.0.0/24 then that subnet can go from 192.168.0.0 up to 192.168.0.255 but take say you have 192.168.0.0/23 that one can go from 192.168.0.0 up to 192.168.1.255 now a subnet mask of 0.0.0.0 is the odd ball part here. in CIDR that is basically the entire IPv4 address space. so....that part seems screwy.

Right, I knew if the subnet was bigger than /24 it would work, but then it wasn't, just wanted to make sure I wasn't losing my mind :P

Also, does anyone know (I may suggest some stuff to them) an effective way to control YouTube access? They were having YouTube.com redirect to cleanvideosearch.com, but they blocked all HTTPS traffic going to YouTube and now you can't even watch any embedded youtube videos. Is there a way they could inject a cookie to force Safety Mode or something? They want us to have access to YouTube, just not the parts of YT that we shouldn't be on :P

its all probably deep packet inspection for those kinds of rules. run a VPN off your tablet and it should fix that

That's what I usually do, but I'm trying to help the poor guys (there's 2 people over 24 schools, several of which have networks that could've fallen out of a time warp to the early 2000s, its SAD) so that's why I asked about a better way to filter it. I use a VPN, but that's not a good long term solution, because I checked and their security system (iBOSS, google it) will apparently allow them to use layer 7 filtering to block OpenVPN traffic on any port. They already blocked everything on 1194, but I started using 443 and have remained un-caught so far :P Just trying to help the poor people come up with a solution, because evidently they're too busy cleaning up disastrous messes everywhere else to take the time to come up with a functional YouTube filtering solution. That, and every time they try, they forget about HTTPS, and yeah it's just bad XD