05.01.2013 Views

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

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.

246 Chapter 5 � IP Routing<br />

2501C(config-if)#no shut<br />

2501C(config-if)#int s0<br />

2501C(config-if)#ip address 172.16.40.2 255.255.255.0<br />

2501C(config-if)#no shut<br />

Interface Ethernet 0 is configured to participate in the 172.16.50.0 network,<br />

and serial 0 is configured into the 172.16.40.0 WAN network. The<br />

output of the show ip route command, displayed below, shows the directly<br />

connected networks on router 2501C.<br />

2501C#sh ip route<br />

Codes: C - connected, S - static, I - IGRP, R - RIP,<br />

M – [output cut]<br />

Gateway of last resort is not set<br />

172.16.0.0/24 is subnetted, 2 subnets<br />

C 172.16.50.0 is directly connected, Ethernet0<br />

C 172.16.40.0 is directly connected, Serial0<br />

2501C#<br />

Router 2501C can communicate with 2501B since they are on the same<br />

WAN network. However, by default, 2501C cannot see any other router or<br />

network.<br />

IP Routing in Our <strong>Network</strong><br />

The network in the previous section has now been configured correctly<br />

with IP addressing. However, how does a router send packets to remote networks?<br />

The routers can only send packets by looking at the routing table and<br />

discovering how to get to the remote networks. But our configured routers<br />

only have information containing directly connected networks in each routing<br />

table. What happens when a router receives a packet with a network that<br />

is not listed in the routing table? It doesn’t send a broadcast looking for the<br />

remote network—the router just discards it. Period.<br />

There are a few different ways to configure the routing tables to include<br />

all the networks in our little internetwork so that packets will be forwarded.<br />

However, the best way for one network is not necessarily best for another.

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

Saved successfully!

Ooh no, something went wrong!