tcp/ip internetworking

87
TCP/IP Internetworking

Upload: raleigh

Post on 28-Jan-2016

86 views

Category:

Documents


1 download

DESCRIPTION

TCP/IP Internetworking. Lesson 1: The Internet Infrastructure. Objectives. Define “internetwork” and explain its importance in the data marketplace Describe how TCP/IP can use existing LANs and WANs as backbones for interoperability - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: TCP/IP  Internetworking

TCP/IP Internetworking

Page 2: TCP/IP  Internetworking

Lesson 1:The Internet Infrastructure

Page 3: TCP/IP  Internetworking

Objectives

Define “internetwork” and explain its importance in the data marketplace

Describe how TCP/IP can use existing LANs and WANs as backbones for interoperability

Relate internetworks to the concept of the corporate enterprise network

Explain the Internet’s evolution

Page 4: TCP/IP  Internetworking

Objectives (cont’d)

Explain the nature, size and other characteristics of the NSFnet

Define Internet-related organizations such as ISOC, IAB, IETF and IRTF

Explain how TCP/IP relates to standards such as SNA, OSI and IPX/SPX

Identify key internetworking protocols and explain the need for multiprotocol networks

Page 5: TCP/IP  Internetworking

Overview ofNetworking

Traditional networking

Internetworking

Internet versus intranet versus extranet

Page 6: TCP/IP  Internetworking

TCP/IP and Interoperability

TCP/IP can allow different types of networks to communicate with one another

TCP/IP allows an existing LAN and WAN to operate with another

Page 7: TCP/IP  Internetworking

Internetworking and the Corporate Network

Cross-platform

Vendor-neutral

Page 8: TCP/IP  Internetworking

Evolution of the Internet

ARPANET

Test and research networks

Decentralization

Page 9: TCP/IP  Internetworking

Internet-related Authorities

Internet Society (ISOC)

Internet Architecture Board (IAB)

Internet Engineering Task Force (IETF)

Internet Engineering Steering Group (IESG)

Internet Research Task Force (IRTF)

Internet Research Group (IRSG)

Page 10: TCP/IP  Internetworking

OSI Reference Model

Application

Presentation

Session

Transport

Network

Data Link

Physical

Application

Presentation

Session

Transport

Network

Data Link

Physical

Page 11: TCP/IP  Internetworking

Packets

Cyclical Redundancy Check

Packet creation

- Adding headers

- Removing headers

Page 12: TCP/IP  Internetworking

OSI/RMProtocol Examples

Application-layer protocols

Transport-layer protocols

Network-layer protocols

Data link-layer protocols

Page 13: TCP/IP  Internetworking

MajorNetworking Protocols

TCP/IP

IPX/SPX

NetBEUI

AppleTalk

Data Link Control (DLC)

Systems Network Architecture (SNA)

Page 14: TCP/IP  Internetworking

Stateful vs. Stateless

Stateful connection-oriented

Stateless connectionless

Page 15: TCP/IP  Internetworking

TCP/IP

Default protocol for

- Windows NT 4.0

- Windows 2000

- UNIX

- NetWare 5

Page 16: TCP/IP  Internetworking

IPX/SPX

Advantages

Disadvantages

Novell NetWare layers

Page 17: TCP/IP  Internetworking

Multiprotocol Networks

These networks combine routable and nonroutable protocols

Multiple protocols can increase time to troubleshoot and maintain network

Page 18: TCP/IP  Internetworking

Summary

Define “internetwork” and explain its importance in the data marketplace

Describe how TCP/IP can use existing LANs and WANs as backbones for interoperability

Relate internetworks to the concept of the corporate enterprise network

Explain the Internet’s evolution

Page 19: TCP/IP  Internetworking

Summary (cont’d)

Explain the nature, size and other characteristics of the NSFnet

Define Internet-related organizations such as ISOC, IAB, IETF and IRTF

Explain how TCP/IP relates to standards such as SNA, OSI and IPX/SPX

Identify key internetworking protocols and explain the need for multiprotocol networks

Page 20: TCP/IP  Internetworking

Lesson 2:TCP/IP

Architecture

Page 21: TCP/IP  Internetworking

Objectives

Describe the Internet architecture model

