雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1478|回复: 4

各位高手帮帮忙

[复制链接]
发表于 2011-11-27 20:40:33 | 显示全部楼层 |阅读模式
本帖最后由 默念西风 于 2011-11-27 20:47 编辑


我搭建了这一个简单的拓扑图,pix的e0口同R1的f0/0相连,e1口同R2的f0/1相连
下面是个接口的ip(路由器上我只配置了有用到那个接口的ip)
e0:10.10.10.1/24 R1的f0/0:10.10.10.2/24
e1:192.168.1.2   R2的f0/1:192.168.1.1

问题:我想让R1ping通R2。但是没办法ping通,R1只能ping同e0口,无法ping通e1口。
                                          R2只能ping同e1口,无法ping通e0口。
所以更不用说让R1ping通R2
下面是防火墙上的配置
PIX Version 7.2(2)
!
hostname pixfirewall
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface Ethernet0
nameif inside
security-level 100
ip address 10.10.10.1 255.255.255.0
!
interface Ethernet1
nameif outside
security-level 0
ip address 192.168.1.2 255.255.255.0
!
interface Ethernet2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet3
shutdown     
no nameif
no security-level
no ip address
!
interface Ethernet4
shutdown
no nameif
no security-level
no ip address
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
access-list 100 extended permit icmp any any
pager lines 24
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 192.168.1.12-192.168.1.150 netmask 255.255.255.0
global (outside) 1 192.168.1.152 netmask 255.255.255.0
nat (inside) 1 10.10.10.0 255.255.255.0
access-group 100 in interface outside
route outside 0.0.0.0 0.0.0.0 192.168.1.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
!
!
prompt hostname context
Cryptochecksum:00000000000000000000000000000000
: end
各位大神帮忙看看到底是什么问题

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2011-11-27 21:55:53 | 显示全部楼层
你PIX上的NAT错了
 楼主| 发表于 2011-11-27 22:27:38 | 显示全部楼层
紫川凌 发表于 2011-11-27 21:55
你PIX上的NAT错了

哪里错了,怎么修改,求指教
发表于 2011-11-28 10:53:21 | 显示全部楼层

帮你找救兵。
发表于 2011-11-28 14:20:20 | 显示全部楼层
楼主你使用
pixfirewall#  show xlate
查看一下是不是有表项。
如果你用路由器模拟主机进行发包,那你要在R1和R2上使用no ip routing 并且指定ip default-gateway。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-4-27 09:27 , Processed in 0.080077 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表