Você está na página 1de 12

UNIVERSIDADE FEDERAL DE SANTA MARIA

CURSO SUPERIOR DE TECNOLOGIA EM REDES DE


COMPUTADORES

Redes de Computadores II

Rafael Copatti Trindade

Santa Maria, RS, Brasil


2014

SUMRIO
1. INTRODUO -------------------------------------------------------------------------------------03
2. TOPALOGIA DA REDE USADA PARA CONFIGURAR RIP---------------------------04

3. CONFIGURAO DOS ROTEADORES HOSTNAME---------------------------------05


4. CONFIGURAO DAS INTERFACES SERIAIS -----------------------------------05-06

5. CONFIGURAO RIP----------------------------------------------------------------------------06
6. CONFIGURAO DO OSPF E REDES E AS AREA DIVULGADAS------------- 07
7. COMANDO SHOW RUNNIG-CONFIG ------------------------------------------------07-09
8.COMANDO SHOW IP ROUTE -----------------------------------------------------------09-10

9.COMANDO SHO IP ROUTE RIP -----------------------------------------------------------10-11

1.INTRODUO

2.TOPOLOGIADAREDEUSADAPARACONFIGURAROSPF

3.CONFIGURAODOSROTEADORESHOSTNAME
3configuraoparatodosrouters
Comandosutilizados[Router7]
(Modificarnome)
Router>enable
Router#configureterminal
Router(config)#hostnamenorte
Router>enable
Router#configureterminal
Router(config)#hostnameoeste
Router>enable
Router#configureterminal
Router(config)#hostnamesul
Router>enable
Router#configureterminal
Router(config)#hostnameleste

4. CONFIGURAO DAS INTERFACES SERIAIS


(interfaceserial0/1)
norte(config)#interfaceserial0/1
norte(configif)#clockrate500000
norte(configif)#ipaddress10.0.1.2255.255.255.0
norte(configif)#noshutdown
norte(configif)#exit
norte(config)#interfaceserial0/0
norte(configif)#clockrate500000
norte(configif)#ipaddress10.0.2.2255.255.255.0
norte(configif)#noshutdown
norte(configif)#exit
Routeroeste
oeste(config)#interfaceserial0/1
oeste(configif)#clockrate500000
oeste(configif)#ipaddress10.0.1.1255.255.255.0
oeste(configif)#noshutdown
oeste(configif)#exit
oeste(config)#interfaceserial0/0
oeste(configif)#clockrate500000
oeste(configif)#ipaddress10.0.5.1255.255.255.0
oeste(configif)#noshutdown
oeste(configif)#exit

oeste(config)#interfacefastethernet0/0
oeste(configif)#ipaddress10.0.0.1255.255.255.0
oeste(configif)#noshutdown
oeste(configif)#exit
sul(config)#interfaceserial0/0
sul(configif)#clockrate500000
sul(configif)#ipaddress10.0.5.2255.255.255.0
sul(configif)#noshutdown
sul(configif)#exit
sul(config)#interfaceserial0/1
sul(configif)#clockrate500000
sul(configif)#ipaddress10.0.4.2255.255.255.0
sul(config-if)# no shutdown
leste(config)#interfaceserial0/1
leste(configif)#clockrate500000
leste(configif)#ipaddress10.0.4.1255.255.255.0
leste(configif)#noshutdown
leste(configif)#exit
leste(config)#interfaceserial0/1
leste(configif)#clockrate500000
leste(configif)#ipaddress10.0.2.1255.255.255.0
leste(config-if)# no shutdown
leste(config)#interfacefastethernet0/0
leste(configif)#ipaddress10.0.0.1255.255.255.0
leste(configif)#noshutdown
leste(config-if)# exit

