This preview shows page 1. Sign up to view the full content.
Unformatted text preview: slip and
localhost) don't match, so a search is made through the routing table again for a
matching network address. A match is found with the entry 220.127.116.11 (the
network IDs and subnet IDs match), so the emd0 interface is used. This is a direct
route, so the link-layer address will be the destination address.
2. Assume the destination address is the host slip, 18.104.22.168. The first search
through the table, for a matching host address, finds a match. This is an indirect
route so the destination IP address remains 22.214.171.124, but the link-layer address
must be the link-layer address of the gateway 126.96.36.199, and the interface is
3. This time we're sending a datagram across the Internet to the host aw.com
(188.8.131.52). The first search of the routing table for a matching host address
fails, as does the second search for a matching network address. The final step is a
search for a default entry, and this succeeds. The route is an indirect route through file:///D|/Documents%20and%20Settings/bigini/Docum...i/homenet2run/tcpip/tcp-ip-illustrated/ip_rout.htm (5 of 17) [12/09/2001 14.46.50] Chapter 9. IP Routing the gateway 184.108.40.206 using the interface emd0.
4. In our final example we send a datagram to our own host. There are four ways to do
this, using either the hostname, the host IP address, the loopback name, or the
loopback IP address:
ftp svr4 ftp
In the first two cases, the second search of the routing table yields a network match
with 220.127.116.11, and the packet is sent down to the Ethernet driver. As we
showed in Figure 2.4 it will be seen that this packet is destined for the host's own IP
address, and the packet is sent to the loopback driver, which sends it to the IP input
In the latter two cases, specifying the name of the loopback interface or its IP
address, the first search of the routing table finds the matching host address entry,
and the packet is sent to the loopback driver, which sends it to the IP input...
View Full Document
This test prep was uploaded on 04/04/2014 for the course ECE EL5373 taught by Professor Guoyang during the Spring '12 term at NYU Poly.
- Spring '12