Source: https://www.ibisc.univ-evry.fr/~petit/Enseignement/reseau-L2/2009-2010/2009-2010-L3-reseau-TD2-adressage-routageIP-corrige.pdf