Explain the purpose and operational essentials of TCP/IP

Describe various Internet protocols

Explain PPP and Multilink PPP operation

Find RFCs and download them from the Internet

Page 22: TCP/IP  Internetworking

Overviewof TCP/IP

Vendor-neutral

Used more widely than anticipated

Powers the Internet

Page 23: TCP/IP  Internetworking

Internet Architecture

OSI Reference Model Internet Architecture Equivalent

Application

Presentation

Application

Session

Transport

Transport

Network Internet

Data Link

Physical

Network Access

Page 24: TCP/IP  Internetworking

Requests for Comments (RFCs)

Protocol states

Internet Standards (STDs)

Reference RFCs

Page 25: TCP/IP  Internetworking

Internet Protocols

Application Layer

Transport Layer

Internet Layer

Network Access Layer

ICMPIP

IGMP

ARP RARP

Media

FTP

UDP

HTTP

SNMP

Telnet

SMTP

TCP

DNS

TFTP

BOOTP

Gopher

DHCP

Page 26: TCP/IP  Internetworking

De-multiplexing

ETHERNET

RARP

IP

ARP

IGMP

TCP

ICMP

Telnet FTP

UDP

TFTP SNMP

Page 27: TCP/IP  Internetworking

Specialized Serial Interface Protocols

PPP

- RFC 1661, STD 51

Multilink PPP

- RFC 1990

SLIP

- RFC 1055, STD 47

Page 28: TCP/IP  Internetworking

Summary

Describe the Internet architecture model

Explain the purpose and operational essentials of TCP/IP

Describe various Internet protocols

Explain PPP and Multilink PPP operation

Find RFCs and download them from the Internet

Page 29: TCP/IP  Internetworking

Lesson 3:Internet

Addressing

Page 30: TCP/IP  Internetworking

Objectives

Explain IP addressing

Define IP address classes

Determine reserved IP addressing

Explain the use of private addresses in intranet design

Design a TCP/IP network and calculate subnetwork addresses

Develop IP addressing schemes for use in an intranet

Page 31: TCP/IP  Internetworking

Internet Addressing

Internet addresses are divided into the following parts

- Network

- Host

Four fields separated by periods are a common notation for specifying addresses

- field1.field2.field3.field4

Page 32: TCP/IP  Internetworking

IP Address Fields

Contain 8 bits per field

Range from 0 to 255 decimal

field1.field2.field3.field4

1 1 1 1 1 1 1 1 = 8

128 64 32 16 8 4 2 1 = 255

1 = On0 = Off

Page 33: TCP/IP  Internetworking

Internet Address Classes

Class A

Class B

Class C

Class D

Class E

Page 34: TCP/IP  Internetworking

IP Addressing Rules

Broadcast addresses

Network addresses

Special-case source addresses

Loopback address

Page 35: TCP/IP  Internetworking

Reserved IP Addressing

10.0.0.0 through 10.255.255.255

172.16.0.0 through 172.31.255.255

192.168.0.0 through 192.168.255.255

Page 36: TCP/IP  Internetworking

Subnetworks

Performance

Manageability

Logical groups

Page 37: TCP/IP  Internetworking

Subnet Masks

Distinguish the network and host portions of an IP address

Specify whether a destination address is local or remote

Page 38: TCP/IP  Internetworking

Custom Subnet Masks

Steps for determining custom subnet masks

- Determine the number of subnets needed

- Determine the number of bits to borrow from the host portion

- Determine the subnet mask

Page 39: TCP/IP  Internetworking

Custom Subnet Masks (cont’d)

Steps for determining custom subnet masks (cont’d)

- Determine the maximum number of hosts per subnetwork

- Determine the subnetwork addresses for each subnet

- Determine the address ranges for each subnetwork

Page 40: TCP/IP  Internetworking

Classless Interdomain Routing

Technique to conserve IP addresses

Also called supernetting

Page 41: TCP/IP  Internetworking

Summary

Explain IP addressing

Define IP address classes

Determine reserved IP addressing

Explain the use of private addresses in intranet design

Design a TCP/IP network and calculate subnetwork addresses

Develop IP addressing schemes for use in an intranet

Page 42: TCP/IP  Internetworking

