Mọi người xem giùm nhé!
Example8-1.Standard Access list stopping Bob from reaching server:
int e0
ip add 172.16.1.1 255.255.255.0
ip access-group out
access-list 1 deny 172.16.3.10 0.0.0.0
access-list 1 permit 0.0.0.0 255.255.255.255
--------
Standard IP access lists use anumber between 1 and 99,inclusive----từ 1 đến 99 nghĩa là sao,những con số này có ý nghĩa gì?
Example 8-2.Standard access list Stopping Bob from reaching server 1:revised.
int e0
ip add 172.16.1.1 255.255.255.0
ip access-group 1
access-list 1 deny host 172.16.3.10
access-list 1permit any
The commands in Exam8-1 are changer based on three factors.First,"out" is thedefault direction for access list,so the router would omit the "out" keywork of the ip access-group command.Secondthe use of the wildcard mask of 0.0.0.0is the old way to configure an access list to match a pecific host's ip address.The new style is to code the "host" keywork in frond of the ip add.When you type a wildcard of 0.0.0.0 ,the router replace the configuration with the newer "host" keywork.Finally when you use an ip add and a wildcard mask of 255.255.255.255 ,the keywork "any" is used to replaceboth paramater ,"any" simply means that any ip add is matched.
Giải thích đoạn này "The commands in Exam 8-1...matched" giùm mình.
Thanhs!
Example8-1.Standard Access list stopping Bob from reaching server:
int e0
ip add 172.16.1.1 255.255.255.0
ip access-group out
access-list 1 deny 172.16.3.10 0.0.0.0
access-list 1 permit 0.0.0.0 255.255.255.255
--------
Standard IP access lists use anumber between 1 and 99,inclusive----từ 1 đến 99 nghĩa là sao,những con số này có ý nghĩa gì?
Example 8-2.Standard access list Stopping Bob from reaching server 1:revised.
int e0
ip add 172.16.1.1 255.255.255.0
ip access-group 1
access-list 1 deny host 172.16.3.10
access-list 1permit any
The commands in Exam8-1 are changer based on three factors.First,"out" is thedefault direction for access list,so the router would omit the "out" keywork of the ip access-group command.Secondthe use of the wildcard mask of 0.0.0.0is the old way to configure an access list to match a pecific host's ip address.The new style is to code the "host" keywork in frond of the ip add.When you type a wildcard of 0.0.0.0 ,the router replace the configuration with the newer "host" keywork.Finally when you use an ip add and a wildcard mask of 255.255.255.255 ,the keywork "any" is used to replaceboth paramater ,"any" simply means that any ip add is matched.
Giải thích đoạn này "The commands in Exam 8-1...matched" giùm mình.
Thanhs!
Comment