Загрузка данных


R1

enable
configure terminal
hostname R1
no ip domain-lookup

interface g0/0
 description LAN_to_PC1
 ip address 172.22.34.65 255.255.255.224
 ip access-group 100 in
 no shutdown
exit

interface g0/1
 description LAN_to_PC2
 ip address 172.22.34.97 255.255.255.240
 ip access-group HTTP_ONLY in
 no shutdown
exit

interface g0/2
 description LAN_to_Server
 ip address 172.22.34.1 255.255.255.192
 no shutdown
exit

! Нумерованный ACL для PC1
access-list 100 permit tcp 172.22.34.64 0.0.0.31 host 172.22.34.62 eq ftp
access-list 100 permit icmp 172.22.34.64 0.0.0.31 host 172.22.34.62

! Именованный ACL для PC2
ip access-list extended HTTP_ONLY
 permit tcp 172.22.34.96 0.0.0.15 host 172.22.34.62 eq www
 permit icmp 172.22.34.96 0.0.0.15 host 172.22.34.62
exit

end
write