免费注册 查看新帖 |

Chinaunix

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

拓扑和配置 配置哪块有问题?(在线等) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-09 15:52 |只看该作者 |倒序浏览
20.1.1.1-route-172.16.0.1---172.16.0.2-pix-192.168.0.1 ---switch--15台pc

在route和pix上都配上nat 把192网段nat到172 把172网段在往公网上nat 实现15台pc上网 配置什么地方有问题?

配置如下

Pix(config)#nameif ethernet0 outside security0
Pix(config)#nameif ethernet1 inside security100
Pix(config)#ip address outside 172.16.0.2 255.255.255.255
Pix(config)#ip address inside 192.168.0.1 255.255.255.0
Pix(config)#nat (inside) 1 0 0
Pix(config)#global (outside) 1 172.16.0.3-172.16.0.254
Pix(config)#route outside 0 0 172.16.0.1 1

route配置
interface Ethernet0/0
ip address 172.16.0.1 255.255.255.0
ip nat inside

interface Serial0/0
ip address 20.1.1.1 255.255.255.0
ip nat outside

ip access-list 1 permit 192.168.0.0

ip nat pool wind 20.1.1.2 20.1.1.20 netmask 255.255.255.0
ip nat inside source list 1 pool wind

论坛徽章:
0
2 [报告]
发表于 2005-09-10 18:05 |只看该作者

拓扑和配置 配置哪块有问题?(在线等)

珊了ip access-list 1 permit 192.168.0.0
改为ip access-list 1 permit 172.16.0.0
建议pix不要做nat,否则太麻烦。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP