Subnetting

31
1 © 2004, Cisco Systems, Inc. All rights reserved. IP ADDRESSING AND SUBNETTING

description

 

Transcript of Subnetting

Page 1: Subnetting

1© 2004, Cisco Systems, Inc. All rights reserved.

IP ADDRESSING AND SUBNETTING

Page 2: Subnetting

222© 2004, Cisco Systems, Inc. All rights reserved.

• Dada una dirección IP y una mascara de subred, cuantas subredes hay? y cuantos host hay por cada subred?

• Dada una dirección IP y una mascara de subred, cual es el numero de Subred?

• Dada una dirección IP y una mascara de subred, cual es la dirección de broadcast de la Subred?

• Dada una dirección IP y una mascara de subred, cual es el rango de direcciones IP válidas?

Tipo de Preguntas Subneteo

Page 3: Subnetting

333© 2004, Cisco Systems, Inc. All rights reserved.

IP Address Review

Page 4: Subnetting

444© 2004, Cisco Systems, Inc. All rights reserved.

IP Address Review

Page 5: Subnetting

555© 2004, Cisco Systems, Inc. All rights reserved.

Subdividing the Host Octets of a Class C Address

Page 6: Subnetting

666© 2004, Cisco Systems, Inc. All rights reserved.

Subdividing the Host Octets of a Class B Address

Page 7: Subnetting

777© 2004, Cisco Systems, Inc. All rights reserved.

Subdividing the Host Octets of a Class A Address

Page 8: Subnetting

888© 2004, Cisco Systems, Inc. All rights reserved.

Subnetting Chart (Bit Position and Value)

Page 9: Subnetting

999© 2004, Cisco Systems, Inc. All rights reserved.

Subnetting Chart (Subnet Mask Identifier)

Page 10: Subnetting

101010© 2004, Cisco Systems, Inc. All rights reserved.

Subnetting

Mascara /27: 11111111.11111111.11111111.11100000 255.255.255.224

Page 11: Subnetting

111111© 2004, Cisco Systems, Inc. All rights reserved.

Subnetting Chart

Page 12: Subnetting

121212© 2004, Cisco Systems, Inc. All rights reserved.

Subnetting Scheme

Page 13: Subnetting

131313© 2004, Cisco Systems, Inc. All rights reserved.

Find the Subnet Mask

255.240.0.0

255.255.255.224

255.255.255.248

Page 14: Subnetting

141414© 2004, Cisco Systems, Inc. All rights reserved.

Calculating the Subnet ID

Page 15: Subnetting

151515© 2004, Cisco Systems, Inc. All rights reserved.

The Logical ANDing Process

Page 16: Subnetting

161616© 2004, Cisco Systems, Inc. All rights reserved.

  

Finding the Answer Without Using Binary

Page 17: Subnetting

171717© 2004, Cisco Systems, Inc. All rights reserved.

  

EJEMPLO: 130.4.102.1, MASK 255.255.255.0

Page 18: Subnetting

181818© 2004, Cisco Systems, Inc. All rights reserved.

  

EJEMPLO: 130.4.102.1, MASK 255.255.255.0

Page 19: Subnetting

191919© 2004, Cisco Systems, Inc. All rights reserved.

  

TO FIND THE FIRST VALID IP ADDRESS IN THE SUBNET, COPY THE SUBNET NUMBER, BUT ADD 1 TO THE FOURTH OCTET.

EJEMPLO: 130.4.102.1, MASK 255.255.255.0

Page 20: Subnetting

202020© 2004, Cisco Systems, Inc. All rights reserved.

  

THE LAST VALID IP ADDRESS IN THE SUBNET CAN BE CALCULATED EASILY: COPY THE BROADCAST ADDRESS, EXCEPT SUBTRACT 1 FROM THE FOURTH OCTET.

EJEMPLO: 130.4.102.1, MASK 255.255.255.0

Page 21: Subnetting

212121© 2004, Cisco Systems, Inc. All rights reserved.

  

EJEMPLO :130.4.102.1, MASK 255.255.252.0

Page 22: Subnetting

222222© 2004, Cisco Systems, Inc. All rights reserved.

  

EJEMPLO :130.4.102.1, MASK 255.255.252.0

Page 23: Subnetting

232323© 2004, Cisco Systems, Inc. All rights reserved.

FIRST, YOU FIND IS THE MAGIC NUMBER — WHICH IS 256 MINUS THE MASK’S INTERESTING OCTET. 256 – 252, MAGIC NUMBER OF 4.

THE MULTIPLE OF THE MAGIC NUMBER CLOSEST TO BUT NOT MORE THAN THE ADDRESS’S INTERESTING OCTET IS THE SUBNET’S INTERESTING OCTET VALUE.

EJEMPLO :130.4.102.1, MASK 255.255.252.0

Page 24: Subnetting

242424© 2004, Cisco Systems, Inc. All rights reserved.

  

ADD THE MAGIC NUMBER TO THE INTERESTING OCTET VALUE OF THE SUBNET NUMBER AND SUBTRACT 1. THE RESULT IS THE BROADCAST ADDRESS’S VALUE IN THE INTERESTING OCTET. IN THIS CASE, THE VALUE IS 100 + 4 (MAGIC NUMBER) – 1 = 103.

EJEMPLO :130.4.102.1, MASK 255.255.252.0

Page 25: Subnetting

252525© 2004, Cisco Systems, Inc. All rights reserved.

Determining Subnet, Broadcast Address and Valid Host Range

Example 1: Host: 172.16.10.33 Subnet Mask:

255.255.255.224Is this a Class A, Class B or Class C address?Therefore how many bits make up the Network portion?How many bits are in the Subnet Mask?

How many bits are left for Host addresses?How many separate addresses in each subnet?Which address represents the whole subnet?Which address is used to broadcast to the subnet?Which addresses are left in the valid host range?

First Valid: Last Valid:

Class B

16

11111111.11111111.11111111.11100000 = 27

5

32172.16.10.32

172.16.10.63

172.16.10.33 172.16.10.62

Page 26: Subnetting

262626© 2004, Cisco Systems, Inc. All rights reserved.

Example 2:

Host: 192.168.100.25 Subnet Mask: 255.255.255.252

Is this a Class A, Class B or Class C address?

Therefore how many bits make up the Network portion?

How many bits are in the Subnet Mask?

How many bits are left for Host addresses?

How many separate addresses in each subnet?

Which address represents the whole subnet?

Which address is used to broadcast to the subnet?

Which addresses are left in the valid host range?

Determining Subnet, Broadcast Address and Valid Host Range

Page 27: Subnetting

272727© 2004, Cisco Systems, Inc. All rights reserved.

EJERCICIOS

• 172.31.100.100, mask 255.255.192.0• 172.31.200.10, mask 255.255.248.0• 192.168.100.100, mask 255.255.255.248

Page 28: Subnetting

282828© 2004, Cisco Systems, Inc. All rights reserved.

EJERCICIOS

Page 29: Subnetting

292929© 2004, Cisco Systems, Inc. All rights reserved.

EJERCICIOS

Page 30: Subnetting

303030© 2004, Cisco Systems, Inc. All rights reserved.

EJERCICIOS

Page 31: Subnetting

313131© 2004, Cisco Systems, Inc. All rights reserved.

Gracias por su atención …