更新思科路由器的公网IP地址

更新思科路由器的公网IP地址   首先确认你的网络是怎么走的,这里根据我们的网络说一下配置: 首先去掉默认路由 no ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx   添加新的默认路由  www.zhishiwu.com   ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx   然后去掉ACL覆盖 no ip nat inside source list 1 pool BJ.RK overload   在去掉地址池 no ip nat pool BJ.RK xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx netmask 子网掩码   添加新的地址池  www.zhishiwu.com   ip nat pool BJ.RK xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx netmask 子网掩码   添加ACL ip nat inside source list 1 pool BJ.RK overload   最后就是修改公网接口地址喽 int f0/0 no ip address xxx.xxx.xxx.xxx 子网掩码 ip address xxx.xxx.xxx.xxx 子网掩码   exit 此时可以测试一下acl中的计算机是否可以访问网络了,否则就可以在这个时候重启路由器,

千万不要写入运行配置里,确认无误再wr。 wr

 

(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)

未经允许不得转载:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权!路由网 » 更新思科路由器的公网IP地址