Professional Documents
Culture Documents
CC IV - Laboratórios
CC IV - Laboratórios
R1:
# conf t
# int f*/*
# ip add 192.168.12.1 255.255.255.0
# no shut
# exit
# int loopback 0
# ip add 5.5.5.5 255.255.255.255
# exit
# int loopback 1
# ip add 55.55.55.55 255.255.255.255
R2:
# conf t
# int f*/*
# ip add 172.16.23.1 255.255.255.0
# no shut
# exit
# int loopback 0
# ip add 10.10.10.10255.255.255.255
R3:
# conf t
# int f*/*
# ip add 192.168.24.1 255.255.255.0
# no shut
# exit
# int loopback 0
# ip add 4.4.4.4 255.255.255.255
# exit
# int loopback 1
# ip add 44.44.44.44 255.255.255.255
R4:
# conf t
# int f*/*
# ip add 172.16.23.2 255.255.255.0
# no shut
# exit
# int f*/*
# ip add 192.168.24.2 255.255.255.0
# no shut
# exit
# int f*/*
# ip add 192.168.12.2 255.255.255.0
# no shut
# exit
# int loopback 0
# ip add 9.9.9.9 255.255.255.255
# exit
R1:
# router eigrp 1
# no auto-summary (caso não se peça para fazer sumarização)
# network 5.5.5.5 0.0.0.0
# network 55.55.55.55 0.0.0.0
# network 192.168.12.0
R2:
# ip route 0.0.0.0 0.0.0.0 172.16.23.2 - Configuração da Rota Default de R2 - R4
R3:
# router ospf 1
# network 4.4.4.4 0.0.0.0 area 1
# network 44.44.44.44 0.0.0.0 area 1
# network 192.168.24.0 0.0.0.255 area 1
R4:
# router eigrp 1
# no auto-summary (caso não se peça para fazer sumarização)
# network 192.168.12.0
# exit
# router ospf 1
# network 192.168.24.0 0.0.0.255 area 1
# ip route 10.10.10.10 255.255.255.255 172.16.23.1 - Configuração da Rota de R4 - L0 (R2)
3º Passo: Configurar a Redistribuição
R4:
# router eigrp 1
# redistribute ospf 1 metric 10000 100 255 255 1500
# redistribute connected metric 10000 100 255 255 1500
# redistribute static metric 10000 100 255 255 1500
# router ospf 1
# redistribute connected metric-type 1 subnets
# redistribute static metric-type 1 subnets
# redistribute eigrp 1 metric-type 1 subnets
SW1:
# interface f0/3
# no switchport
# ip add 192.168.30.2 255.255.255.0
# no shut
SW2:
# interface f0/1
# no switchport
# ip add 192.168.40.2 255.255.255.0
2º Passo - Configuração do EIGRP no R1
R1:
# router eigrp 1
# network 4.4.4.4 0.0.0.0
# network 192.168.30.0
# network 192.168.40.0
SW1:
# ip routing
SW2:
# ip routing
SW1:
# router eigrp 1
# network 192.168.30.0 0.0.0.0
# network 192.168.10.0 0.0.0.0
# network 192.168.20.0 0.0.0.0
SW2:
# router eigrp 1
# network 192.168.40.0 0.0.0.0
# network 192.168.10.0 0.0.0.0
# network 192.168.20.0 0.0.0.0
SW1:
# interface range f0/1-2
# channel-group 1 mode active
# interface port channel 1
# switchport trunk encapsulation dot 1Q
# switchport mode trunk
SW3:
# interface range f0/1-2
# channel-group 1 mode active
# interface port channel 1
# switchport trunk encapsulation dot 1Q
# switchport mode trunk
SW2:
# interface range f0/3-4
# channel-group 2 mode active
# interface port channel 2
# switchport trunk encapsulation dot 1Q
# switchport mode trunk
SW3:
# interface range f0/3-4
# channel-group 2 mode active
# interface port channel 2
# switchport trunk encapsulation dot 1Q
# switchport mode trunk
SW1:
# vlan 10
# name Dez
# vlan 20
# name Vinte
SW1:
# vtp mode server
# vtp domain cisco.com
SW2:
# vtp mode cliente
# vtp domain cisco.com
# show vlan brief
SW3:
# vtp mode cliente
# vtp domain cisco.com
# show vlan brief
SW1:
# interface vlan 10
# ip add 192.168.10.3 255.255.255.0
# exit
# interface vlan 20
# ip add 192.168.20.3 255.255.255.0
SW2:
# interface vlan 10
# ip add 192.168.10.4 255.255.255.0
# exit
# interface vlan 20
# ip add 192.168.20.4 255.255.255.0
SW1
# interface range f0/5-6
# switchport mode access
# switchport access vlan 10
# exit
# interface range f0/7-8
# switchport mode access
# switchport access vlan 20
SW1:
# interface vlan 10
# standby 10 ip 192.168.10.254
# standby 10 priority 110
# standby 10 preempty
# exit
# interface vlan 20
# standby 20 ip 192.168.20.254
# standby 20 priority 110
# standby 20 preempty
SW2:
# interface vlan 10
# standby 10 ip 192.168.10.254
# standby 10 priority 50
# standby 10 preempty
# exit
# interface vlan 20
# standby 20 ip 192.168.20.254
# standby 20 priority 50
# standby 20 preempty
PC1:
# tracert 4.4.4.4
# ping 4.4.4.4
Prestar atenção à rota usada!
SW1:
# interface vlan 10
# shutdown
PC1:
# tracert 4.4.4.4
É suposto mudar a rota!
R1:
# conf t
# int f0/0
# ip add 192.168.23.1 255.255.255.0
# no shut
# exit
# int loop 0
# ip add 7.7.7.7 255.255.255.255
# router ospf 1
# router-id 1.1.1.1
# network 192.168.23.0 0.0.0.255 area 0
# network 7.7.7.7 0.0.0.255 area 0
2º Passo: Configurar o R2
R2:
# conf t
# int f0/0
# ip add 192.168.23.2 255.255.255.0
# exit
# int f1/0
# ip add 192.168.34.2 255.255.255.0
# exit
# router ospf 1
# router-id 2.2.2.2
# network 192.168.23.0 0.0.0.255 area 0
# network 192.168.34.0 0.0.0.255 area 1
# router ospf 1
# area 1 virtual-link 3.3.3.3
3º Passo: Configurar o R3
R3:
# conf t
# int f1/0
# ip add 192.168.34.3 255.255.255.0
# exit
# conf t
# int f2/0
# ip add 192.168.45.3 255.255.255.0
# exit
# router ospf 1
# router-id 3.3.3.3
# network 192.168.34.0 0.0.0.255 area 1
# network 192.168.45.0 0.0.0.255 area 2
# router ospf 1
# area 1 virtual-link 2.2.2.2
4º Passo: Configurar o R4
R4:
# conf t
# int f2/0
# ip add 192.168.45.4 255.255.255.0
# exit
# int loop 0
# ip add 172.16.1.0 255.255.255.255
# exit
# int loop 0
# ip add 172.16.2.0 0.0.0.255
# router ospf 1
# router-id 4.4.4.4
# network 192.168.45.0 0.0.0.255 area 2
# network 172.16.1.0 0.0.0.255 area 2
# network 172.16.2.0 0.0.0.255 area 2