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.

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

The following router output shows the configuration of static routes on<br />

the 2621A router and the routing table after the configuration. For the<br />

2621A router to find the remote networks, an entry is placed in the routing<br />

table describing the network, the mask, and where to send the packets.<br />

Notice that each static route sends the packets to 172.16.10.2, which is the<br />

2621 router’s next hop.<br />

2621A(Config)#ip route 172.16.20.0 255.255.255.0<br />

172.16.10.2<br />

2621A(Config)#ip route 172.16.30.0 255.255.255.0<br />

172.16.10.2<br />

2621A(Config)#ip route 172.16.40.0 255.255.255.0<br />

172.16.10.2<br />

2621A(Config)#ip route 172.16.50.0 255.255.255.0<br />

172.16.10.2<br />

After the router is configured, you can type show running-config and<br />

show ip route to see the static routes. Remember that if the routes don’t<br />

appear in the routing table, it is because the router cannot communicate to<br />

the next hop address you configured. You can use the permanent parameter<br />

to keep the route in the routing table even if the next hop device cannot be<br />

contacted.<br />

2621A#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, 5 subnets<br />

S 172.16.50.0 [1/0] via 172.16.10.2<br />

S 172.16.40.0 [1/0] via 172.16.10.2<br />

S 172.16.30.0 [1/0] via 172.16.10.2<br />

S 172.16.20.0 [1/0] via 172.16.10.2<br />

C 172.16.10.0 is directly connected, FastEthernet0/0<br />

2621A#<br />

The 2621 router now has all the information it needs so that it can communicate<br />

to the other remote networks. However, if the 2501A router is not<br />

configured with all the same information, the packets will be discarded<br />

at 2501A.

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

Saved successfully!

Ooh no, something went wrong!