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

Create successful ePaper yourself

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

244 Chapter 5 � IP Routing<br />

2501A(config)#int e0<br />

2501A(config-if)#ip address 172.16.10.2 255.255.255.0<br />

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

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

2501A(config-if)#ip address 172.16.20.1 255.255.255.0<br />

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

The preceding configuration configured serial 0 into network<br />

172.16.20.0 and Ethernet 0 into network 172.16.10.0. The show ip route<br />

command displays the following:<br />

2501A#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.20.0 is directly connected, Serial0<br />

C 172.16.10.0 is directly connected, Ethernet0<br />

2501A#<br />

Notice that router 2501A knows how to get to networks 172.16.10.0 and<br />

172.16.20.0. Router 2621 and Router A can communicate because they are<br />

on the same LAN.<br />

2501B Configuration<br />

The configuration of 2501B is more of the same, except that you also need<br />

to add the clock rate command to the DCE interfaces connected to both<br />

serial interfaces. For more information on the DCE interfaces and the clock<br />

rate command, please see Chapter 4.<br />

Router>en<br />

Router#config t<br />

Router(config)#hostname 2501B<br />

2501B(config)#int e0<br />

2501B(config-if)#ip address 172.16.30.1 255.255.255.0<br />

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

2501B(config-if)#int s0

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

Saved successfully!

Ooh no, something went wrong!