5.CONFIGURAO RIP
norte> enable
norte# configure terminal
norte (config)# router rip
norte (config-router)# version 2
norte (config-router)# network 10.0.1.2
norte (config-router)# network 10.0.2.2
norte (config-router)# end
oeste> enable
oeste# configure terminal
oeste (config)# router rip
oeste(config-router)# version 2
oeste(config-router)# network 10.0.5.0
oeste(config-router)# network 10.0.1.0
oeste(config-router)# network 10.0.0.0
oeste(config-router)# end
sul> enable
sul# configure terminal
sul (config)# router rip
sul(config-router)# version 2
sul(config-router)# network 10.0.5.0
sul(config-router)# network 10.0.4.0
sul(config-router)# end
leste> enable
leste# configure terminal
leste (config)# router rip
leste(config-router)# version 2
leste(config-router)# network 10.0.4.0
leste(config-router)# network 10.0.2.0
leste(config-router)# network 10.0.3.0
leste(config-router)# end
6.COMANDOS PARA SALVAR CONFIGURAES E REINICIAR O ROTEADORES
Oscomandosaseguirforamexecutadosportodosintegrantesdogrupo.
(salvaraconfiguraoereiniciarorouter)
Router7#copyrunningconfigstartupconfig
Router7#reload
7. COMANDO SHOW RUNNIG-CONFIG
Router norte
interface FastEthernet0/0
no ip address
duplex auto
speed auto
7

shutdown
!
interface Serial0/0
ip address 10.0.2.2 255.255.255.0
clock rate 500000
!
interface Serial0/1
ip address 10.0.1.2 255.255.255.0
!
router rip
version 2
network 10.0.0.0
!
ip classless
Router oeste
interface FastEthernet0/0
ip address 10.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 10.0.5.1 255.255.255.0
!
interface Serial0/1
ip address 10.0.1.1 255.255.255.0
clock rate 500000
!
router rip
version 2
network 10.0.0.0
!
ip classless
Router sul
interfaceFastEthernet0/0
noipaddress
duplexauto
speedauto
shutdown
!
interfaceSerial0/0
ipaddress10.0.5.2255.255.255.0
clockrate500000
!
interfaceSerial0/1
ipaddress10.0.4.2255.255.255.0
!
routerrip
version2
8

network10.0.0.0
!
ipclassless
Routerleste
!
interfaceFastEthernet0/0
ipaddress10.0.3.1255.255.255.0
duplexauto
speedauto
!
interfaceSerial0/0
ipaddress10.0.2.1255.255.255.0
!
interfaceSerial0/1
ipaddress10.0.4.1255.255.255.0
clockrate500000
!
routerrip
version2
network10.0.0.0
!
ipclassless
8.COMANDO SHOW IP ROUTE
ROUTER NORTE
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 6 subnets
R
10.0.0.0 [120/1] via 10.0.1.1, 00:00:04, Serial0/1
C
10.0.1.0 is directly connected, Serial0/1 EST DIRETAMENTE CONECTADA.
C
10.0.2.0 is directly connected, Serial0/0
R
10.0.3.0 [120/1] via 10.0.2.1, 00:00:15, Serial0/0
R
10.0.4.0 [120/1] via 10.0.2.1, 00:00:15, Serial0/0
R
10.0.5.0 [120/1] via 10.0.1.1, 00:00:04, Serial0/1
ROUTER OESTE
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 6 subnets
10.0.0.0 is directly connected, FastEthernet0/0
10.0.1.0 is directly connected, Serial0/1
10.0.2.0 [120/1] via 10.0.1.2, 00:00:07, Serial0/1
10.0.3.0 [120/2] via 10.0.5.2, 00:00:02, Serial0/0
[120/2] via 10.0.1.2, 00:00:07, Serial0/1
R
10.0.4.0 [120/1] via 10.0.5.2, 00:00:02, Serial0/0
C
10.0.5.0 is directly connected, Serial0/0
ROUTER SUL
Gateway of last resort is not set
C
C
R
R

10.0.0.0/24 is subnetted, 6 subnets


R
10.0.0.0 [120/1] via 10.0.5.1, 00:00:20, Serial0/0
R
10.0.1.0 [120/1] via 10.0.5.1, 00:00:20, Serial0/0
R
10.0.2.0 [120/1] via 10.0.4.1, 00:00:02, Serial0/1
R
10.0.3.0 [120/1] via 10.0.4.1, 00:00:02, Serial0/1
C
10.0.4.0 is directly connected, Serial0/1
C
10.0.5.0 is directly connected, Serial0/0
ROUTER LESTE
Gateway of last resort is not set
R
R
C
C
C
R

10.0.0.0/24 is subnetted, 6 subnets


10.0.0.0 [120/2] via 10.0.4.2, 00:00:11, Serial0/1
[120/2] via 10.0.2.2, 00:00:18, Serial0/0
10.0.1.0 [120/1] via 10.0.2.2, 00:00:18, Serial0/0
10.0.2.0 is directly connected, Serial0/0
10.0.3.0 is directly connected, FastEthernet0/0
10.0.4.0 is directly connected, Serial0/1
10.0.5.0 [120/1] via 10.0.4.2, 00:00:11, Serial0/1

