IP拓展访问控制列表2

2024-11-24 22:01:18

1、关闭电源2、添加模块 NM-2FE2W3、开启电源

IP拓展访问控制列表2

3、PC0 ip 192.168.1.1 子网掩码 255.255.255.0 网关 192.168.1.10服务器ip 192.168.3.1 子网掩码 255.255.255.0 网关 192.168.3.10 ip 192.168.3.2 子网掩码 255.255.255.0 网关 192.168.3.10 ip 192.168.3.3 子网掩码 255.255.255.0 网关 192.168.3.10PC1 ip 192.168.2.1 子网掩码 255.255.255.0 网关 192.168.2.10

IP拓展访问控制列表2IP拓展访问控制列表2IP拓展访问控制列表2

5、添加拓展控制访问列表,并调用到接口f1/0Router(罕铞泱殳config)#access-list 101 permit tcp 192.168.1.0 0.0.0.255 host 192.168.3.1 eq wwwRouter(config)#access-list 101 deny ip 192.168.1.0 0.0.0.255 host 192.168.3.1Router(config)#access-list 101 permit tcp 192.168.2.0 0.0.0.255 192.168.3.0 0.0.0.255 eq wwwRouter(config)#access-list 101 deny ip 192.168.2.0 0.0.0.255 192.168.3.0 0.0.0.255Router(config)#access-list 101 permit ip any anyRouter(config)#int f1/0Router(config-if)#access-group 101 out

IP拓展访问控制列表2IP拓展访问控制列表2IP拓展访问控制列表2IP拓展访问控制列表2IP拓展访问控制列表2IP拓展访问控制列表2
猜你喜欢