Vous êtes sur la page 1sur 2

LAB 6.2.3.

8 CONFIGURATIONS
R1
en
conf t
hostname R1
no ip domain-lookup
enable secret class
line vty 0 4
password cisco
login
line con 0
logging synchronous
password cisco
login
banner MOTD 'Unauthorized Access is Prohibited!'
int lo0
ip add 209.165.200.225 255.255.255.252
int lo1
ip add 192.168.1.1 255.255.255.0
int lo2
ip add 192.168.2.1 255.255.255.0
int s0/0/0
ip add 192.168.12.1 255.255.255.252
no shut
clock rate 128000
router ospf 1
router-id 1.1.1.1
default-information originate
area 1 range 192.168.0.0 255.255.252.0
network 192.168.1.0 0.0.0.255 area 1
network 192.168.2.0 0.0.0.255 area 1
network 192.168.12.0 0.0.0.3 area 0
passive-int lo1
passive-int lo2
exit
ip route 0.0.0.0 0.0.0.0 lo0
end
copy run start
R2
en
conf t
hostname R2
no ip domain-lookup
enable secret class
line vty 0 4
password cisco
login
line con 0
logging synchronous
password cisco
login
banner MOTD 'Unauthorized Access is Prohibited!'
int lo6
ip add 192.168.6.1 255.255.255.0
int s0/0/0
ip add 192.168.12.2 255.255.255.252
no shut
int s0/0/1
ip add 192.168.23.1 255.255.255.252

no shut
clock rate 128000
router ospf 1
router-id 2.2.2.2
area 1 range 192.168.4.0 255.255.255.0
network 192.168.6.0 0.0.0.255 area 3
network 192.168.12.0 0.0.0.3 area 0
network 192.168.23.0 0.0.0.3 area 3
passive-int lo6
end
copy run start
R3
en
conf t
hostname R3
enable secret class
line vty 0 4
password cisco
login
line con 0
logging synchronous
password cisco
login
banner MOTD 'Unauthorized Access is Prohibited!'
int lo4
ip add 192.168.4.1 255.255.255.0
int lo5
ip add 192.168.5.1 255.255.255.0
int s0/0/1
ip add 192.168.23.1 255.255.255.252
no shut
router ospf 1
router-id 3.3.3.3
network 192.168.4.0 0.0.0.255 area 3
network 192.168.5.0 0.0.0.255 area 3
network 192.168.23.0 0.0.0.3 area 3
passive-int lo4
passive-int lo5
end
copy run start

Vous aimerez peut-être aussi