免费注册 查看新帖 |

Chinaunix

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

华为3640 NAT配置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-05-04 10:07 |只看该作者 |倒序浏览
单位想将华为3640 作为一个内部上网的代理,内部网全部通过它上网\r\n请问一下NAT应该如何配置?\r\n有没有现成的例子?

论坛徽章:
0
2 [报告]
发表于 2004-05-06 13:06 |只看该作者

华为3640 NAT配置

华为的,没有碰见过,不过命令应该和cisco的差不多.\r\n可以使用?查看具体命令.\r\n祝你好运!

论坛徽章:
0
3 [报告]
发表于 2004-05-06 14:38 |只看该作者

华为3640 NAT配置

你的系统软件版本是多少?\r\n旧版本\r\n\r\nQuidway(config)# nat pool 202.38.160.x 202.38.160.x pool pool1 (电信分配的地址池)\r\nQuidway(config)# access-list 1 permit 10.110.10.0 0.0.0.255 (设置可以访问的网段)\r\nQuidway(config)#access-list 1 deny any\r\nQuidway(config)firewall enable \r\nQuidway(config-if-Serial0)# nat inside 1 pool pool1 (出接口上配置)\r\n\r\nQuidway(config-if-Serial0)# nat server global 202.38.160.x inside 10.110.10.1\r\nftp tcp\r\nQuidway(config-if-Serial0)# nat server global 202.38.160.x inside 10.110.10.2\r\nwww tcp\r\nQuidway(config-if-Serial0)# nat server global 202.38.160.x 8080 inside\r\n10.110.10.3 www tcp\r\nQuidway(config-if-Serial0)# nat server global 202.38.160.x inside 10.110.10.4\r\nsnmp udp\r\n\r\n\r\n新版本\r\n\r\n\r\n\r\n1.1.1 使用出口公网地址做nat\r\nversion 1.74 适用版本vrp1.7\r\n! \r\n[Router] acl 101 acl 1 match-order auto \r\n[Router-acl101] rule normal permit source 10.0.0.0 0.0.0.255 \r\n[Router-acl101] rule normal deny source any \r\n! \r\n[Router] interface Ethernet0 \r\n[Router-Ethernet0] ip address 10.0.0.1 255.255.255.0 \r\n! \r\n[Router] interface Ethernet1 \r\n[Router-Ethernet1] ip address 202.1.1.1 255.255.255.0 \r\n[Router-Ethernet1] nat outbound 1 interface \r\n! \r\n[Router] ip route-static 0.0.0.0 0.0.0.0 202.1.1.2 preference 60 \r\n[Router] ! \r\n[Router] return \r\n\r\n\r\n\r\n1.1.2 使用地址池做nat\r\nversion 1.74 适用版本vrp1.7\r\n[Router] nat address-group 1 202.1.1.1 202.1.1.6 pool1 \r\n! \r\n[Router] acl 101 acl 1 match-order auto \r\n[Router-acl101] rule normal permit source 10.0.0.0 0.0.0.255 \r\n[Router-acl101] rule normal deny source any \r\n! \r\n[Router] interface Ethernet0 \r\n[Router-Ethernet0] ip address 10.0.0.1 255.255.255.0 \r\n! \r\n[Router] interface Ethernet1 \r\n[Router-Ethernet1] ip address 202.1.1.1 255.255.255.0 \r\n[Router-Ethernet1] nat outbound 1 pool pool1 \r\n! \r\n[Router] ip route-static 0.0.0.0 0.0.0.0 202.1.1.2 preference 60 \r\n! \r\nreturn

论坛徽章:
0
4 [报告]
发表于 2004-05-07 16:06 |只看该作者

华为3640 NAT配置

谢谢楼上的\r\n我试试看\r\n但是有一些命令我不太懂\r\n到时请教!!!

论坛徽章:
0
5 [报告]
发表于 2004-05-09 19:51 |只看该作者

华为3640 NAT配置

我的系统的版本是4。14。\r\n怪不得一些命令不行\r\n原来工升级的\r\n可是升级的程序网上不好找啊?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP