section 8: tcp/ip protocol suite and utilities csis 479r fall 1999 “network +” george d....
TRANSCRIPT
![Page 1: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/1.jpg)
Section 8: TCP/IP Protocol Suite and Utilities
CSIS 479R Fall 1999“Network +”
George D. Hickman, CNI, CNE
![Page 2: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/2.jpg)
Objectives Identify the components of the
TCP/IP protocol suite as they relate to the OSI and DoD models
Describe distance vector routing with IP
Describe link state routing with IP List the protocols that comprise
TCP/IP
![Page 3: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/3.jpg)
Objectives (Con’t) Use Windows TCP/IP utilities Describe the IPX/SPX Protocol Suite
and the OSI reference model Describe routing with RIP/SAP Describe the Protocols used in a
Windows NT Network
![Page 4: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/4.jpg)
TCP/IP TCP
Transmission Control Protocol Responsible for establishing
communication between two systems IP
Internet Protocol Responsible for the transfer of data
![Page 5: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/5.jpg)
DoD Model Process/Application
Acts as the User Interface; Provides applications that transfer data between hosts
Host-to-Host Maintains data integrity; sets up reliable end-to-end
communication; ensures error-free delivery (proper sequence, no loss or duplication)
Internet Routing; Foundation of TCP/IP protocol suite
Network Access Defines physical interconnection between hosts
![Page 6: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/6.jpg)
TCP/IP Suite and OSI Model See figure 8-2 on page 8-6
TCP maps to Transport layer
IP maps to Network layer
![Page 7: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/7.jpg)
Routing IP IP is the portion of the TCP/IP Suite
that provides addressing and connectionless services for packet forwarding; packet switching
IP allows an internetwork to be divided into logical groups called autonomous systems
![Page 8: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/8.jpg)
Autonomous Systems A group of networks administered
by a single authority IGPs: Interior gateway protocols
route information within an autonomous system
EGPs: Exterior gateway protocols (or Border gateway protocols—BGP) interconnect autonomous systems
![Page 9: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/9.jpg)
Distance Vector Routing with IP
RIP Routing Information Protocol
Routers advertise a “metric” of how many hops they are from a network Can be advertised higher if needed
Costs of a route are 1-16 metrics A route with a cost of 16 is
considered unreachable
![Page 10: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/10.jpg)
Drawbacks of RIP and Distance Vector Routing Convergence
The amount of time it takes all routers to synchronize their databases when a change occurs to the network
Slow convergence Also called the count-to-infinity
problem
![Page 11: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/11.jpg)
Count-to-infinity problem Split Horizon
Destinations are not advertised at all to the interface from which they were learned
Figure 8-6 page 8-12 Poison Reverse
All routes learned from a network are advertised back to the network with a cost of 16
Enabling Poison Reverse reduces convergence time, but increases RIP traffic
![Page 12: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/12.jpg)
RIP and RIP II RIP routers broadcast their routes
every 30 seconds RIP II routers add support for:
Authentication Subnet masks Next Hop Addresses Multicast Packets
IP multicast address for RIP II is 224.0.0.9
![Page 13: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/13.jpg)
Link State Routing—OSPF L. S. routing minimizes size of routing
tables Open Shortest Path First Protocol
Build route tables from packets distributed by other routers
“Hello packets” contain information about a routers directly connected interfaces and their costs.
They establish/maintain neighbor relationships between routers on same segment
![Page 14: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/14.jpg)
OSPF learning routes 1. Identify neighboring routers (“Hello”)
Announces itself (address and mask) to other routers
Determines router’s neighbors Establishes interval that routers send
hello’s Identifies DR (Designated Router)
Router with highest priority Identifies BDR (Backup Designated Router)
Router with second highest priority
![Page 15: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/15.jpg)
OSPF learning routes (Con’t)
2. Synchronizing link state advertisement databases All routers create and synchronize their
LS advertisement databases with the DR and BDR (after DR and BDR elected, neighbor list created)
Before synchronization routers communicate in two-way state
After synchronization, routers enter the full neighbor state. Routers then have adjacency
![Page 16: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/16.jpg)
Selecting Routes Link State Advertisement DB is OSPF
router’s view of the internetwork OSPF algorithm determines path(s)
and adds up the cost(s). Lowest cost wins, and is added to routing table.
Algorithm rebuilds table when change in LSDB occurs, after a hold-down interval
![Page 17: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/17.jpg)
Maintaining Route Information Link State Update (LSU) packets are
sent when changes occur or every 30 minutes (default)
DR floods packet to local network Each router compares LSU to it’s
DB. Resets aging timer. Entry dropped if age=4 times router dead interval
Router sends ACK to original router
![Page 18: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/18.jpg)
OSPF Terms Autonomous System (AS)
A group of routers that exchange routing information using a common routing protocol in a single administrative unit.
Autonomous System Border Router (ASBR) A router that exchanges routing information
with routers belonging to other AS. ASBRs distribute routing info about external destinations
![Page 19: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/19.jpg)
OSPF Terms (Con’t) Area
Large enterprise-area networks are logically divided into smaller contiguous networks.
Areas act like an AS, so OSPF routers do not have to maintain LSDB on other areas
Reduces LS Acknowledgements (LSA) sent Reduces size of DB on each router Reduces amount of time to recompute routes
following a change to the internetwork
![Page 20: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/20.jpg)
OSPF Terms (Con’t) Backbone
A logical area to which all other areas are connected. Address is always 0.0.0.0
Stub area An area with only one ABR
Transit area Areas with more than one ABR
See page 8-23
![Page 21: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/21.jpg)
OSPF vs. RIP OSPF is considered superior to RIP
Support for large Internetworks RIP Metric <= 16; OSPF Metric <= 65535
Variable Length Subnetting LSA’s include subnet mask information
about networks. Different segments can have different subnets
Rapid Convergence No count-to-infinity problem
Reduced Internetwork Traffic RIP broadcasts DB every 30 seconds;
OSPF only when changes occur
![Page 22: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/22.jpg)
Protocols in the TCP/IP Suite Internet Layer Protocols
IP ICMP
Address resolution Protocols ARP RARP BOOTP
![Page 23: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/23.jpg)
Protocols in the TCP/IP Suite Host-to-Host layer Protocols
TCP UDP
Process/Application layer Protocols FTP / TFTP HTTP SMTP POP3 SNMP
![Page 24: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/24.jpg)
Internet Layer Protocols
Primary purpose is to route packets between hosts, often through many routers
Internet layer performs routing and packet switching
![Page 25: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/25.jpg)
IP
Provides specifications that allow routing, fragmentation, and reassembly to occur
Provides connectionless, non-guaranteed delivery of transport layer packets (TPDU)
IP can fragment TPDU into smaller parts for transmission and reassemble them later
![Page 26: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/26.jpg)
ICMP Internet Control Message Protocol Works with IP to provide internetwork
error and other control info to TCP and other upper-layer protocols
ICMP messages are sent when A packet cannot reach destination A packets TTL expires IP header problem To notify internetwork of congested/failed
links Etc.
![Page 27: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/27.jpg)
Address Resolution Protocols ARP/Reverse ARP Maps 4-byte software-based IP addresses
to 6-byte hardware-based Data Link addresses
RARP retrieves IP address from hardware address. Used by diskless workstations
BOOTP BOOTP servers keep MAC and IP addresses Newer, more commonly used than RARP
![Page 28: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/28.jpg)
DHCP Dynamic Host Configuration Protocol
Provides configuration parameters to IP hosts
Automatic allocation Permanent address assigned to host
Dynamic allocation Address leased to host for a limited time
Manual allocation DHCP delivers manually assigned numbers
![Page 29: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/29.jpg)
TCP Transmission Control Protocol
Transport Protocol Accepts messages of any length from
UPLs, Provides full-duplex, acknowledged,
connection-oriented, flow controlled, transport to a TCP peer
![Page 30: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/30.jpg)
UDP User Datagram Protocol
Transport Protocol Not connection oriented No acknowledgements UDP just accepts and transports
datagrams from a ULP UDP has lower overhead, so is faster
than TCP
![Page 31: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/31.jpg)
FTP File Transfer Protocol
Move files between hosts Allows login, directory inspection, file
manipulation, command execution Uses virtual circuits to establish a
reliable path between hosts TFTP Trivial FTP
No password, directory listings. Good for downloads
Runs on UDP—not as reliable
![Page 32: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/32.jpg)
HTTP Hyper Text Transfer Protocol Language of the WWW portion of
Internet Establishes connection with a
server and sends a request URL: Uniform Resource Locators
![Page 33: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/33.jpg)
SMTP Simple Mail Transfer Protocol A standard for exchanging mail
between workstations Relies primarily on TCP to route
messages between network hosts Does not provide user interface
![Page 34: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/34.jpg)
POP3 Post Office Protocol 3 Standard Mail server Provides message store Users connect and retrieve all
pending messages and attachements at once
Uses SMTP messaging protocol
![Page 35: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/35.jpg)
SNMP
Simple Network Management Protocol Allows management of a network from a
“SNMP manager” workstation Each host has a Management Information
Base (MIB) that holds data about itself When a threshhold is reached, a “trap”
message is sent to the management console Example: router sends SNMP trap when an
interface goes down
![Page 36: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/36.jpg)
Windows TCP/IP Utilities ARP.EXE
Diagnostic utility for ethernet TCP/IP ARP stores a cache of host IP addresses
and physical addresses FTP .EXE IPCONFIG.EXE (WinNT) WINIPCFG
(Win9x) Shows IP settings on local machine
![Page 37: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/37.jpg)
Windows TCP/IP Utilities NBTSTAT.EXE
Displays statistics and existing TCP/IP connections using NetBIOS over TCP/IP
NETSTAT.EXE Identifies status of TCP/IP connections
and provides statistics on them
![Page 38: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/38.jpg)
Windows TCP/IP Utilities PING.EXE
Packet InterNet Groper Determine if a host is available; quality of
the connection TELNET.EXE
Remote Terminal Connection TRACERT.EXE
Traces a connection route to a host and its hops
![Page 39: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/39.jpg)
IPX/SPX Novell’s protocol suite based on
Xerox Network System (XNS) protocol suite
IPX gets packets through internetwork
SPX offers connection-oriented guaranteed delivery of packets.
![Page 40: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/40.jpg)
IPX Addressing Network Address
8 digit hexadecimal number assigned to wire Internal Network Address
8 digit hexadecimal number assigned to server MAC or Node Address
12 digit hexadecimal number assigned to NIC Socket number
Determines destination within a device (RIP, SPX)
![Page 41: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/41.jpg)
RIP/SAP Routing RIP is IPX distance vector
Uses hop and tick counts to determine cost SAP is Service Advertising Protocol
Advertise services of all known servers on the network
Periodic SAP Information broadcasts (60 seconds)
SAP Service Inquiries SAP Service Responses
SAP traffic needs to be filtered to avoid bandwidth problems
![Page 42: Section 8: TCP/IP Protocol Suite and Utilities CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE](https://reader031.vdocuments.net/reader031/viewer/2022032604/56649e5f5503460f94b59aa1/html5/thumbnails/42.jpg)
Windows NT Protocols NetBEUI
NetBIOS Extended User Interface Not Routable
NWLink IPX/SPX Compatible Transport NDIS-compliant version of Novell IPX/SPX
Others Apple Talk DLC Protocol
IBM Mainframes and AS/400 Print to HP JetDirect