Download - Cisco CCNA module 9

Transcript
Page 1: Cisco CCNA module 9

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

Module 9 TCP/IP Protocol Suite and IP

Addressing

Page 2: Cisco CCNA module 9

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

www.pnj.ac.idObjectives

Page 3: Cisco CCNA module 9

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

www.pnj.ac.idThe TCP/IP Model The Department of Defense (DoD) developed the TCP/IP reference

model to provide a communication network that could continue to function in wartime.

Page 4: Cisco CCNA module 9

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

www.pnj.ac.idTCP/IP Applications

Page 5: Cisco CCNA module 9

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

www.pnj.ac.idTransport Layer Protocols

• The functions of TCP and UDP

Segment upper-layer application data

Page 6: Cisco CCNA module 9

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

www.pnj.ac.idTransport Layer Protocols

TCP is responsible for:• end-to-end

communication • flow control • reliability of data delivery

TCP supports a logical connection between the sending and receiving hosts

Page 7: Cisco CCNA module 9

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

www.pnj.ac.idTransport Layer Protocols

Page 8: Cisco CCNA module 9

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

www.pnj.ac.idInternet Layer ProtocolsThe IP Protocol is responsible for:• defining packet format and addressing scheme• routing packets to remote hosts• transferring data between the internet layer and the network access

layer

Page 9: Cisco CCNA module 9

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

www.pnj.ac.idInternet Layer Protocols

• IP - connectionless, best-effort delivery routing of packets.

• ICMP - control and messaging capabilities.

• ARP - determines the data link layer address for known IP addresses.

• RARP - determines the IP address for a known MAC address.

Page 10: Cisco CCNA module 9

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

www.pnj.ac.idInternet Path Determination

Page 11: Cisco CCNA module 9

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

www.pnj.ac.idQuestion

• Why is IP sometimes referred as an unreliable protocol?

• Is it really unreliable?

Page 12: Cisco CCNA module 9

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

www.pnj.ac.idAnswer

• IP is sometimes referred to as an unreliable protocol.

• This does not mean that IP will not accurately deliver data across a network.

• Calling IP an unreliable protocol simply means that IP does not perform error checking and correction.

• That function is handled by upper layer protocols from the transport or application layers.

Page 13: Cisco CCNA module 9

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

www.pnj.ac.idNetwork Access Protocols

The Network Access Layer is the host-to-network layer of the TCP/IP model.

• Encapsulation of IP packets into frames

• Interface to the physical medium

Page 14: Cisco CCNA module 9

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

www.pnj.ac.id

Page 15: Cisco CCNA module 9

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

www.pnj.ac.idComparing TCP/IP with the OSI Model

Page 16: Cisco CCNA module 9

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

www.pnj.ac.idRouter Connects Two Networks

• A network of networks is called an internet, indicated with the lowercase “i”.

• When referring to the networks that developed from the DoD on which the Worldwide Web (www) runs, the uppercase “I” is used and is called the Internet.

Page 17: Cisco CCNA module 9

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

www.pnj.ac.idRouters Connect Local and Remote Networks

Page 18: Cisco CCNA module 9

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

www.pnj.ac.idUsers See TCP/IP Cloud

Page 19: Cisco CCNA module 9

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

www.pnj.ac.idPhysical Details Hidden from Users

Page 20: Cisco CCNA module 9

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

www.pnj.ac.id

“Scale-Free Networks”Scientific AmericanMay 2003

The internet somewhere in the N.E. US

Page 21: Cisco CCNA module 9

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

www.pnj.ac.idForwarding Packets—IP address

• A router forwards packets from the originating network to the destination network using the IP protocol.

• The packets must include an identifier for both the source and destination networks.

• Accordingly, every IP address has two parts

– One part identifies the network where the system is connected

– A second part identifies that particular system on the network

Page 22: Cisco CCNA module 9

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

www.pnj.ac.idHost Address

192.168.1.01. 192.168.1.12. 192.168.1.23. 192.168.1.34. 192.168.1.4

192.168.2.01. 192.168.2.12. 192.168.2.23. 192.168.2.34. 192.168.2.4

Page 23: Cisco CCNA module 9

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

www.pnj.ac.idIP Addressing Format

Page 24: Cisco CCNA module 9

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

www.pnj.ac.idConsecutive Decimal and Binary Values

Page 25: Cisco CCNA module 9

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

www.pnj.ac.idTwo Byte (Sixteen Bit Number)

Page 26: Cisco CCNA module 9

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

www.pnj.ac.idTwo Byte (Sixteen Bit Number)

Page 27: Cisco CCNA module 9

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

www.pnj.ac.idOne Byte (Eight Bit Number)

Page 28: Cisco CCNA module 9

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

www.pnj.ac.idDecimal to Binary Conversion

Page 29: Cisco CCNA module 9

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

www.pnj.ac.idTwo Byte (Sixteen Bit Number)

