当前位置:网站首页>Standard ACL and extended ACL
Standard ACL and extended ACL
2022-07-07 18:38:00 【Chen chacha__】
standard ACL
R0 Basic configuration
int f0/0
ip add 192.168.10.254 255.255.255.0
no shutdown
int f0/1
ip add 76.12.16.133 255.255.255.252
no shut
R1 Basic configuration
int f0/0
ip add 76.12.32.254 255.255.255.0
no shut
int f0/1
ip add 76.12.16.134 255.255.255.252
no shut
Then give them to R1、R2 Configure the default route
R1
ip route 0.0.0.0 0.0.0.0 76.12.16.133 #76.12.16.133 It is the next hop address connected to this router , It can also be written as the next hop port number connected to this router
R2
ip route 0.0.0.0 0.0.0.0 76.12.16.134 # ditto
standard ACL On the router near the destination address
stay R1 Upper configuration standard ACL
standard ACL The number of 1-99
ip access-list 1 permit host 192.168.10.100
ip access-list 1 deny host 192.168.10.1
interface f0/1
ip access-group 1 in
Expand ACL
R0 Basic configuration
int f0/0
ip add 192.168.10.254 255.255.255.0
no shutdown
int f0/1
ip add 76.12.16.133 255.255.255.252
no shut
R1 Basic configuration
int f0/0
ip add 76.12.32.254 255.255.255.0
no shut
int f0/1
ip add 76.12.16.134 255.255.255.252
no shut
Then give them to R1、R2 Configure the default route
R1
ip route 0.0.0.0 0.0.0.0 76.12.16.133 #76.12.16.133 It is the next hop address connected to this router , It can also be written as the next hop port number connected to this router
R2
ip route 0.0.0.0 0.0.0.0 76.12.16.134 # ditto
Expand ACL It is configured on the router close to the source address
stay R0 Configure extensions on ACL
Expand ACL The number of 100-199
You need an agreement 、 Source IP、 Source port 、 Purpose IP、 The destination ports match
ip access-list 100 deny icmp host 192.168.10.1 host 76.12.32.1 # Reject from 192.168.10.1 The host goes to 76.12.32.1 The host ping package
ip access-list 100 permit ip any any # Allow all
interface f0/1
ip access-group 100 out # take ACL Apply to the out interface
边栏推荐
- 体总:安全有序恢复线下体育赛事,力争做到国内赛事应办尽办
- Industry case | digital operation base helps the transformation of life insurance industry
- Pro2: modify the color of div block
- Chapter 3 business function development (user login)
- Datasimba launched wechat applet, and datanuza accepted the test of the whole scene| StartDT Hackathon
- Static routing configuration
- 用存储过程、定时器、触发器来解决数据分析问题
- Redis的发布与订阅
- AntiSamy:防 XSS 攻击的一种解决方案使用教程
- SQLite SQL exception near "with": syntax error
猜你喜欢
讨论 | AR 应用落地前,要做好哪些准备?
idea彻底卸载安装及配置笔记
SD_DATA_RECEIVE_SHIFT_REGISTER
[trusted computing] Lesson 13: TPM extended authorization and key management
Taffydb open source JS database
Kubernetes DevOps CD工具对比选型
Ten thousand words nanny level long article -- offline installation guide for datahub of LinkedIn metadata management platform
[principle and technology of network attack and Defense] Chapter 1: Introduction
Kirk Borne的本周学习资源精选【点击标题直接下载】
[PaddleSeg源码阅读] PaddleSeg Validation 中添加 Boundary IoU的计算(1)——val.py文件细节提示
随机推荐
同消费互联网的较为短暂的产业链不同,产业互联网的产业链是相当漫长的
开发一个小程序商城需要多少钱?
socket编程之常用api介绍与socket、select、poll、epoll高并发服务器模型代码实现
sqlite sql 异常 near “with“: syntax error
Save the memory of the model! Meta & UC Berkeley proposed memvit. The modeling time support is 30 times longer than the existing model, and the calculation amount is only increased by 4.5%
SD_DATA_SEND_SHIFT_REGISTER
通过 Play Integrity API 的 nonce 字段提高应用安全性
Discuss | what preparations should be made before ar application is launched?
磁盘存储链式的B树与B+树
保证接口数据安全的10种方案
线程池和单例模式以及文件操作
云景网络科技面试题【杭州多测师】【杭州多测师_王sir】
A few simple steps to teach you how to see the K-line diagram
Pro2: modify the color of div block
4种常见的缓存模式,你都知道吗?
idea彻底卸载安装及配置笔记
『HarmonyOS』DevEco的下载安装与开发环境搭建
[tpm2.0 principle and Application guide] Chapter 5, 7 and 8
Hutool - 轻量级 DB 操作解决方案
[4500 word summary] a complete set of skills that a software testing engineer needs to master