C isco 2600上 配置 pat( 端口 地址 转换 )过程: 环境: 内网口 F0/0,IP:192.168.0.1/24,外网口 F0/1,IP:172.16.19.12/16,连接公司路由器 172.16.1.1/16; 配置 过程: (config)#int f0/0 / 配置 F0/0 端口 ,内网口;(config-if)#ip address 192.168
Cisco 2600上配置pat(端口地址转换)过程:
环境: 内网口 F0/0,IP:192.168.0.1/24,外网口 F0/1,IP:172.16.19.12/16,连接公司路由器
172.16.1.1/16;
配置过程:
| @@######@@ |
测试结果:在内网pc上(ip 192.168.0.2)ping 172.16.19.12和 61.177.7.1 和 通否。
端口映射示例:
Ip nat inside source static tcp 192.168.1.2 80 202.99.220.130 80
(config)#int f0/0 / <strong>配置</strong>F0/0<strong>端口</strong>,内网口; (config-if)#ip address 192.168.0.1 255.255.255.0 (config-if)#ip nat inside (config-if)#no sh (config-if)#exit (config)#int f0/1 / <strong>配置</strong>F0/1<strong>端口</strong>,内网口; (config-if)#ip address 172.16.19.12 255.255.0.0 (config-if)#ip nat outside (config-if)#half-duplex /有可能配 (config-if)#no sh (config-if)#exit (config)#ip nat pool *** 172.16.19.12 172.16.19.12 netmask 255.255.0.0 /<strong>配置</strong>外网口池nat (config)#access-list 1 permit 192.168.0.0 0.0.0.255 /<strong>配置</strong>内网口段 (config)#ip nat inside source list 1 pool *** overload /<strong>配置</strong>PAT (config)#ip route 0.0.0.0 0.0.0.0 172.16.1.1 /<strong>配置</strong>默认路由
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号