was when I was asked to set up a dozen machines as a small gateway and lan so the security class could have a go at hacking it. I got roundly abused by the teacher a couple of days later as he had two senior classes unable to break in. He was confident and had a go, much to the classes amusement when he couldn't. And all I did was mess around with masks and protocols. Kind of like this IP address / mask:
Gateway device with two nics - one external IP and one internal (10.255.15.20 / 10.255.15.255) get the joke here - ethernet to the next
Gateway device with two nics - two internal IPs (10.255.15.21 / 10.255.15.255 -- 192.168.0.1 / 192.168.255.255) this connected to the next using IPX/SPX
Gateway Device with two nics - two internal IPs (192.168.0.100 / 192.168.255.255 -- 172.1.100.1 / 172.255.255.255) ethernet to the lan
nine lan pcs with one nic and IP each (172.1.100.x / 172.255.255.255) all static.
The normal thing with internals is
10.x.x.x / 10.255.255.255
172.1.x.x / 172.1.255.255
192.168.0.x / 192.168.0.255
the weird masks and the use of IPS/SPX was bad enough but what sent him crazy was the use of 255 as a valid subnet group since it came in good at the start, he expected the normal mask. And using all three was another annoyance. I'm not sure how it would have gone against a GREAT hacker.
edit to add - Not sure if this would actually work for interacting with the Internet due to the IPX/SPX, but it was sure fun setting it up. I know the rest of it would work.