Sei sulla pagina 1di 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

SUMÁRIO

  • 1. INTRODUÇÃO -------------------------------------------------------------------------------------03

  • 2. TOPALOGIA DA REDE USADA PARA CONFIGURAR RIP---------------------------04

  • 3. CONFIGURAÇÃO DOS ROTEADORES HOSTNAME---------------------------------05

  • 4. CONFIGURAÇÃO DAS INTERFACES SERIAIS –-----------------------------------05-06

  • 5. CONFIGURAÇÃO RIP----------------------------------------------------------------------------06

  • 6. CONFIGURAÇÃO DO OSPF E REDES E AS AÉREA 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.INTRODUÇÃO

2. TOPOLOGIA DA REDE USADA PARA CONFIGURAR OSPF

2. TOPOLOGIA DA REDE USADA PARA CONFIGURAR OSPF 4

3. CONFIGURAÇÃO DOS ROTEADORES HOSTNAME 3 configuração para todos routers Comandos utilizados [Router7]

(Modificar nome) Router>enable Router# configure terminal Router(config)# hostname norte

Router>enable Router# configure terminal Router(config)# hostname oeste

Router>enable Router# configure terminal Router(config)# hostname sul

Router>enable Router# configure terminal Router(config)# hostname leste

4. CONFIGURAÇÃO DAS INTERFACES SERIAIS

(interface serial 0/1) norte(config)# interface serial 0/1 norte(config­if)# clock rate 500000 norte(config­if)# ip address 10.0.1.2 255.255.255.0 norte(config­if)# no shutdown norte(config­if)# exit norte(config)# interface serial 0/0 norte(config­if)# clock rate 500000 norte(config­if)# ip address 10.0.2.2 255.255.255.0 norte(config­if)# no shutdown norte(config­if)# exit

Router oeste oeste(config)# interface serial 0/1 oeste(config­if)# clock rate 500000 oeste(config­if)# ip address 10.0.1.1 255.255.255.0 oeste(config­if)# no shutdown oeste(config­if)# exit oeste(config)# interface serial 0/0 oeste(config­if)# clock rate 500000 oeste(config­if)# ip address 10.0.5.1 255.255.255.0 oeste(config­if)# no shutdown oeste(config­if)# exit

oeste(config)# interface fastethernet 0/0 oeste(config­if)# ip address 10.0.0.1 255.255.255.0 oeste(config­if)# no shutdown oeste(config­if)# exit

sul(config)# interface serial 0/0 sul(config­if)# clock rate 500000 sul(config­if)# ip address 10.0.5.2 255.255.255.0 sul(config­if)# no shutdown sul(config­if)# exit sul(config)# interface serial 0/1 sul(config­if)# clock rate 500000 sul(config­if)# ip address 10.0.4.2 255.255.255.0

sul(config-if)# no shutdown

leste(config)# interface serial 0/1 leste(config­if)# clock rate 500000 leste(config­if)# ip address 10.0.4.1 255.255.255.0 leste(config­if)# no shutdown leste(config­if)# exit leste(config)# interface serial 0/1 leste(config­if)# clock rate 500000 leste(config­if)# ip address 10.0.2.1 255.255.255.0

leste(config-if)# no shutdown

leste(config)# interface fastethernet 0/0 leste(config­if)# ip address 10.0.0.1 255.255.255.0 leste(config­if)# no shutdown

leste(config-if)# exit

5.CONFIGURAÇÃO 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 CONFIGURAÇÕES E REINICIAR O ROTEADORES

Os comandos a seguir foram executados por todos integrantes do grupo.

(salvar a configuração e reiniciar o router) Router7#copy running­config startup­config

Router7#reload

7. COMANDO SHOW RUNNIG-CONFIG Router norte

interface FastEthernet0/0 no ip address duplex auto speed auto

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

interface FastEthernet0/0 no ip address duplex auto speed auto shutdown

! interface Serial0/0 ip address 10.0.5.2 255.255.255.0 clock rate 500000

! interface Serial0/1 ip address 10.0.4.2 255.255.255.0

!

router rip

version 2

network 10.0.0.0

!

ip classless

Router leste

! interface FastEthernet0/0 ip address 10.0.3.1 255.255.255.0 duplex auto speed auto

! interface Serial0/0 ip address 10.0.2.1 255.255.255.0

! interface Serial0/1 ip address 10.0.4.1 255.255.255.0 clock rate 500000

! router rip version 2 network 10.0.0.0

!

ip classless

8.COMANDO SHOW IP ROUTE ROUTER NORTE

Gateway of last resort is not set

R

10.0.0.0/24 is subnetted, 6 subnets 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

C

10.0.0.0 is directly connected, FastEthernet0/0

C

10.0.1.0 is directly connected, Serial0/1