Page 30: Cisco CCNA module 9

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

www.pnj.ac.idBinary to Decimal Conversion

Page 31: Cisco CCNA module 9

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

www.pnj.ac.idNetwork Layer Communication Path

• Routers use IP to make decisions about how to reach a particular destination

Page 32: Cisco CCNA module 9

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

www.pnj.ac.idNetwork and Host Addressing

Page 33: Cisco CCNA module 9

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

www.pnj.ac.idInternet Addresses

• IP address space is hierarchical

• Uses the concept of classes

• Compare this with the flat MAC address space

Page 34: Cisco CCNA module 9

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

www.pnj.ac.idIdentifying Address Classes

• The pattern of High Order Bits defines the class of the network address

Page 35: Cisco CCNA module 9

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

www.pnj.ac.idIP Address Classes

Page 36: Cisco CCNA module 9

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

www.pnj.ac.idAddress Class Prefixes

Page 37: Cisco CCNA module 9

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

www.pnj.ac.idNetwork and Host Division

Page 38: Cisco CCNA module 9

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

www.pnj.ac.idClass A Address

Page 39: Cisco CCNA module 9

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

www.pnj.ac.idClass B Address

Page 40: Cisco CCNA module 9

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

www.pnj.ac.idClass C Address

Page 41: Cisco CCNA module 9

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

www.pnj.ac.idClass D Address Architecture

Page 42: Cisco CCNA module 9

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

www.pnj.ac.idClass E Address Architecture

Page 43: Cisco CCNA module 9

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

www.pnj.ac.idIP Address Range

Page 44: Cisco CCNA module 9

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

www.pnj.ac.idNetwork Address

• Host portion all zeros

Page 45: Cisco CCNA module 9

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

www.pnj.ac.idBroadcast Address

• Host portion all ones

Page 46: Cisco CCNA module 9

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

www.pnj.ac.idNetwork Address

Page 47: Cisco CCNA module 9

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

www.pnj.ac.idUnicast Transmission (to ONE Host only)• Addressed to a specific host

i.e. 176.10.16.1

• Only that host looks at the contents of the packet

Page 48: Cisco CCNA module 9

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

www.pnj.ac.idBroadcast Address (to ALL Hosts)

Page 49: Cisco CCNA module 9

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

www.pnj.ac.idBroadcast Transmission

• All hosts listen for broadcast messages

• Only the host with the appropriate service responds

Page 50: Cisco CCNA module 9

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

www.pnj.ac.idRequired Unique Address• A packet can only be sent out onto the Internet if it has a

unique address

Page 51: Cisco CCNA module 9

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

www.pnj.ac.idPrivate IP Addresses

• You can use these addresses on any private LAN.

• You CANNOT use them on the internet. • Internet routers will block them.

Page 52: Cisco CCNA module 9

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

www.pnj.ac.idUsing Private Addresses in the WAN

•Connecting a network using private addresses to the Internet requires translation of the private addresses to public addresses •This translation process is referred to as Network Address Translation (NAT)

Page 53: Cisco CCNA module 9

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

www.pnj.ac.idIPv4 Address Allocation

Page 54: Cisco CCNA module 9

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

www.pnj.ac.idSubnet Addresses

Page 55: Cisco CCNA module 9

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

www.pnj.ac.idIPv4 and IPv6

Page 56: Cisco CCNA module 9

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

www.pnj.ac.idIPv4 and IPv6 Addresses

Page 57: Cisco CCNA module 9

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

www.pnj.ac.idAssigning IP Addresses

Page 58: Cisco CCNA module 9

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

www.pnj.ac.idTCPIP/IP Configuration for Windows 98

Page 59: Cisco CCNA module 9

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

www.pnj.ac.idIP Address

Page 60: Cisco CCNA module 9

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

www.pnj.ac.idARP/RARP Message Structure

Page 61: Cisco CCNA module 9

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

www.pnj.ac.idBOOTP Message Structure

Page 62: Cisco CCNA module 9

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

www.pnj.ac.idDHCP Message Structure

Page 63: Cisco CCNA module 9

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

www.pnj.ac.idARP Table Entry

Page 64: Cisco CCNA module 9

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

www.pnj.ac.idARP Table Funtions

Page 65: Cisco CCNA module 9

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

www.pnj.ac.idThe ARP Process

Page 66: Cisco CCNA module 9

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

www.pnj.ac.idARP Request

Page 67: Cisco CCNA module 9

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

www.pnj.ac.idProxy ARP Request

Page 68: Cisco CCNA module 9

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

www.pnj.ac.idWhich host has this IP address?

• ARP

Page 69: Cisco CCNA module 9

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

www.pnj.ac.idDefault Gateway

Page 70: Cisco CCNA module 9

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

www.pnj.ac.idSummary

Page 71: Cisco CCNA module 9

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

www.pnj.ac.idQuick Reference Subnetting Chart


Top Related