Float from "987 points, planted in ACLin/out ~" Start now

Source: Internet
Author: User
A few days ago, I saw a post in a forum titled "987 points float, planted in ACLinout ~". When I wrote this blog today, I went to the forum to find it, but I couldn't find it. Fortunately, I still remember that I was able to continue this blog. The content of this post is as follows: LZ has passed the CCNA test, but there is a question about ACL, so that he only scored 987 points, no

A few days ago, I saw a post in a forum titled "987 points float, planted in ACL in/out ~ ". When I wrote this blog today, I went to the forum to find it, but I couldn't find it. Fortunately, I still remember that I was able to continue this blog. The content of this post is as follows: LZ has passed the CCNA test, but there is a question about ACL, so that he only scored 987 points, no

A few days ago, I saw a post in a forum titled "987 points float, planted in ACL in/out ~ ". When I wrote this blog today, I went to the forum to find it, but I couldn't find it. Fortunately, I still remember that I was able to continue this blog.

The content of this post is as follows: LZ has passed the CCNA test, but there is a question about ACL, so that he only scored 987 points, otherwise it would be a full score of 1000. Therefore, the question of this ACL is also sent out, And I hope someone else can give some advice.

The network topology is as follows:

WEB server ---------> f0/0 (Router) f0/1 ----------> (LAN) ------ Host1 Host2 Host3...

The requirement is to prohibit a host from accessing the WEB server.

The access list is written as follows:

Access-list 101 deny tcp <主机地址> <Server address> <80>

Access-list 101 permit ip any

According to his description in his post, he places the ACL in THE in direction of the f0/0 interface, thus losing the score. But he still doesn't understand why. He believes that as long as the server access data is not allowed from the f0/0 interface, or out, the requirements can be met. Therefore, he used the ACL in THE in direction.

Let's analyze it. (1) his thoughts are correct, but not profound. Because there is no clear distinction between the data entering f0/0 and the data going out from f0/0 are different. To distinguish between data streams, You need to analyze the structure of IP packets and the values in each field. The source address of data entering f0/0 is the server address, the target address is the host address, and the destination port number is definitely not 80. It should be the source port number used by the host to send http data; for data from f0/0, the source address is the host, the target address is the server, and the target port is 80. (2) about the direction. With the above analysis, you naturally know the direction in which the ACL is applied. The preceding ACL should be applied to the out direction of f0/0. (3) It can also be used in the in direction of f0/1.

From the first half of the LZ post title, the exam passed, the score is not low, the excitement of the examinee is beyond the words, so it is "drifting ". Of course, passing the exam is a pleasure for everyone. If you pass the exam with a high score, you will be excited. This is especially true for students under the Chinese education system. Let's look at the last half of the sentence, "planted in ACL in/out ~", It seems that the first pot of cold water-even the basic ACL in/out did not understand, what is exciting? Apparently, it was a back-to-Question question. If you do not continue learning, even if you have a certificate, you may still struggle to work.

Now, back-to-back questions have become a popular way of examination. From the exam-taking perspective alone, I don't want to read the question bank before the exam, but I don't want to explain it without a thorough explanation, the theory and skills should be learned based on the test points reflected in the questions. After all, the exam is just a means. mastering skills is important. However, if you take the exam for the purpose and only take the exam for that certificate, it will be meaningless to connect to that certificate. I also saw a post in the Forum a few days ago titled "Don't underestimate CCIE". The post was probably a CCIE, and he responded to the industry's doubts about the amount of CCIE gold. Many people think that CCIE is also a "back-to-back Question Bank, knock on the version. The real level is not that high. The poster said that the CCIE set by Cisco is not for you to repeat the version. Cisco recommends 1 ~ 3 years of practical engineering and maintenance experience. Even if the version is not CCIE, The CCIE is still very good. Don't underestimate these people.

We should rethink the relationship between research and learning, and establish a benign ethos in the industry. More Paper is available, which is not good for enterprises and individuals. Both test and study should be taken into consideration. test is a means and learning is the real purpose.

Coincidentally, I also saw a post in the Cisco Learning Space on the same day about ACL in/out. The post is written in English. Obviously, the post is a foreign friend. Topology and requirements are the same as above. This friend's question is: shocould I apply ACL on the interface f0/1, in direction or on the f0/0, out direction? Should it be applied in the in direction of f0/1? Or the out direction of f0/0?

Because the extended ACL checks both the source address and the target address, when using the extended ACL, try to apply it to the router interface Near the data source. That is, it is placed in the in direction of f0/1. In this way, the data will be discarded after it reaches this interface. You do not need to go through the routing process, query the route table, and then switch the data to the f0/0 interface. After checking the ACL, the data will be discarded. Saves vro system resources. Of course, it also saves processing time.

By comparing the two questions about ACL in/out, we find that the depth of the two considerations is completely different. The former one is not familiar with the data flow direction and IP packet structure. In fact, the TCP/IP protocol is not well learned. The latter is obviously considering deep-seated problems. The architecture, routing process, and packet processing process of the router have been taken into account.

On the surface, a seemingly simple problem may be hidden in deep mysteries. Although this is a ccna-level issue, it seems simple. If we think deeply, we can touch on the ideas of R & D personnel. If we can understand the ideas of R & D personnel, it is easy for us to master these technologies.

To think deeply, you must first have a correct attitude. In another blog post titled "The title of the pop-up", I refuted someone's attitude. It believes that the title of "turning the fog of CCNA-key and difficult analysis" is a bit of a buzz. He believes that CCNA is very simple. As long as "back-to-back Question Bank, knock on the version", there will be no "fog. It seems that the question of this ACL is not that simple.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.