ACLs oefening
sjabloon: acls-oef-3-routers-nothing-configured
- configureer alle interfaces
- configureer hostnames
- configureer ospf
-
use a
standard ACL
to block10.1.1.1
from reaching10.1.1.6
and192.168.1.0/24
R1(config)#ip access-list standard no-10111 R1(config-std-nacl)#deny host 10.1.1.1 R1(config-std-nacl)#permit any R1(config)#int ser 0/0/0 R1(config-if)#ip access-group no-10111 in
- gebruik een standard ACL en blokkeer toegang op 192.168.1.0/24 vanaf
192.168.2.0/25
>> eveneens op R1 -- op S000 -- inbound - gebruik een standard ACL en blokkeer 192.168.2.50 naar 10.1.1.1 op de WAN
>> op R3 ser0/0/1 inbound - filter
vty access
op R2: slechts toegankelijk vanaf PC2R2(config)#access-list 10 permit host 192.168.2.50 R2(config-std-nacl)#exit R2(config)#line vty 0 15 R2(config-line)#access-class 10 in R2(config-line)#no login R2(config-line)#end