Git Product home page Git Product logo

computer_network's People

Contributors

hustergs avatar

Watchers

 avatar

computer_network's Issues

实验三笔记 ACL简化

在 实验三-综合部分中,有部分ACL配置可以简化

以第一个宿舍,dorm-1-in为例

  • access-list 101 deny ip 211.69.4.0 0.0.0.255 211.69.7.128 0.0.0.127
  • access-list 101 deny ip 211.69.4.0 0.0.0.255 211.69.7.160 0.0.0.127
  • access-list 101 deny ip 211.69.4.0 0.0.0.255 211.69.7.192 0.0.0.127
  • access-list 101 deny ip 211.69.4.0 0.0.0.255 211.69.7.224 0.0.0.127

中, 0.0.0.127 为通配符,指ip地址中,为1的位可任意选取,为0的部分需和指定ip匹配。

因此以上三条可简化为

access-list 101 deny ip 211.69.4.0 0.0.0.255 211.69.7.128 0.0.0.127

这一条即可

其他规则类似

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.