Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Redes de Computadores II
SUMRIO
1. INTRODUO -------------------------------------------------------------------------------------03
2. TOPALOGIA DA REDE USADA PARA CONFIGURAR RIP---------------------------04
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
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
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
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