[Dj][DMX] ha scritto:Allora non ci capiamo: te l'ho detto io, te l'ha detto cisketto e te lo ha detto pure il documento a cui fai riferimento:
greybear ha scritto:
ai quali naturalmente bisogna levare l'indirizzo di broadcast e quello di rete non assegnabili.
Eh, si.... proprio non ci capiamo.
cisketto ha spiegato una parte del problema, ma non quello che ho chiesto. Siamo tutti daccordo sul fatto che per "ogni subnet" il primo indirizzo della subnet è quello della rete e l'ultimo indirizzo della subnet è quello di broadcasting. Qui proprio non ci piove!
Il documento (stringendo sul punto incriminato) dice:
"...prendendo in prestito 4 bit, sarà possibile creare 14 sottoreti"
Sappiamo tutti che 2 elevato alla quarta ( 2^4 ) fa:
2x2x2x2=16
mi aspetto quindi che se prendo in prestito 4 bit io possa generare 16 sottoreti ognuno con net/broad e cioè:
rete originatrice:
192.168.0.0/24
sottoreti ( /28 ):
1) 192.168.0.0 - 192.168.0.15 (255.255.255.240) .0=net, .15=broad
2) 192.168.0.16 - 192.168.0.31 (255.255.255.240) .16=net, .31=broad
3) 192.168.0.32 - 192.168.0.47
4) 192.168.0.48 - 192.168.0.63
5) 192.168.0.64 - 192.168.0.79
6) 192.168.0.80 - 192.168.0.95
7) 192.168.0.96 - 192.168.0.111
![Cool 8)](./images/smilies/icon_cool.gif)
192.168.0.112 - 192.168.0.127 ....
9) 192.168.0.128 - 192.168.0.143
10) 192.168.0.144 - 192.168.0.159
11) 192.168.0.160 - 192.168.0.175
12) 192.168.0.176 - 192.168.0.191
13) 192.168.0.192 - 192.168.0.207
14) 192.168.0.208 - 192.168.0.223
15) 192.168.0.224 - 192.168.0.239
16) 192.168.0.240 - 192.168.0.255 (255.255.255.240) .240=net, .255=broad
Queste sono esattamente
"16" sottoreti così come ottenute dal subnet calculator
http://www.subnet-calculator.com/
Nel testo sopra citato invece si parla di
"14" sottoreti o subnet e questo è confermato in appendice al link sopra citato dove si fa l'esempio limite di una /24 divisa in due sole sottoreti (parlo sempre di classe C).
Riformulo quindi la domanda:
Di queste 16 sottoreti, quali sono le due che mancano e perchè?
Grazie a chi risponderà senza inalberarsi,
greybear
P.S. Riporto anche le note del subnet calculator:
Notes about the Subnet Calculator
1. The subnet calculator implements a classful / classed IP addressing scheme where the following rules are adhered to:
* Class A addresses have their first octet in the range 1 to 126 (binary address begins with 0).
* Class B addresses have their first octet in the range 128 to 191 (binary address begins with 10).
* Class C addresses have their first octet in the range 192 to 223 (binary address begins with 110).
2. The subnet calculator allows the use of a single subnet bit - for example, a class C address with a subnet mask of 255.255.255.128 is permitted.
3. The subnet calculator allows a subnet ID to have its final octet equal to the final octet of its subnet mask - for example, a class C network address of 192.168.0.192 with a subnet mask of 255.255.255.192 is permitted.
The above is generally accepted as being 'normal', however, certification students should keep in mind that, in some certification programs, the final two points are regarded as inacceptible.