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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EOL<br />

NOP<br />

MSS<br />

SACK<br />

permitted<br />

SACK<br />

option<br />

8 bits<br />

00000000<br />

Kind = 0<br />

00000001<br />

Kind = 1<br />

00000010<br />

Kind = 2<br />

00000100<br />

Kind = 4<br />

00000100<br />

Length = 4<br />

00000010<br />

Length = 2<br />

Figure A6-5: TCP Options<br />

MSS (16 bits)<br />

Kind = 5<br />

00000101<br />

Left Edge of 1st Block<br />

Right Edge of <strong>2nd</strong> Block<br />

Variable<br />

Length<br />

xxxxxxxx<br />

- Padding (variable) which is comprised of 0s is used to ensure the TCP header is 32-bit aligned.<br />

- The Type of Service (TOS) field in the IP header was intended to use for TOS routing, in which<br />

a router would have separate routing tables for different TOS values. When forwarding a packet,<br />

the router would first choose a routing table based on the packet’s TOS, followed by normal<br />

routing table lookup. TOS routing has rarely been implemented in the Internet. Only 2 routing<br />

protocols – OSPF and IS-IS have ever supported the calculation of separate paths based on TOS.<br />

- The first 3 bits in the TOS field in the IP header were being used for IP Precedence, in which<br />

values from 0 – 7 can be used to specify the transmission priority of packets at each router hop.<br />

IP Precedence does not affect the path of a packet as with TOS. IP Precedence is being phased<br />

out in favor of DSCP, but is supported by many applications and routers.<br />

- Differentiated Services Code Point (DSCP) is a modification of the TOS field. 6 bits of the<br />

field are being reallocated for use as the DSCP field. DSCP is not compatible with IP Precedence.<br />

- An application can modify the handling of IP packets by extending the IP header with IP options.<br />

IP options are rarely used for regular IP packets, as most routers are heavily optimized for<br />

forwarding IP packets without IP options. The use of IP options introduces a potential DoS<br />

vulnerability against routers due to the additional processing workload of packets with IP options.<br />

- Most IP options (eg: the record-route and timestamp options) are used for statistics collection<br />

and do not affect the forwarding path of packets. However, the strict-source route and<br />

loose-source route options can be utilized by the originator of a packet to control the forwarding<br />

path the packet.<br />

- IP source routing is often considered as a security hole, as even with security is being provided<br />

through address filtering, the final destination of a packet might buried in the IP options field.<br />

As a result, most routers are configured to discard packets containing source routing options with<br />

the no ip source-route global configuration command.<br />

249<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com<br />

...<br />

Left Edge of nth Block<br />

Right Edge of nth Block

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

Saved successfully!

Ooh no, something went wrong!