quarta-feira, 28 de novembro de 2012

Avaliação-II R-II





#R1 - Avaliação-II (Final) Redes-II

no ip domain-lookup
enable secret cisco

line con 0
password cisco
exec-timeout 30

line vty 0 4
pass word cisco
exec-timeout 30

R2
ip dhcp pool R2LANB
 network 172.16.30.96 255.255.255.224
 default-router 172.16.30.97
 dns-server 172.16.1.19


R3
Router OSPF 1
network 200.10.20.0 0.0.0.3 area 0
network 172.50.30.84 0.0.0.3 area 0
network 172.16.1.16 0.0.0.7 area 0

Ip route 0.0.0.0 0.0.0.0 serial 0/0/1
R1(config)#router ospf 1
R1(config-router)#default-information originate


R2
Router OSPF 1
network 192.168.10.136 0.0.0.3 area 0
network 172.50.30.84 0.0.0.3 area 0
network 172.16.30.96 0.0.0.31 area 0

R1
Router OSPF 1
network 192.168.10.136 0.0.0.3 area 0
network 172.20.40.80 0.0.0.15 area 0


$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$


Configuração dos Routers:
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINK-5-CHANGED: Interface Vlan1, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

%SYS-5-CONFIG_I: Configured from console by console

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

00:00:10: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.138 on Serial0/0/0 from LOADING to FULL, Loading Done


R1>
R1>
R1>
R1>
R1>en
R1>enable 
Password: 
Password: 
R1#sh run
R1#sh running-config 
Building configuration...

Current configuration : 962 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
 description link to lan R1
 ip address 172.20.40.81 255.255.255.240
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 description link to R2
 bandwidth 1024
 ip address 192.168.10.137 255.255.255.252
 clock rate 128000
!
interface Serial0/0/1
 no ip address
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 network 192.168.10.136 0.0.0.3 area 0
 network 172.20.40.80 0.0.0.15 area 0
!
ip classless
!
!
!
no cdp run
!
!
!
!
!
line con 0
 exec-timeout 30 0
 password cisco
line vty 0 4
 exec-timeout 30 0
 password word cisco
 login
!
!
!
end


R1# 
R1#
R1#
R1#sh ip rou
R1#sh ip route 
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is 192.168.10.138 to network 0.0.0.0

     172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
O       172.16.1.16/29 [110/146] via 192.168.10.138, 00:00:31, Serial0/0/0
O       172.16.30.96/27 [110/98] via 192.168.10.138, 00:00:31, Serial0/0/0
     172.20.0.0/28 is subnetted, 1 subnets
C       172.20.40.80 is directly connected, FastEthernet0/0
     172.50.0.0/30 is subnetted, 1 subnets
O       172.50.30.84 [110/145] via 192.168.10.138, 00:00:31, Serial0/0/0
     192.168.10.0/30 is subnetted, 1 subnets
C       192.168.10.136 is directly connected, Serial0/0/0
     200.10.20.0/30 is subnetted, 1 subnets
O       200.10.20.0 [110/209] via 192.168.10.138, 00:00:31, Serial0/0/0
O*E2 0.0.0.0/0 [110/1] via 192.168.10.138, 00:00:31, Serial0/0/0
R1#  

Press RETURN to get started!


%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINK-5-CHANGED: Interface Vlan1, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

%SYS-5-CONFIG_I: Configured from console by console

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up

00:00:10: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.137 on Serial0/0/1 from LOADING to FULL, Loading Done

00:00:10: %OSPF-5-ADJCHG: Process 1, Nbr 200.10.20.1 on Serial0/0/0 from LOADING to FULL, Loading Done


R2>
R2>en
R2>enable 
Password: 
R2#sh riun
R2#sh riun
       ^
% Invalid input detected at '^' marker.
R2#sh run
R2#sh running-config 
Building configuration...

Current configuration : 1213 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R2
!
!
!
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
!
!
ip dhcp excluded-address 172.16.30.97 172.16.30.101
!
ip dhcp pool R2LANB
 network 172.16.30.96 255.255.255.224
 default-router 172.16.30.97
 dns-server 172.16.1.19
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
 description link to lan r2
 ip address 172.16.30.97 255.255.255.224
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 description link to R3
 bandwidth 2048
 ip address 172.50.30.85 255.255.255.252
 clock rate 128000
!
interface Serial0/0/1
 description link to R1
 bandwidth 1024
 ip address 192.168.10.138 255.255.255.252
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 network 192.168.10.136 0.0.0.3 area 0
 network 172.50.30.84 0.0.0.3 area 0
 network 172.16.30.96 0.0.0.31 area 0
!
ip classless
!
!
!
no cdp run
!
!
!
!
!
line con 0
 exec-timeout 30 0
 password cisco
line vty 0 4
 exec-timeout 30 0
 password cisco
 login
!
!
!
end


R2# 
R2#
R2#
R2#
R2#sh ip rou
R2#sh ip route 
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is 172.50.30.86 to network 0.0.0.0

     172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
O       172.16.1.16/29 [110/49] via 172.50.30.86, 00:01:47, Serial0/0/0
C       172.16.30.96/27 is directly connected, FastEthernet0/0
     172.20.0.0/28 is subnetted, 1 subnets
O       172.20.40.80 [110/98] via 192.168.10.137, 00:01:47, Serial0/0/1
     172.50.0.0/30 is subnetted, 1 subnets
C       172.50.30.84 is directly connected, Serial0/0/0
     192.168.10.0/30 is subnetted, 1 subnets
C       192.168.10.136 is directly connected, Serial0/0/1
     200.10.20.0/30 is subnetted, 1 subnets
O       200.10.20.0 [110/112] via 172.50.30.86, 00:01:47, Serial0/0/0
O*E2 0.0.0.0/0 [110/1] via 172.50.30.86, 00:01:47, Serial0/0/0
R2#


Press RETURN to get started!


%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINK-5-CHANGED: Interface Vlan1, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

%SYS-5-CONFIG_I: Configured from console by console

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up

00:00:10: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.138 on Serial0/1/0 from LOADING to FULL, Loading Done


R3>
R3>en
R3>enable 
Password: 
R3#sh run
R3#sh running-config 
Building configuration...

Current configuration : 1167 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
!
!
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
 description LAN r3
 ip address 172.16.1.17 255.255.255.248
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 no ip address
!
interface Serial0/0/1
 description link to ISP
 ip address 200.10.20.1 255.255.255.252
 clock rate 128000
!
interface Serial0/1/0
 description link to R2
 bandwidth 2048
 ip address 172.50.30.86 255.255.255.252
!
interface Serial0/1/1
 no ip address
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 network 200.10.20.0 0.0.0.3 area 0
 network 172.50.30.84 0.0.0.3 area 0
 network 172.16.1.16 0.0.0.7 area 0
 default-information originate
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0/1 
!
!
!
!
!
!
!
line con 0
 exec-timeout 30 0
 password cisco
line vty 0 4
 exec-timeout 30 0
 password word cisco
 login
!
!
!
end


R3# 
R3#
R3#
R3#
R3#sh ip rou
R3#sh ip route 
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

     172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C       172.16.1.16/29 is directly connected, FastEthernet0/0
O       172.16.30.96/27 [110/49] via 172.50.30.85, 00:02:34, Serial0/1/0
     172.20.0.0/28 is subnetted, 1 subnets
O       172.20.40.80 [110/146] via 172.50.30.85, 00:02:34, Serial0/1/0
     172.50.0.0/30 is subnetted, 1 subnets
C       172.50.30.84 is directly connected, Serial0/1/0
     192.168.10.0/30 is subnetted, 1 subnets
O       192.168.10.136 [110/145] via 172.50.30.85, 00:02:34, Serial0/1/0
     200.10.20.0/30 is subnetted, 1 subnets
C       200.10.20.0 is directly connected, Serial0/0/1
S*   0.0.0.0/0 is directly connected, Serial0/0/1
R3# 


Nenhum comentário:

Postar um comentário