19.07.2013 Views

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

- In Figure 2-4B, the <strong>2nd</strong> segment is lost. In order to recover the lost segment, the web client<br />

replies a segment with acknowledge number equals to 100, which means it expecting byte<br />

number 100 from the web server. The server then resends the data to the client (retransmission).<br />

Since the client has already received bytes 200-299 without error, it is not necessary to request<br />

again. Data is then reassembled back in order at the client end and passed to the application<br />

layer. Finally, the client continues to request data from the web server by sending an ACK = 300.<br />

- Positive Acknowledgment and Retransmission (PAR) uses a timer that is set to the<br />

retransmission timeout interval and is being activated every time a sender sends a segment and<br />

waiting for the ACK reply. The sender will resend all segments once the timer expired. This<br />

provides a reliability mechanism that intends to overcome the following 2 problem scenarios:<br />

i) The transmitted segment is lost or dropped.<br />

ii) The ACK segment is failed to arrive at the sender.<br />

- TCP segments may arrive out of order because routers can send data across different links to a<br />

destination host. Hence the TCP stack running at the receiving end must reorder the out of order<br />

segments before passing the data to the application layer.<br />

- TCP Flow Control or Congestion Control provides a mechanism for the receiver to control the<br />

sending rate of the sender with a windowing mechanism. It is achieved via SEQ, ACK and<br />

Window fields in the TCP header. The receiver defines the Window size to tell the sender how<br />

many bytes are allowed to send without waiting for an acknowledgement. It represents the<br />

receiver’s available buffer. Buffer is used to temporarily store the received bytes before the<br />

receiving application is free to process the received bytes. The sender will not send when the<br />

receiver’s window is full. Increased Window size may result in increased throughput.<br />

- The window size normally starts with small value and keeps on increment until an error occurs.<br />

The window size is negotiated dynamically throughout a TCP session and it may slide up and<br />

down, hence it is often being referred to as sliding window.<br />

- Multiplexing allows multiple connections to be established between processes in 2 end systems.<br />

Multiplexing is a feature that allows the transport layer at the receiving end to differentiate<br />

between the various connections and decide the appropriate application layer applications to<br />

hand over the received and reassembled data (similar to the concept of forming virtual circuits).<br />

The source and destination port number fields in the TCP and UDP headers and a concept<br />

called socket are being used for this purpose.<br />

- Below lists some popular applications and their associated well-known port numbers:<br />

Application Protocol Port Number<br />

HTTP TCP 80<br />

FTP TCP 20 (data) and 21 (control)<br />

Telnet TCP 23<br />

TFTP UDP 69<br />

DNS TCP, UDP 53<br />

DHCP UDP 67, 68<br />

SMTP TCP 25<br />

POP3 TCP 110<br />

SNMP UDP 161<br />

- Port numbers 0 – 1023 are well-known ports, port numbers 1024 – 49151 are registered ports,<br />

and port numbers 49152 – 65535 are private vendor assigned and dynamic ports.<br />

9<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!