免费注册 查看新帖 |

Chinaunix

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

哪里错了?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-06 02:11 |只看该作者 |倒序浏览
Router#sh run
Building configuration...

Current configuration : 492 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.11.26 255.255.255.0
ip nat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 218.241.82.33 255.255.255.224
ip nat inside
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.11.25
no ip http server
!
!
line con 0
line aux 0
line vty 0 4
!
end

Router#

论坛徽章:
0
2 [报告]
发表于 2005-04-06 08:42 |只看该作者

哪里错了??

那个inside和outside怎么看都像是反了

而且你还要在global下写ip nat 。。。。。

论坛徽章:
0
3 [报告]
发表于 2005-04-06 12:27 |只看该作者

哪里错了??

在global下写ip nat 。。。。。是写哪个ip地址?

论坛徽章:
0
4 [报告]
发表于 2005-04-06 14:23 |只看该作者

哪里错了??

[quote]原帖由 "zhidacjw"]在global下写ip nat 。。。。。是写哪个ip地址?[/quote 发表:



这个得具体情况具体分析了。
大部分时间,要 ip nat inside source ...

具体见
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt1/1cfipadr.htm#wp1042290

论坛徽章:
0
5 [报告]
发表于 2005-04-06 16:29 |只看该作者

哪里错了??

写上ip nat pool x.x.x.x y.y.y.y netmask a.a.a.a

论坛徽章:
0
6 [报告]
发表于 2005-04-06 16:38 |只看该作者

哪里错了??

原帖由 "ehuangdi" 发表:
Router#sh run
Building configuration...

Current configuration : 492 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostn..........


第一:ip地址一个是192.168.11.26一个是192.168.11.25
第二:ip nat设置反了
第三:没有ip nat inside source......语句
ps:你是要把192.168.11.26静态转换为公网ip呢?还是要一个默认c段?

论坛徽章:
0
7 [报告]
发表于 2005-04-07 01:33 |只看该作者

哪里错了??

你到底要不要做NAT?
不做nat,就不用inside,outside
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP