Vous êtes sur la page 1sur 3

ROUTER1:

enable
configure terminal
no ip domain-lookup
no cdp run
ip domain name cisco.com
username student secret cisco1234
service timestamps log
crypto key generate rsa *1024 key size sshv2
service password-encryption
enable secret class
banner motd #Authorized Access Only!!!#
hostname R1
username R2 password cisco
line con 0
exec-timeout 0 0
logging synchronous
password cisco
login
line vty 0 1
transport input ssh
exec-timeout 3
login local
line vty 2 4
password cisco
login
end
config t
int Fa0/1
ip address 10.0.0.1 255.255.255.128
no shutdown
int S0/0/0
encapsulation ppp
ppp authentication chap
ip address 172.16.0.1 255.255.255.252
no shutdown
clock rate 64000
int S0/0/1
no shutdown
ip address 172.16.0.9 255.255.255.252
encapsulation frame-relay
no keepalive
clock rate 125000
frame-relay map ip 172.16.0.10 181 broadcast
no frame-relay inverse-arp
frame-relay lmi-type ansi
end
config t
router ospf 1
network 10.0.0.0 0.0.0.127 area 0
network 172.16.0.0 0.0.0.3 area 0
network 172.16.0.8 0.0.0.3 area 0
end
copy run start
ROUTER2:

enable
configure terminal
no ip domain-lookup
no cdp run
ip domain name cisco.com
username student secret cisco1234
service timestamps log
crypto key generate rsa *1024 key size sshv2
service password-encryption
enable secret class
banner motd #Authorized Access Only!!!#
hostname R2
username R1 password cisco
line con 0
exec-timeout 0 0
logging synchronous
password cisco
login
line vty 0 1
transport input ssh
exec-timeout 3
login local
line vty 2 4
password cisco
login
end
config t
int Lo0
ip address 209.165.200.161 255.255.255.224
int S0/0/0
encapsulation ppp
ppp authentication chap
ip address 172.16.0.2 255.255.255.252
no shutdown
clock rate 64000
int S0/0/1
ip address 172.16.0.5 255.255.255.252
clock rate 64000
no shutdown
end
config t
router ospf 1
network 172.16.0.0 0.0.0.3 area 0
network 172.16.0.4 0.0.0.3 area 0
network 209.165.200.160 0.0.0.31 area 0
end
copy run start

ROUTER3:

enable
configure terminal
no ip domain-lookup
no cdp run
ip domain name cisco.com
username student secret cisco1234
service timestamps log
crypto key generate rsa *1024 key size sshv2
service password-encryption
enable secret class
banner motd #Authorized Access Only!!!#
hostname R3
line con 0
exec-timeout 0 0
logging synchronous
password cisco
login
line vty 0 1
transport input ssh
exec-timeout 3
login local
line vty 2 4
password cisco
login
end
config t
ip nat pool wan 199.99.99.1 199.99.99.1 netmask 255.255.255.0
access-list 10 permit 10.0.0.128 0.0.0.127
ip nat inside source list 10 pool wan overload
int Fa0/1
ip nat inside
ip address 10.0.0.129 255.255.255.128
no shutdown
int S0/0/0
ip nat outside
no shutdown
clock rate 125000
ip address 172.16.0.10 255.255.255.252
encapsulation frame-relay
no keepalive
frame-relay map ip 172.16.0.9 181 broadcast
no frame-relay inverse-arp
frame-relay lmi-type ansi
exit
int S0/0/1
ip nat outside
ip address 172.16.0.6 255.255.255.252
clock rate 64000
no shutdown
end
config t
router ospf 1
network 10.0.0.128 0.0.0.127 area 0
network 172.16.0.4 0.0.0.3 area 0
network 172.16.0.8 0.0.0.3 area 0
end
copy run start

Vous aimerez peut-être aussi