HCIA------acl

在这里插入图片描述

1.配置底层ip地址,pc1 pc2缺省指向R2,进行测试
2.实现全网可达,完成静态路由的配置,进行测试
3.路由器R2 R3开启telnet服务
4.pc1或者pc2实现远程登陆,写acl访问控制列表
5.进入接口调用acl表
6.测试

配置ip地址
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ip add 12.1.1.1 24
[r2-GigabitEthernet0/0/0]int g0/0/1
[r2-GigabitEthernet0/0/1]ip add 192.168.1.1 24
进行测试
<r2>ping 192.168.1.2
  PING 192.168.1.2: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.2: bytes=56 Sequence=1 ttl=255 time=130 ms
    Reply from 192.168.1.2: bytes=56 Sequence=2 ttl=255 time=30 ms
    Reply from 192.168.1.2: bytes=56 Sequence=3 ttl=255 time=40 ms
    Reply from 192.168.1.2: bytes=56 Sequence=4 ttl=255 time=60 ms
    Reply from 192.168.1.2: bytes=56 Sequence=5 ttl=255 time=50 ms

  --- 192.168.1.2 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 30/62/130 ms

<r2>ping 192.168.1.3
  PING 192.168.1.3: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.3: bytes=56 Sequence=1 ttl=255 time=100 ms
    Reply from 192.168.1.3: bytes=56 Sequence=2 ttl=255 time=80 ms
    Reply from 192.168.1.3: bytes=56 Sequence=3 ttl=255 time=60 ms
    Reply from 192.168.1.3: bytes=56 Sequence=4 ttl=255 time=50 ms
    Reply from 192.168.1.3: bytes=56 Sequence=5 ttl=255 time=40 ms

  --- 192.168.1.3 ping statistics ---
    5
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值