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

Create successful ePaper yourself

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

Understanding Basic IP Routing 101<br />

address (either destination IP address or gateway IP address) is then resolved to<br />

a physical address. This process uses ARP.<br />

PHYSICAL ADDRESS RESOLUTION (USING ARP)<br />

ARP resolves IP addresses to physical addresses. ARP is used to resolve the nexthop<br />

IP address to a physical MAC address using network broadcasts. The resolved<br />

MAC address is placed in the header of the packet as the destination MAC address.<br />

DID YOU KNOW<br />

Just as a routing table is stored on the local host, so too is a list of the resolved IP-to-MAC<br />

addresses. This information is held in the ARP cache. Each time a request and resolution<br />

occur, both the sender and receiver store the other’s IP-to-MAC address mapping. When<br />

a packet is received, the ARP cache is checked to see if the resolution has already been<br />

added to the cache. If so, the packet is immediately forwarded to the resolved address.<br />

ARP process – The two steps in resolving an IP address to a MAC address are the<br />

ARP request and ARP reply. The format of the ARP request is a MAC-level broadcast<br />

that is sent to all nodes on the same physical segment as the sender. Whichever<br />

node sends the ARP request message is called the ARP requester. The node whose<br />

address matches the MAC address in the ARP request will respond by sending an<br />

ARP reply. This is a unicast (directly back to the sender only) MAC frame sent by<br />

the node called the ARP responder. The ARP responder’s unicast message contains<br />

both its IP address and its MAC address.<br />

■<br />

■<br />

■<br />

Reverse ARP (RARP) will resolve an IP address to a known MAC.<br />

Inverse ARP (InARP) is used to resolve the IP address on the other end of<br />

a virtual circuit.<br />

Proxy ARP occurs when one node answers ARP requests on behalf of<br />

another node. An ARP proxy device is often a routing device, but it does not<br />

act as an IP router.<br />

STATIC AND DYNAMIC IP ROUTERS<br />

Routing tables can be updated manually or dynamically. If the table must be<br />

updated manually, it is considered to be static. If the table can be updated<br />

automatically, it is considered to be dynamic.<br />

Dynamic routing occurs when routing tables are automatically and periodically<br />

updated, and it relies upon routing protocols. Dynamic routing can be divided<br />

into two different classifications:<br />

■<br />

Interior gateway protocol (IGP) is designed for routing within an autonomous<br />

system. The three most commonly used IP-based IGP routing protocols,<br />

are as follows:<br />

■ Routing information protocol (RIP) is a distance vector routing protocol,<br />

and it determines routes based on the number of hops (how many routers

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

Saved successfully!

Ooh no, something went wrong!