Lesson 4:Network

Access Layer

Page 43: TCP/IP  Internetworking

Objectives

Identify the IEEE LAN standards

Install and test protocol analyzer software

Analyze ethernet packets and identify key components

Identify fields in the ARP header

Use ARP to resolve hardware addresses to Internet addresses

Explain the function of RARP

Page 44: TCP/IP  Internetworking

IEEE Standardsand Ethernet

Ethernet is a predecessor to the IEEE 802.2/802.3 standard, and can be defined as a broadcast system for communication between systems

Page 45: TCP/IP  Internetworking

Ethernet Function

Carrier Sense Multiple Access/Collision Detection (CSMA/CD)

Page 46: TCP/IP  Internetworking

Determining Ethernet Addresses

Linux

Windows 2000

Windows 95/98/Me

Page 47: TCP/IP  Internetworking

Ethernet Headers

Destination Hardware Address

Source Hardware Address

Type Data CRC

Page 48: TCP/IP  Internetworking

Address Resolution Protocol

I P address (32-bit)

Ethernet address (48-bit)

Page 49: TCP/IP  Internetworking

Reverse Address Resolution Protocol

Used by diskless systems to find out their Internet addresses on the network

Page 50: TCP/IP  Internetworking

Summary

Identify the IEEE LAN standards

Install and test protocol analyzer software

Analyze ethernet packets and identify key components

Identify fields in the ARP header

Use ARP to resolve hardware addresses to Internet addresses

Explain the function of RARP

Page 51: TCP/IP  Internetworking

Lesson 5:Internet Layer

Page 52: TCP/IP  Internetworking

Objectives

Describe the functions of the Internet layer

Describe the routing function and how it relates to the Internet layer

Identify the IP header fields and their purpose

Examine IP packets using a protocol analyzer, and identify key components

Page 53: TCP/IP  Internetworking

IP and Routing

IP

- Connectionless

- Not necessarily reliable

Routing

- One of the most important IP functions

- Determines the path that packets travel across networks

Page 54: TCP/IP  Internetworking

IP Header

Version

Header length

Service

Datagram length

Datagram ID number

Flags

Fragment offset

Time To Live

Protocol

Header checksum

Source address

Destination address

Options

Page 55: TCP/IP  Internetworking

Summary

Describe the functions of the Internet layer

Describe the routing function and how it relates to the Internet layer

Identify the IP header fields and their purpose

Examine IP packets using a protocol analyzer, and identify key components

Page 56: TCP/IP  Internetworking

Lesson 6:Transport Layer

Page 57: TCP/IP  Internetworking

Objectives

Define the functions of the transport layer

Identify the TCP header fields and explain their purpose

Explain the TCP negotiation process

Observe data transfer via TCP, and use a protocol analyzer to identify and analyze a session establishment and termination

Page 58: TCP/IP  Internetworking

Objectives (cont’d)

Identify the UDP header fields and explain their purpose

Decode and analyze UDP headers

Describe TCP/UDP ports, including well-known and registered port numbers

Page 59: TCP/IP  Internetworking

Transport Layer Protocols

Transmission Control Protocol (TCP)

User Datagram Protocol (UDP)

Page 60: TCP/IP  Internetworking

Transmission Control Protocol

Provides a byte-stream service

- Connection-oriented

- Reliable

Page 61: TCP/IP  Internetworking

TCP Header

Source port

Destination port

Sequence number

Acknowledgment number

Header length

Reserved

Flags

Window

Checksum

Urgent pointer

Option type

Option length

Maximum segment size

Page 62: TCP/IP  Internetworking

TCP Negotiation Process

SYN

FIN

ACK

Page 63: TCP/IP  Internetworking

Establishing aTCP Connection

Active Open: SYN flag, ISN, and desired port number.

Passive Open: SYN flag, ISN, and ACK.

ACK.

Page 64: TCP/IP  Internetworking

Terminating a TCP Connection

Active close: FIN flag, stops server to client data flow.

Passive close: FIN flag, stops client to server data flow.

ACK.

ACK.

Page 65: TCP/IP  Internetworking

User Datagram Protocol

Provides a simple datagram form of communication at the transport layer

