免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3130 | 回复: 1
打印 上一主题 下一主题

关于nat转换的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-12 13:48 |只看该作者 |倒序浏览
有一台2600路由器, 想让所有的电脑通过它来访问internet。\r\n\r\n外网的线接f0/0口,有固定ip\r\n\r\n内网接f0/1口\r\n\r\n\r\n在2600上配置net转换,可是不成功啊,向大家请教,是不是配置错误啊!!\r\n\r\nip ssh version 1\r\n!\r\n!\r\ninterface FastEthernet0/0\r\n ip address 200.2.2.18 255.255.255.252\r\n ip nat outside\r\n duplex auto\r\n speed auto\r\n!\r\ninterface FastEthernet0/1\r\n ip address 192.168.1.1 255.255.255.0\r\n ip nat inside\r\n duplex auto\r\n speed auto\r\n!\r\nip nat pool test 200.2.2.19 200.2.2.19 netmask 255.255.255.252\r\nip nat inside source list 1 interface FastEthernet0/1 overload\r\nip classless\r\n!\r\n!\r\naccess-list 1 permit 192.168.1.0 0.0.0.255\r\n!\r\n!\r\n!\r\nline con 0\r\nline vty 0 4\r\n login\r\n!\r\n!\r\nend\n\n[ 本帖最后由 jozn 于 2009-9-13 10:06 编辑 ]

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
2 [报告]
发表于 2009-09-12 14:20 |只看该作者
外加配置错误。\r\n!\r\nip nat pool test 200.2.2.19 200.2.2.19 netmask 255.255.255.252\r\nip nat inside source list 1 interface FastEthernet0/1 overload\r\nip classless\r\n!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP