Sie sind auf Seite 1von 29

n/m

20

2
1048576

19

2
524288

18

2
262144

17

16

15

2
131072

2
65536

2
32768

DEC.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

BIN.
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111

HEXA.
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F

14

2
16384

13

2
8192

F
1111
255

12

2
2048

10

2
1024

2
512

2
256

PREFIJOS DE
MASCARAS

2
4096

11

F
1111
255

Hexa.
Bina.
Deci.

2
128

2
64

2
32

2
16

2
8

1
0
0
0

0
0
0
0

1
0
0
0

0
1
0
1

1
0
0
0

1
1
1
1
1
1
1
1

0
1
1
1
1
1
1
1

0
0
1
1
1
1
1
1

0
0
0
1
1
1
1
1

0
0
0
0
1
1
1
1

2
4

2
2

2
1

1
0
1
1

0
0
0
0

0
0
0
0

172
16
4
20

0
0
0
0
0
1
1
1

0
0
0
0
0
0
1
1

0
0
0
0
0
0
0
1

128
192
224
240
248
252
254
255

IP Inicial

IP
MASCARA

Clases Utilizables

Mulcast

Investigacion

0
0
0
0
00000000 00000000 00000000 00000000
128
0
0
0
10000000 00000000 00000000 00000000
192
0
0
0
11000000 00000000 00000000 00000000
224
0
0
0
11100000
240
0
0
0
11110000

192
168
1
24
11000000 10101000 00000001 00011000
255
255
255
0
11111111 11111111 11111111 00000000

DIRECCION DE RED
"ID RED"

192
168
1
0
11000000 10101000 00000001 00000000

Ley N 1
SI todos los bits de la parte
CERO (0). ENTONCES es DIR
DIRECCION DE SUBRED

BROADCAST DE RED

192
168
1
255
11000000 10101000 00000001 11111111

Ley N 2
SI todos los bits de la parte
UNO (1). ENTONCES es BRO
BROADCAST DE SUBRED

IP Final

MASCARA

127
255
255
255
01111111 11111111 11111111 11111111
191
255
255
255
10111111 11111111 11111111 11111111
223
255
255
255
11011111 11111111 11111111 11111111
239
255
255
255
255

255

255

255

Ley N 1
todos los bits de la parte de HOST son iguales a
CERO (0). ENTONCES es DIRECCION DE RED o
DIRECCION DE SUBRED

Ley N 2
todos los bits de la parte de HOST son iguales a
UNO (1). ENTONCES es BROADCAST DE RED o
BROADCAST DE SUBRED

/8
/16
/24

255
0
0
0
11111111 00000000 00000000 00000000
255
255
0
0
11111111 11111111 00000000 00000000
255
255
255
0
11111111 11111111 11111111 00000000

RED

MASCARA

PREF.

172

16

/24

172

16

/25

172

16

/26

172

16

/27

Mascara

255
255
255
128
11111111 11111111 11111111 10000000

Direccion de
RED

172
16
4
0
10101100 00010000 00000100 00000000

255
11111111
255
11111111
255
11111111
255
11111111

255
11111111
255
11111111
255
11111111
255
11111111

m=7
m: Es el nmero
host.
2 = 2

Broadcast RED

172
16
4
127
10101100 00010000 00000100 01111111

MASCARA
255
11111111
255
11111111
255
11111111
255
11111111

0
00000000
128
10000000
192
11000000
224
11100000

m: Es el nmero de bits de la parte de


host.
= 27 = 128

2 = 2

Mascara

IP

155

246

78
01001110

155

246

72
01001000
73

SUBRED "AA"

DIRECCION DE
RED

255
255
255
248
11111111 11111111 11111111 11111000

155

246

DIRECCION DE
RED

155

246

80
01010000
81

SUBRED "BB"

BROADCAST
RED

78
79
01001111

BROADCAST
RED

155

246

86
87
01010111

/29

m: Es el nmero de bits de la parte de


host.
2 = 23 = 8

11010
11011
11100
11101
11110
11111

de bits de la parte de

00000
00001
00010
00011
00100
00101
00110
00111
01000
01001
01010
01011
01100
01101
01110
01111
10000
10001
10010
10011

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

10100
10101
10110
10111
11000
11001
11010
11011
11100
11101
11110
11111

20
21
22
23
24
25
26
27
28
29
30
31

Mascara

IP

DIRECCION DE
RED

BROADCAST
RED

255
255
240
0
11111111 11111111 11110000 00000000

140

185

254
145
11111110 10010001

140

185

240
0
11110000 00000000
1

140

185

255
254
255
255
11111111 11111111

/20

m: Es el nmero de bits de la parte de


host.
2 = 212 = 4096
4096/256 = 16 ==> 24

de bits de la parte de
16 ==> 24 = 16

RED
ID RED

192

168

SE REQUIERE: 02 SubRedes (n)


a) Hallar la Mascara de SubRed
b) Hallar el 1er. Host Valido de la SubRed 1
c) Hallar el Ultimo Host Valido de la SubRed 0
d) Hallar la Nro. de Host Validos por SubRed

HOST
0

=
=
=
=

/24

/25
192.168.1.129
192.168.1.126
126

ID DE SUBRED
0

192

168

192

168

/25

00000000
0
10000000
128

192

168

192

168

11111111 11111111 11111111 10000000


255
255
255
128

RED
ID RED

RANGO DE IP's VALIDAS

192

168

SE REQUIERE: 100 Host por SubRed (m)


a) Hallar la Mascara de SubRed
b) Hallar el 1er. Host Valido de la SubRed 1
c) Hallar el Ultimo Host Valido de la SubRed 0
d) Hallar la Nro. de SubRedes por SubRed

HOST
0

=
=
=
=

/24

/25
192.168.1.129
192.168.1.126
2

ID DE SUBRED
0

192

168

192

168

/25

RANGO DE IP's VALIDAS


00000000
0
10000000
128

11111111 11111111 11111111 10000000


255
255
255
128

192

168

192

168

n: Es el nmero de bits prestados parte de


host.
2 = 21 = 2

m: Es el nmero de bits restantes de la


parte de host.
[2 ] = [27 ] = 128

Para hallar la cantidadd de HOST Validos en


una SubRed es:
[2 2] = [27 2] = 126

RANGO DE IP's VALIDAS


00000001
1
10000001
129

DIRECCION DE BROADCAST

192

168

192

168

01111110
126
11111110
254

192

168

192

168

01111111
127
11111111
255

n: Es el nmero de bits prestados parte de


host.
2 = 21 = 2

m: Es el nmero de bits restantes de la


parte de host.
[2 ] = [27 ] = 128

Para hallar la cantidadd de HOST Validos en


una SubRed es:
[2 2] = [27 2] = 126

RANGO DE IP's VALIDAS


00000001
1
10000001
129

DIRECCION DE BROADCAST

192

168

192

168

01111110
126
11111110
254

192

168

192

168

01111111
127
11111111
255

RED

RED
10

MASCARA

255

HOST
0

Se REQUIERE 2900 SubRedes


a). Mascara de SubRed
b). Ultimo Host valido de la SubRed 12
c). Nmero de Host Validos por SubRed

/8

255.255.240.0
10.0.207.254
4094

DIRECCION DE SUBRED
Red

0
1
2
3
4
5
6
7
8
9
10
11
12
13

10

10
10

10
10

10
10

10
10

10
10

10
10

10

SubRed

