连外网

时间:2014-10-19 10:15:47   收藏:0   阅读:216
ena
conf t
int fo/0
ip add +公网地址+子网掩码
ip nat ouside
no shut
int fo/1
ip add +内网地址+子网掩码
ip nat inside
no shut
ip route 0.0.0.0 0.0.0.0 +公网网关地址
access-list 1 premit+内网网关地址+0.0.0.255
ip nat in source list 1 int fo/0 overload
输完检测网络

原文:http://blog.csdn.net/shienquan/article/details/40260217

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!