Sei sulla pagina 1di 3

R1 en conf t hostname R1 banner motd #Authorized Access Only!

# line con 0 password cisco logging synchronous login line vty 0 15 password cisco logging synchronous login exit enable secret class access-list 50 deny 172.16.1.128 0.0.0.63 access-list 50 permit any interface FastEthernet0/0 ip address 172.16.1.193 255.255.255.224 ip access-group 50 out duplex auto speed auto no shutdown interface Serial0/0/0 ip address 172.30.1.1 255.255.255.252 clock rate 2000000 interface Serial0/0/1 no ip address no sh encapsulation frame-relay interface Serial0/0/1.101 point-to-point ip address 10.10.10.1 255.255.255.252 frame-relay interface-dlci 101 router eigrp 100 network 172.16.0.0 network 172.30.0.0 network 10.0.0.0 no auto-summary exit do wr end ############################################################################## R2 en conf t hostname R2 enable secret class banner motd #Authorized Access Only!# line con 0 password cisco logging synchronous login line vty 0 15 exec-timeout 0 0 password cisco logging synchronous login

exit username R3 password 0 ciscochap access-list 1 permit 172.16.1.128 0.0.0.127 ip access-list extended FIREWALL deny icmp any any echo deny tcp any any eq telnet deny tcp any any eq www permit ip any any interface Serial0/0/0 ip address 172.30.1.6 255.255.255.252 encapsulation ppp ppp authentication chap ip nat inside no sh interface Serial0/0/1 no ip address no shutdown encapsulation frame-relay interface Serial0/0/1.201 point-to-point ip address 10.10.10.2 255.255.255.252 frame-relay interface-dlci 201 ip nat inside interface Serial0/1/0 ip address 209.165.201.2 255.255.255.252 ip access-group FIREWALL in ip nat outside router eigrp 100 redistribute static network 10.0.0.0 network 172.30.0.0 no auto-summary ip nat inside source list 1 interface Serial0/1/0 overload ip route 0.0.0.0 0.0.0.0 Serial0/1/0 do wr end ############################################################################# R3 en conf t hostname R3 enable secret class banner motd #Authorized Access Only!# line con 0 password cisco logging synchronous login line vty 0 15 password cisco logging synchronous login exit username R2 password 0 ciscochap interface FastEthernet0/0 ip address 172.16.1.129 255.255.255.192 no shutdown duplex auto speed auto interface Serial0/0/0

ip address 172.30.1.2 255.255.255.252 interface Serial0/0/1 ip address 172.30.1.5 255.255.255.252 encapsulation ppp ppp authentication chap clock rate 2000000 no sh exit router eigrp 100 network 172.16.0.0 network 172.30.0.0 no auto-summary exit ip dhcp excluded-address 172.16.1.129 172.16.1.131 ip dhcp pool R3_LAN network 172.16.1.128 255.255.255.192 default-router 172.16.1.129 exit do wr end

Potrebbero piacerti anche