ip subnetting and variable length subnet masks(vlsms)

Post on 30-Jan-2017

240 Views

Category:

Documents

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

04/11/53

1

IP SUBNETTING Static Subnet

Variable Length Subnet Masks(VLSMs)

IP Addressing

The Hierarchical IP Addressing Scheme

11/4/2010 OIT,RMUTT.

2

IP address consists of 32 bits of information.

You can depict an IP address using one of three methods:

Dotted-decimal, as in 172.16.30.56 Binary, as in 10101100.00010000.00011110.00111000 Hexadecimal, as in AC.10.1E.38

04/11/53

2

11/4/2010 OIT,RMUTT. 3

11/4/2010 OIT,RMUTT. 4

04/11/53

3

Network Addressing

11/4/2010 OIT,RMUTT.

5

Network Address Range: Class A 00000000 = 0 01111111 = 127

Network Address Range: Class B 10000000 = 128 10111111 = 191

Network Address Range: Class C

11000000 = 192 11011111 = 223

Network Address Ranges: Classes D and E

11/4/2010 OIT,RMUTT.

6

The addresses between 224 and 255 are reserved for

Class D and E networks. Class D (224–239) is

used for multicast addresses and Class E (240–255) for scientific purposes,

04/11/53

4

Summary of the three classes of networks

11/4/2010 OIT,RMUTT.

7

11/4/2010 OIT,RMUTT. 8

04/11/53

5

11/4/2010 OIT,RMUTT. 9

11/4/2010 OIT,RMUTT. 10

04/11/53

6

Class A Addresses

11/4/2010 OIT,RMUTT.

11

network.node.node.node For example, in the IP address 49.22.102.70, the 49 is the

network address, and 22.102.70 is the node address.

the network address of all 0s (0000 0000) is reserved to designate the default route

Additionally, the address 127, which is reserved for diagnostics, can’t be used either,

you can really only use the numbers 1 to 126 to designate Class A network addresses. This

Class B Addresses

11/4/2010 OIT,RMUTT.

12

network.network.node.node

For example, in the IP address 172.16.30.56, the network

address is 172.16, and the node address is 30.56.

04/11/53

7

Class C Addresses

11/4/2010 OIT,RMUTT.

13

network.network.network.node example IP address 192.168.100.102, the network address is

192.168.100, and the node address is 102.

Private IP Addresses

11/4/2010 OIT,RMUTT.

14

These addresses can be used on a private network, but they’re not routable through the Internet.

04/11/53

8

การแก้ปัญหาข้อจ ากดัของ IPv4 Addressing

11/4/2010 OIT,RMUTT.

15

Network Address Translation

IP Subnetting

11/4/2010 OIT,RMUTT.

16

© 2004 Cisco Systems, Inc. All rights reserved. ICND v2.2—3-16

IP Subnetting

04/11/53

9

11/4/2010 OIT,RMUTT. 17

11/4/2010 OIT,RMUTT. 18

04/11/53

10

11/4/2010 OIT,RMUTT. 19

11/4/2010 OIT,RMUTT. 20

04/11/53

11

11/4/2010 OIT,RMUTT. 21

11/4/2010 OIT,RMUTT. 22

04/11/53

12

11/4/2010 OIT,RMUTT. 23

11/4/2010 OIT,RMUTT. 24

04/11/53

13

11/4/2010 OIT,RMUTT. 25

11/4/2010 OIT,RMUTT. 26

04/11/53

14

11/4/2010 OIT,RMUTT. 27

11/4/2010 OIT,RMUTT. 28

04/11/53

15

11/4/2010 OIT,RMUTT. 29

CIDR -- Classless InterDomain Routing

11/4/2010 OIT,RMUTT.

30

Under CIDR, the subnet mask notation is reduced to a simplified shorthand. Instead of spelling out the bits of the subnet mask, it is simply listed as the number of 1s bits that start the mask. In the above example, instead of writing the address and subnet mask as

192.60.128.0, Subnet Mask 255.255.252.0 the network address would be written simply as: 192.60.128.0/22

04/11/53

16

CIDR(2)

11/4/2010 OIT,RMUTT.

31

The use of a CIDR notated address is the same as for a Classful address. Classful addresses can easily be written in CIDR notation (Class A = /8, Class B = /16, and Class C = /24)

Reference http://www.sluug.org/resources/cidr.html

11/4/2010 OIT,RMUTT.

32

© 2004 Cisco Systems, Inc. All rights reserved. ICND v2.2—3-32

Variable Length Subnet

Masks (VLSMs)

04/11/53

17

What Is a Variable-Length Subnet Mask?

11/4/2010 OIT,RMUTT.

33

Subnet 172.16.14.0/24 is divided into smaller subnets

Subnet with one mask (/27)

Then further subnet one of the unused /27 subnets into multiple /30 subnets

Calculating VLSMs

11/4/2010 OIT,RMUTT.

34

04/11/53

18

A Working VLSM Example

11/4/2010 OIT,RMUTT.

35

What Is Route Summarization?

Routing protocols can summarize addresses of several networks into one address.

11/4/2010 OIT,RMUTT.

36

04/11/53

19

Summarizing Within an Octet

11/4/2010 OIT,RMUTT.

37

Summarizing Addresses in a VLSM-Designed Network

11/4/2010 OIT,RMUTT.

38

04/11/53

20

Implementation Considerations

11/4/2010 OIT,RMUTT.

39

• Multiple IP addresses must have the same highest-order bits.

• Routing decisions are made based on the entire address.

• Routing protocols must carry the prefix (subnet mask) length.

Route Summarization Operation in Cisco Routers

Supports host-specific routes, blocks of networks, and default routes

Routers use longest match

11/4/2010 OIT,RMUTT.

40

192.16.5.33 /32 Host

192.16.5.32 /27 Subnet

192.16.5.0 /24 Network

192.16.0.0 /16 Block of Networks

0.0.0.0 /0 Default

04/11/53

21

Summarizing Routes in a Discontiguous Network

RIPv1 and IGRP do not advertise subnets, and therefore cannot support discontiguous subnets.

OSPF, EIGRP, and RIPv2 can advertise subnets, and therefore can support discontiguous subnets.

11/4/2010 OIT,RMUTT.

41

11/4/2010 OIT,RMUTT. 42

top related