cn2668 routers and switches kemtis kunanuraksapong msis with distinction mcts, mcdst, mcp, a+

19
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Upload: caitlin-mclaughlin

Post on 25-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

CN2668Routers and SwitchesKemtis KunanuraksapongMSIS with DistinctionMCTS, MCDST, MCP, A+

Page 2: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Agenda

•Chapter 3: TCP/IP•Exercise•Quiz

Page 3: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Overview of the TCP/IP

•Transmission Control Protocol/Internet Protocol▫A protocol suite

•TCP/IP Model▫Application▫Transport (TCP and UDP)▫Internetwork (IP Address)▫Network Interface▫See Figure 3-1 on Page 55

Page 4: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Application Layer

•Includes protocol for e-mail, remote logins, files transfer, web browsing, etc▫FTP/TFTP▫NFS (Network File System)▫SMTP▫Telnet▫DNS▫HTTP

Page 5: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Transport Layer

•Performs end-to-end packet delivery, reliability, and flow control▫TCP▫UDP

•Ports▫Well known Ports (1 – 1023)▫Registered Ports (1024 – 49151)▫Dynamic/Private Ports (49152 – 65535)

Page 6: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

TCP Three-Way Handshake

•See Figure 3-3 on Page 59▫Src Port/Dest Port▫Seq. Nmber▫Ack. Number

•Initial sequence numbers (ISN) is required before two computers can communicatate▫Host A send SYN to Host B▫Host B send ACK to Host A▫Host A send ACK to Host B▫See Figure 3-4 on Page 60

Page 7: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

TCP Sliding Windows

•Sliding windows control the flow and efficiency of communication▫After three-way handshake is complete▫Allows multiple packets to be sent and

affirmed with a single ACK packet▫Sender control the window’s size

Page 8: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Flow control method

•TCP Sliding Windows•Buffering

▫Store packets in the memory•Congestion avoidance

▫Slow down the transmission rate request

Page 9: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Internetwork Layer

•Handles software (logical) addressing•Four main protocols

▫IP▫ICMP▫ARP (Address Resolution Protocol)

Resolves IP address to MAC for source hosts▫RARP

Replaced by DHCP

Page 10: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Internetwork Layer (Cont.)

•ARP Tables▫Maintain in volatile RAM▫Contains MAC and IP addresses of other

devices on the network•ARP Request

▫Source host broadcast request when it can’t find the matching in the cache/ ARP Table. (Knows IP but no MAC)

Page 11: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Internetwork Layer (Cont.)

•ARP Request Frame▫See Figure 3-7 on Page 65▫Actual packets have 28 octets▫Destination MAC is FF:FF:FF:FF:FF:FF▫The destination send ARP reply back as

unicast•2 to 10 minute cache life

▫If used twice in the first 2 minutes, then it is extend to 10 minutes

Page 12: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Internetwork Layer (Cont.)

•RARP▫Same as ARP, except that it used for

diskless machine▫A client IP must be stored on a RARP

server•RARP Request Frame

▫See Figure 3-8 on Page 66•RARP Client

▫Receives a RARP reply from server and copy IP’s configuration to RAM till it’s reboot or shutdown

Page 13: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Internetwork Layer (Cont.)

•Routers and ARP▫Router maintain ARP table

•Ping Utility▫Use ICMP echo request/reply messages▫! means ping success▫See Table 3-1 on Page 68 for Ping

responses▫Standard Ping and Extended Ping

See Figure 3-10 on Page 69

Page 14: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Internetwork Layer (Cont.)

•Trace Utility▫Uses ICMP echo request/reply messages▫Shows the exact path a packet takes from

the source to destination

Page 15: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Frame Transmission

•The frame are sent to router when the packet is not on their segment

•Router remove the MAC address and determine which segment to forward the packet

Page 16: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Dynamic or Static Tables

•Static Table▫Has to be update manually by Network

Admin•Dynamic Table

▫Update are provided through routing protocols

▫Distance-vector algorithm Considers the number of hops between two

points▫Link state algorithm

Consider network traffic, connection speed, and other factors

Page 17: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Routing Packets

•See Figure 3-14 on Page 74▫Host A send packet to Router A▫Router 1 analyze the packet then forward

to Router 2 Router strip the Network Interface layer

information off the packet. Check the routing table for destination port Repack the packet with new MAC (MAC of

Router 2)▫Router 2 do the same and forward to

Router 3▫Router 3 analyze and send it to Host B

Page 18: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Cisco Three-Layer Hierarchical

•Core Layer▫Responsible for switching large amounts of

data quickly and efficiently•Distribution Layer

▫Provides networking services such as NAT, Firewall, QoS

▫IP addressing is managed at this layer•Access Layer (Desktop Layer)

▫Workstations / printers / End node•See Figure 3-15 on Page 77

Page 19: CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Assignment

•Review Questions▫1 – 22

•Case Projects▫1, 2