R

10.0.2.0 [120/1] via 10.0.1.2, 00:00:07, Serial0/1

R

10.0.3.0 [120/2] via 10.0.5.2, 00:00:02, Serial0/0

R

[120/2] via 10.0.1.2, 00:00:07, Serial0/1 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

R

10.0.0.0/24 is subnetted, 6 subnets 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

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

R

[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

C

10.0.2.0 is directly connected, Serial0/0

C

10.0.3.0 is directly connected, FastEthernet0/0

C

10.0.4.0 is directly connected, Serial0/1

R

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/24 is subnetted, 6 subnets

R

10.0.0.0 [120/1] via 10.0.1.1, 00:00:14, Serial0/1

R

10.0.3.0 [120/1] via 10.0.2.1, 00:00:20, Serial0/0

R

10.0.4.0 [120/1] via 10.0.2.1, 00:00:20, Serial0/0

R

10.0.5.0 [120/1] via 10.0.1.1, 00:00:14, Serial0/1

sem um link entre a e c 10.0.0.0/24 is subnetted, 4 subnets R 10.0.3.0 [120/1] via 10.0.2.1, 00:00:13, Serial0/0 R 10.0.4.0 [120/1] via 10.0.2.1, 00:00:13, Serial0/0 R 10.0.6.0 [120/1] via 10.0.2.1, 00:00:13, Serial0/0 diminuiu as rotas e subredes , o custo das rotas que ficaram continuaram as mesmas . 10.0.0.0/24 is subnetted, 8 subnets com router no meio R 10.0.0.0 [120/1] via 10.0.1.1, 00:00:00, Serial0/1 R 10.0.3.0 [120/1] via 10.0.2.1, 00:00:11, Serial0/0 R 10.0.4.0 [120/2] via 10.0.1.1, 00:00:00, Serial0/1 para chegar na rede 10.0.4.0 via 10.0.1.1 ele teve custo 2 pois deu dois saltos e mudou a rede que encaminhava ele para a

10.0.4.0

R 10.0.5.0 [120/1] via 10.0.1.1, 00:00:00, Serial0/1 R 10.0.7.0 [120/2] via 10.0.1.1, 00:00:00, Serial0/1 R 10.0.10.0 [120/1] via 10.0.1.1, 00:00:00, Serial0/1

ROUTER OESTE

10.0.0.0/24 is subnetted, 6 subnets

R

10.0.2.0 [120/1] via 10.0.1.2, 00:00:12, Serial0/1

R

10.0.3.0 [120/2] via 10.0.5.2, 00:00:09, Serial0/0

R

[120/2] via 10.0.1.2, 00:00:12, Serial0/1 10.0.4.0 [120/1] via 10.0.5.2, 00:00:09, Serial0/0

sem um link entre a e c

e#show ip route rip 10.0.0.0/24 is subnetted, 5 subnets R 10.0.2.0 [120/2] via 10.0.5.2, 00:00:15, Serial0/0 R 10.0.3.0 [120/2] via 10.0.5.2, 00:00:15, Serial0/0 R 10.0.4.0 [120/1] via 10.0.5.2, 00:00:15, Serial0/0 no router oeste sem o link entre o router oeste e norte suas sub­redes diminuiram para 5 e o custo de algumas aumentaram devido a quantidade de saltos que ela fez para chegar até a sua redes de destino.

ROUTER SUL

10.0.0.0/24 is subnetted, 6 subnets

R

10.0.0.0 [120/1] via 10.0.5.1, 00:00:12, Serial0/0

R

10.0.1.0 [120/1] via 10.0.5.1, 00:00:12, Serial0/0

R

10.0.2.0 [120/1] via 10.0.4.1, 00:00:13, Serial0/1

R

10.0.3.0 [120/1] via 10.0.4.1, 00:00:13, Serial0/1

sem link entre oeste e norte

10.0.0.0/24 is subnetted, 5 subnets 10.0.0.0 [120/1] via 10.0.5.1, 00:00:26, Serial0/0 10.0.2.0 [120/1] via 10.0.4.1, 00:00:06, Serial0/1 10.0.3.0 [120/1] via 10.0.4.1, 00:00:06, Serial0/1

R

R

R

ROUTER LESTE

10.0.0.0/24 is subnetted, 6 subnets 10.0.0.0 [120/2] via 10.0.4.2, 00:00:17, 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.5.0 [120/1] via 10.0.4.2, 00:00:17, Serial0/1

R

R

R

sem o link entre oeste e norte.

10.0.0.0/24 is subnetted, 5 subnets

R

10.0.0.0 [120/2] via 10.0.4.2, 00:00:15, Serial0/1

R

10.0.5.0 [120/1] via 10.0.4.2, 00:00:15, Serial0/1