08.02.2015 Views

Syngress - Eleventh Hour Network+ Exam N10-004 Study Guide (11 ...

Syngress - Eleventh Hour Network+ Exam N10-004 Study Guide (11 ...

Syngress - Eleventh Hour Network+ Exam N10-004 Study Guide (11 ...

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.

Understanding Basic IP Routing 99<br />

■<br />

■<br />

Direct delivery The router is not used to forward the packet because the<br />

destination is on the same network (subnet or network segment) as the<br />

sending host.<br />

Indirect delivery Packets are sent to an intermediate point for forwarding,<br />

usually a router.<br />

Crunch Time<br />

How does a data packet travel from one host to another<br />

across the span of networks<br />

1. The sending host determines the destination IP<br />

address by using one of the name-to-IP resolution<br />

methods (WINS, DNS, and so forth).<br />

2. The IP layer of a sending host consults with the<br />

routing table that is stored in memory.<br />

3. Since the destination is on a different network,<br />

the packet will be sent by indirect delivery.<br />

4. The address resolution protocol (ARP) table that<br />

is stored in memory is consulted to check for the<br />

existence of the required next hop media access<br />

control (MAC) address (MAC address of the local<br />

router in this case).<br />

5. If the MAC is not in the ARP table, an ARP broadcast<br />

is sent to obtain the MAC address of the<br />

destination.<br />

6. Then the packet is sent from the sending host<br />

with the data encapsulated in a frame format<br />

for the Network Interface Layer with the destination’s<br />

physical address (MAC address of the<br />

router) included directly to the router.<br />

7. The router takes a look at the packet and determines<br />

where it should be sent to reach its final<br />

destination.<br />

8. The router passes the packet from its internal<br />

interface (the one with an address on the same<br />

subnet as the sender) to its external interface (the<br />

interface that’s on a different subnet).<br />

9. From there, the packet may make its way across<br />

many routers before reaching the subnet or<br />

network on which the destination computer<br />

resides.<br />

IP Routing Tables<br />

■<br />

Any IP node that initializes the TCP/IP stack will generate a default routing<br />

table based on the configuration of that node.<br />

IP ROUTING TABLE ENTRIES<br />

Routing table entries can be default, manual, or dynamic.<br />

■<br />

■<br />

■<br />

The default values are created when the TCP/IP stack is initialized.<br />

Manual entries can be placed in the table for specific routes that may be<br />

desired. Some organizations, for instance, want specific traffic to go through<br />

specific routers. In that case, those routes can be entered into the routing<br />

table manually.<br />

Routes can be added dynamically if the router supports dynamic routing<br />

tables.<br />

We’ll discuss the differences between manual and dynamic routing in a moment.<br />

For now, let’s look at the specific entries in a routing table. Routing table entries

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

Saved successfully!

Ooh no, something went wrong!