Sieć: projekt sieci składającej się z 3 routerów.
Zawierającej:
- protokół routingu: OSPF,
- zabezpieczenie protokołu routingu,
- protokół CHAP,
- translacje NAT,
- access-listy,
- sieć DHCP,
- trasy statyczne.
Program: Cisco Packet Tracer
Konfiguracje routerów:
Current configuration : 1882 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
enable secret 5 $1$3P5O$KS6gcVVR4cpDRMqqAt1FL0
!
no aaa new-model
dot11 syslog
ip source-route
!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
username R2 password 7 070C285F4D06485744
archive
log config
hidekeys
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 172.19.0.1 255.255.255.128
ip access-group ping121 out
ip helper-address 172.19.0.226
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 172.19.0.129 255.255.255.192
duplex auto
speed auto
!
interface Serial0/1/0
ip address 172.19.0.225 255.255.255.252
encapsulation ppp
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 7 0307550A
clock rate 125000
ppp authentication chap
!
interface Serial0/1/1
no ip address
shutdown
clock rate 125000
!
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
passive-interface FastEthernet0/0
passive-interface FastEthernet0/1
network 172.19.0.0 0.0.0.127 area 0
network 172.19.0.128 0.0.0.63 area 0
network 172.19.0.224 0.0.0.3 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
ip access-list extended ping12
deny icmp host 172.19.0.10 host 172.19.0.140
permit ip any any
ip access-list extended ping121
deny icmp 172.19.0.0 0.0.0.127 host 172.19.0.140
permit ip any any
!
!
!
!
!
!
!
!
control-plane
!
!
!
ccm-manager fax protocol cisco
!
mgcp fax t38 ecm
!
!
!
!
!
!
line con 0
password 7 13061E01080307252534292026
logging synchronous
login
line aux 0
line vty 0 4
password 7 13061E010803123E3234292026
logging synchronous
login
!
scheduler allocate 20000 1000
end
Current configuration : 2307 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
dot11 syslog
ip source-route
!
!
ip dhcp excluded-address 172.19.0.1 172.19.0.2
!
ip dhcp pool siec1
network 172.19.0.0 255.255.255.128
domain-name cisco.com
dns-server 8.8.4.4
default-router 172.19.0.1
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
key chain szyfr
key 1
key-string cna
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
username R1 password 0 cisco123
archive
log config
hidekeys
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 172.19.0.193 255.255.255.224
ip access-group telftpdns out
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1/0
ip address 172.19.0.226 255.255.255.252
ip nat inside
ip virtual-reassembly
encapsulation ppp
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cna
ppp authentication chap
!
interface Serial0/1/1
ip address 209.165.200.161 255.255.255.224
ip nat outside
ip virtual-reassembly
!
interface Serial0/2/0
no ip address
shutdown
clock rate 125000
!
interface Serial0/2/1
no ip address
shutdown
clock rate 125000
!
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
passive-interface FastEthernet0/0
passive-interface Serial0/1/1
network 172.19.0.192 0.0.0.31 area 0
network 172.19.0.224 0.0.0.3 area 0
default-information originate
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 209.165.200.162
no ip http server
no ip http secure-server
!
!
ip nat pool natsiec4 172.19.0.225 172.19.0.226 netmask 255.255.255.252
ip nat inside source list 1 pool natsiec4
!
ip access-list extended telftpdns
deny tcp 172.19.0.192 0.0.0.31 172.19.0.128 0.0.0.127 eq ftp
deny tcp 172.19.0.192 0.0.0.31 172.19.0.128 0.0.0.127 eq telnet
deny tcp 172.19.0.192 0.0.0.31 172.19.0.128 0.0.0.127 eq domain
permit ip any any
!
access-list 1 permit 172.19.0.0 0.0.0.127
!
!
!
!
!
!
!
control-plane
!
!
!
ccm-manager fax protocol cisco
!
mgcp fax t38 ecm
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end
Current configuration : 1004 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ISP
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
dot11 syslog
ip source-route
!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1/0
ip address 209.165.200.162 255.255.255.224
clock rate 125000
!
interface Serial0/1/1
no ip address
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 209.165.200.161
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
ccm-manager fax protocol cisco
!
mgcp fax t38 ecm
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end