RANGO DE IPs VALIDAS [(2^M)Host

00000000 0000 0000 00000000

10

10

00000000 0001 0000 00000000

10

16

10

00000000 0010 0000 00000000

10

32

10

00000000 0011 0000 00000000

10

48

10

00000000 0100 0000 00000000

10

64

10

00000000 0101 0000 00000000

10

80

10

00000000 0110 0000 00000000

10

96

10

10

00000000 0111 0000 00000000

10

10

112

10

10

10
10

10
10

10

00000000 1000 0000 00000000

10

128

10

00000000 1001 0000 00000000

10

144

10

00000000 1010 0000 00000000

10

160

10

10

00000000 1011 0000 00000000

10

10

176

10

10

10
10

10

00000000 1100 0000 00000000

10

192

10

00000000 1101 0000 00000000

10

208

10

00000000 0000 0000 00000001

00000000 0001 0000 00000001

16

00000000 0010 0000 00000001

32

00000000 0011 0000 00000001

48

00000000 0100 0000 00000001

64

00000000 0101 0000 00000001

80

00000000 0110 0000 00000001

96

00000000 0111 0000 00000001

112

00000000 1000 0000 00000001

128

00000000 1001 0000 00000001

144

00000000 1010 0000 00000001

160

00000000 1011 0000 00000001

176

00000000 1100 0000 00000001

192

00000000 1101 0000 00000001

208

DE IPs VALIDAS [(2^M)-2]

BROACAST DE SUBRED
Red

10

10
10

10
10

10
10

10
10

10
10

10
10

10

00000000 0000 1111 11111110

10

15

10

254

00000000 0001 1111 11111110

10

31

10

254

00000000 0010 1111 11111110

10

47

10

254

00000000 0011 1111 11111110

10

63

10

254

00000000 0100 1111 11111110

10

79

10

254

00000000 0101 1111 11111110

10

95

10

254

00000000 0110 1111 11111110

10

111

10

254

10

00000000 0111 1111 11111110

10

10

127

10

10

10
10

10
10

10

254

00000000 1000 1111 11111110

10

143

10

254

00000000 1001 1111 11111110

10

159

10

254

00000000 1010 1111 11111110

10

175

10

254

10

00000000 1011 1111 11111110

10

10

191

10

10

10
10

10

254

00000000 1100 1111 11111110

10

207

10

254

00000000 1101 1111 11111110

10

223

10

254

SubRed

Host

00000000 0000 1111 11111111

15

255

00000000 0001 1111 11111111

31

255

00000000 0010 1111 11111111

47

255

00000000 0011 1111 11111111

63

255

00000000 0100 1111 11111111

79

255

00000000 0101 1111 11111111

95

255

00000000 0110 1111 11111111

111

255

00000000 0111 1111 11111111

127

255

00000000 1000 1111 11111111

143

255

00000000 1001 1111 11111111

159

255

00000000 1010 1111 11111111

175

255

00000000 1011 1111 11111111

191

255

00000000 1100 1111 11111111

207

255

00000000 1101 1111 11111111

223

255

15

14

13

12

11

10

32768

16384

8192

4096

2048

1024

512

256

128

64

32

Nmero de bist prestados de la parte de Host.

Cuando todos los bist de la parte de

Nmero de bist restantes de la parte de Host.

Cuando todos los bist de la parte de

16

do todos los bist de la parte de host son iguales a cero (0). Entonces es ID RED ID DE SUBRED

do todos los bist de la parte de host son iguales a cero (1). Entonces es BROADCAST RED BROADCAST DE SUBRED

ID RED:

RED
10

HOST
0

MASC.

255

/8

Para hallar el rango de IP's validas tenemos que saber:


m: Es el nmero de bits de la parte de host.
2 2 = 216 2 = 65534

0
1
0
1

Red
10
10
10
10
10
10
10
10

DIRECCION DE SUBRED
Host
SubRed
00000000 00000000 00000000
0
0
0
00000001 00000000 00000000
1
0
0
00000010 00000000 00000000
2
0
0
00000011 00000000 00000000
3
0
0

RANGO DE IP's VALIDAS


10
10
10
10
10
10
10
10

00000000
0
00000001
1
00000010
2
00000011
3

00000000
0
00000000
0
00000000
0
00000000
0

00000001
1
00000001
1
00000001
1
00000001
1

ango de IP's validas tenemos que saber:


de bits de la parte de host.

RANGO DE IP's VALIDAS


10
10
10
10
10
10
10
10

00000000
0
00000001
1
00000010
2
00000011
3

11111111
255
11111111
255
11111111
255
11111111
255

11111110
254
11111110
254
11111110
254
11111110
254

Red
10
10
10
10
10
10
10
10

BROADCAST DE SUBRED
Host
SubRed
00000000 11111111 11111111
0
255
255
00000001 11111111 11111111
1
255
255
00000010 11111111 11111111
2
255
255
00000011 11111111 11111111
3
255
255

IP

10

127

224

15

/12

Hallar:
El Primer host valido de la subred 10
24

ID RED:

A
B
C
D
E
F

SubRed
Para 120 000 Hosts
Para 40 000 Hosts
Para 15 000 Host
Para 45 000 Hosts
Para 2 Hosts (Enlace)
Para 2 Hosts (Enlace)

10

16,777,216

/8

176

175

28

234

255

255

176
176

175
175

176
176

ID SUBRED
175
00000000 00000000
175
0
0

BROADCAST DE SUBRED
176
175
01111111 11111111
176
175
127
255

176
176

175
175

176
176

28
234
00011100 11101010

10000000 00000000
128
0

/16

/17

175
175

11111111 11111111
255
255

172
172
172
172
172

20
21
22
23
24

0
0
0
0
0

0
0
0
0
0

/16

RED
RED:

192

168

HOST
00000000

/24

n: Los bists que te prestas de la parte de host i


Nos permite hallar la cantidad de
La LAN1 de HQ requerir 50 direcciones IP de host.
La LAN2 de HQ requerir 50 direcciones IP de host.
m: Los bists que restaban de la parte de host.
La LAN1 de Branch1 requerir 20 direcciones IP de host.
Nos permite hallar la cantidad de IP's (
La LAN2 de Branch1 requerir 20 direcciones IP de host.
SubRed o RED
La LAN1 de Branch2 requerir 12 direcciones IP de host.
La LAN2 de Branch2 requerir 12 direcciones IP de host.
El enlace de HQ a Branch1 requerir una direccin IP para cada extremo del enlace.
El enlace de HQ a Branch2 requerir una direccin IP para cada extremo del enlace.
El enlace de Branch1 a Branch2 requerir una direccin IP para cada extremo del enlace.

DIRECCION DE RED

LAN1 de HQ (50)
LAN2 de HQ (50)
LAN1 de Branch1 (20)
LAN2 de Branch1 (20)
LAN1 de Branch2 (12)
LAN2 de Branch2 (12)
enlace de HQ a
Branch1
enlace de HQ a
Branch2
enlace de Branch1 a
Branch2

192
192
192
192
192
192
192
192
192
192
192
192
192
192
192
192
192
192

168
168
168
168
168
168
168
168
168
168
168
168
168
168
168
168
168
168

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

1ra. Valida

00000000
0
01000000
64
10000000
128
10100000
160
11000000
192
11010000
208
11100000
224
11100100
228
11101000
232

192.168.1.
192.168.1.
192.168.1.
192.168.1.
192.168.1.
192.168.1.
192.168.1.
192.168.1.
192.168.1.

00000001
1
01000001
65
10000001
129
10100001
161
11000001
193
11010001
209
11100001
225
229
233

bists que te prestas de la parte de host inicial.


ermite hallar la cantidad de SUBREDES

s bists que restaban de la parte de host.


ermite hallar la cantidad de IP's (HOST)en una

Ultima Valida

192.168.1.

192.168.1.

192.168.1.

192.168.1.

192.168.1.

192.168.1.

192.168.1.
192.168.1.
192.168.1.

MASCARA
DE
SUBRED
CIDR

DIRECCION DE BROADCAST

00111110
62
01111110
126
10011110
158
10011110
158
11001110
206
11011110
222
11100010
226
230
234

192
192
192
192
192
192
192
192
192
192
192
192
192
192
192
192
192
192

168
168
168
168
168
168
168
168
168
168
168
168
168
168
168
168
168
168

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

00111111
63
01111111
127
10011111
159
10111111
191
11001111
207
11011111
223
11100011
227
231
235

/26
/26
/27
/27
/28
/28
/30
/30
/30

MASCARA DE SUBRED
BINARIO
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255

11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255

MASCARA DE SUBRED
BINARIO
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255
11111111
255

11000000
192
11000000
192
11100000
224
11100000
224
11110000
240
11110000
240
11111100
252
11111100
252
11111100
252

32 000 Host

B1-R1 Fa0/0
B1-R1 Fa0/1
B1-R1 Fa1/0
B1-R1 Fa1/1

16 000 Host

B2-R1 Fa0/0
B2-R1 Fa0/1
B2-R1 Fa1/0
B2-R1 Fa1/1

16 000 Host

B2-R1 Fa0/0
B2-R1 Fa0/1
B2-R1 Fa1/0
B2-R1 Fa1/1

B1-R1 <--> R1
B2-R1 <--> R1
B3-R1 <--> R1

10

10
10
10
10
10
10
10
10

1
1
1
1
1
1
1
1

00000000
0
00100000
32
01000000
64
01100000
96

00000000
0
00000000
0
00000000
0
00000000
0

10
10
10
10
10
10
10
10

10
10
10
10
10
10
10
10

1
1
1
1
1
1
1
1

10000000
128
10010000
144
10100000
160
10110000
176

00000000
0
00000000
0
00000000
0
00000000
0

10
10
10
10
10
10
10
10

10
10
10
10
10
10
10
10

1
1
1
1
1
1
1
1

11000000
192
11001000
200
11010000
208
11011000
216

00000000
0
00000000
0
00000000
0
00000000
0

10
10
10
10
10
10
10
10

10

255

240

10
10
10
10
10
10

1
1
1
1
1
1

11111111 11110000
255
240
11111111 11110100
255
244
11111111 11111000
255
248

/16

/28
10
10
10
10
10
10

1
1
1
1
1
1
1
1

00011111
31
00111111
63
01011111
95
01111111
127

11111111
255
11111111
255
11111111
255
11111111
255

m = 13

/19

1
1
1
1
1
1
1
1

10001111
143
10011111
159
10101111
175
10111111
191

11111111
255
11111111
255
11111111
255
11111111
255

m = 12

/20

1
1
1
1
1
1
1
1

10111111
199
10011111
207
10101111
215
10111111
223

11111111
255
11111111
255
11111111
255
11111111
255

m = 11

/21

1
1
1
1
1
1

11111111 11110011
255
243
11111111 11110111
255
247
11111111 11111011
255
251

Das könnte Ihnen auch gefallen