Differs from TCP in that it does not provide congestion control, use acknowledgments, retransmit lost datagrams, or guarantee reliability

Page 66: TCP/IP  Internetworking

TCP and UDP Ports

Port assignments in the Internet domain

Port Number Range Description

1 to 1023 Well-known/reserved portnumbers

1024 to 65535 Registered port numbers

Page 67: TCP/IP  Internetworking

Summary

Define the functions of the transport layer

Identify the TCP header fields and explain their purpose

Explain the TCP negotiation process

Observe data transfer via TCP, and use a protocol analyzer to identify and analyze a session establishment and termination

Page 68: TCP/IP  Internetworking

Summary (cont’d)

Identify the UDP header fields and explain their purpose

Decode and analyze UDP headers

Describe TCP/UDP ports, including well-known and registered port numbers

Page 69: TCP/IP  Internetworking

Lesson 7:Domain

Name System

Page 70: TCP/IP  Internetworking

Objectives

Define and configure hosts files

Explain the DNS and its evolution

Define the DNS architecture, and diagram the relationships among DNS root servers, master servers and client systems

Page 71: TCP/IP  Internetworking

Objectives (cont’d)

Identify DNS records and list the record types

Install and configure a DNS server and client

Describe the relationships among UNIX, Windows and DNS

Page 72: TCP/IP  Internetworking

DNS

DNS consists of three levels

- Root

- Top

- Second ROOT

Second

TOP

Second

Page 73: TCP/IP  Internetworking

DNS Components

Name server

Name resolver

Page 74: TCP/IP  Internetworking

TheHosts File

Simple text file referenced locally by applications and commands for name-to-address resolution

Page 75: TCP/IP  Internetworking

DNS Server Types

Root server

Primary or master server

Secondary or slave server

Caching and caching-only server

Forwarding server

Page 76: TCP/IP  Internetworking

DNS Records

Internet (IN)

Name Server (NS)

Start of Authority (SOA)

Address (A)

Canonical Name (CNAME)

Mail Exchanger (MX)

Pointer (PTR)

Page 77: TCP/IP  Internetworking

UNIX and DNS

named.ca

named.local

domain_name.hosts

rev.domain_name.hosts

named.boot (BIND version 4)

Named.conf (BIND version 8)

resolv.conf

Page 78: TCP/IP  Internetworking

Windows 2000 and DNS

Dynamic DNS (DDNS)

Page 79: TCP/IP  Internetworking

Summary

Define and configure hosts files

Explain the DNS and its evolution

Define the DNS architecture, and diagram the relationship among DNS root servers, master servers and client systems

Page 80: TCP/IP  Internetworking

Summary (cont’d)

Identify DNS records and list the record types

Install and configure a DNS server and client

Describe the relationships among UNIX, Windows and DNS

Page 81: TCP/IP  Internetworking

Lesson 8:Address and Parameter

Allocation for TCP/IP Hosts

Page 82: TCP/IP  Internetworking

Objectives

Define the function and roles of the BOOTP server and client

Define the function and roles of the DHCP server and client

Compare RARP, BOOTP and DHCP

Explain the difference between dynamic and manual address allocation

Install and configure a DHCP server and client

Page 83: TCP/IP  Internetworking

BOOTstrap Protocol (BOOTP)

Provides a means for diskless workstations to determine IP addresses and parameters

Created as an alternative to RARP

Page 84: TCP/IP  Internetworking

Dynamic Host Configuration Protocol

Designed to assign Internet configuration information dynamically on TCP/IP networks

Can traverse routers (providing the router is DHCP-enabled)

Page 85: TCP/IP  Internetworking

DHCP Initialization Process

Discover

Offer

Request

Acknowledgment

Page 86: TCP/IP  Internetworking

Summary

Define the function and roles of the BOOTP server and client

Define the function and roles of the DHCP server and client

Compare RARP, BOOTP and DHCP

Explain the difference between dynamic and manual address allocation

Install and configure a DHCP server and client

Page 87: TCP/IP  Internetworking

TCP/IP Internetworking

The Internet Infrastructure

TCP/IP Architecture

Internet Addressing

Network Access Layer

Internet Layer

Transport Layer

Domain Name System

Address and Parameter Allocation for TCP/IP Hosts