Supernetting is a core skill needed for the Cisco CCNA certification and basically involves taking two IP addresses and combining them into a minimized network and subnet to make network management easier as well as making it easier for routing protocols and troubleshooting network problems.
An example of IP supernettingwe have a network
172.24.0.0
___128___64___32____16____8____4____2_____1________ |
24|
31|
Here we have to networks in different subnet mask that can be combined using supernetting
172.24.0.0 /24 and 172.24.0.0 /31
The first thing we need to do is draw a simple table so that we can convert the /31 and /24 network into binary so we can break it down

We then look at the binary sequences and draw a line when they are no longer the same

Everything that doesn't match will be converted to zero
gives us
0 0 0 1 1 0 0 0 in BINARY
the orignal IP un-supernetted was 172.24.0.0
it is now /13 or 255.248.0.0
8 + 5 = /13 ,
255 + (128.64.32.16.8) = 248
255.248.0.0
There you have it the supernetting guide hope it wasn't too confusing let me know if you have any questions
172.24.0.0 with network /24 and /31 becomes
172.24.0.0 /13 - 255.248.0.0