9.COMANDO SHO IP ROUTE RIP


ROUTER NORTE
10.0.0.0/24issubnetted,6subnets
R10.0.0.0[120/1]via10.0.1.1,00:00:14,Serial0/1
R10.0.3.0[120/1]via10.0.2.1,00:00:20,Serial0/0
R10.0.4.0[120/1]via10.0.2.1,00:00:20,Serial0/0
R10.0.5.0[120/1]via10.0.1.1,00:00:14,Serial0/1
semumlinkentreaec
10.0.0.0/24issubnetted,4subnets
R10.0.3.0[120/1]via10.0.2.1,00:00:13,Serial0/0
R10.0.4.0[120/1]via10.0.2.1,00:00:13,Serial0/0
R10.0.6.0[120/1]via10.0.2.1,00:00:13,Serial0/0
diminuiuasrotasesubredes,ocustodasrotasqueficaramcontinuaramasmesmas.
10.0.0.0/24issubnetted,8subnets
comrouternomeio
R10.0.0.0[120/1]via10.0.1.1,00:00:00,Serial0/1
R10.0.3.0[120/1]via10.0.2.1,00:00:11,Serial0/0
R 10.0.4.0[120/2]via10.0.1.1,00:00:00,Serial0/1parachegarnarede10.0.4.0via
10.0.1.1eletevecusto2poisdeudoissaltosemudou aredequeencaminhavaeleparaa
10.0.4.0
R10.0.5.0[120/1]via10.0.1.1,00:00:00,Serial0/1
R10.0.7.0[120/2]via10.0.1.1,00:00:00,Serial0/1
R10.0.10.0[120/1]via10.0.1.1,00:00:00,Serial0/1
ROUTEROESTE
10.0.0.0/24issubnetted,6subnets
10

R10.0.2.0[120/1]via10.0.1.2,00:00:12,Serial0/1
R10.0.3.0[120/2]via10.0.5.2,00:00:09,Serial0/0
[120/2]via10.0.1.2,00:00:12,Serial0/1
R10.0.4.0[120/1]via10.0.5.2,00:00:09,Serial0/0
semumlinkentreaec
e#showiprouterip
10.0.0.0/24issubnetted,5subnets
R10.0.2.0[120/2]via10.0.5.2,00:00:15,Serial0/0
R10.0.3.0[120/2]via10.0.5.2,00:00:15,Serial0/0
R10.0.4.0[120/1]via10.0.5.2,00:00:15,Serial0/0
norouteroestesemolinkentreorouteroesteenorte
suassubredesdiminuirampara5eocustodealgumasaumentaramdevidoaquantidadede
saltosqueelafezparachegaratasuaredesdedestino.
ROUTERSUL
10.0.0.0/24issubnetted,6subnets
R10.0.0.0[120/1]via10.0.5.1,00:00:12,Serial0/0
R10.0.1.0[120/1]via10.0.5.1,00:00:12,Serial0/0
R10.0.2.0[120/1]via10.0.4.1,00:00:13,Serial0/1
R10.0.3.0[120/1]via10.0.4.1,00:00:13,Serial0/1
semlinkentreoesteenorte
10.0.0.0/24issubnetted,5subnets
R10.0.0.0[120/1]via10.0.5.1,00:00:26,Serial0/0
R10.0.2.0[120/1]via10.0.4.1,00:00:06,Serial0/1
R10.0.3.0[120/1]via10.0.4.1,00:00:06,Serial0/1
ROUTERLESTE
10.0.0.0/24issubnetted,6subnets
R10.0.0.0[120/2]via10.0.4.2,00:00:17,Serial0/1
[120/2]via10.0.2.2,00:00:18,Serial0/0
R10.0.1.0[120/1]via10.0.2.2,00:00:18,Serial0/0
R10.0.5.0[120/1]via10.0.4.2,00:00:17,Serial0/1
semolinkentreoesteenorte.
10.0.0.0/24issubnetted,5subnets
R10.0.0.0[120/2]via10.0.4.2,00:00:15,Serial0/1
R10.0.5.0[120/1]via10.0.4.2,00:00:15,Serial0/1

11

12

Você também pode gostar