默念西风 发表于 2011-11-16 19:41:41

pix两边个有一个路由器,分属不同网段,但是在路由器上配置好后两个路由器无法ping通

下面是配置代码,求各位大神帮忙
PIX Version 7.2(2)
!
hostname PIX5
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface Ethernet0
nameif inside
security-level 100
ip address 192.168.2.3 255.255.255.0
!
interface Ethernet1
nameif outside
security-level 0
ip address 23.23.23.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
access-list nonat extended permit ip 192.168.2.0 255.255.255.0 192.168.2.0 255.255.255.0
access-list nonat extended permit ip 192.168.2.0 255.255.255.0 192.168.20.0 255.255.255.0
access-list tunnellist standard permit 192.168.2.0 255.255.255.0
pager lines 24
mtu inside 1500
mtu outside 1500
ip local pool ipsecvpn 192.168.2.20-192.168.2.120 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1 192.168.2.0 255.255.255.0
access-group 100 in interface outside
route outside 0.0.0.0 0.0.0.0 23.23.23.2 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
group-policy cisco internal
group-policy cisco attributes
vpn-idle-timeout 20
split-tunnel-policy tunnelspecified
split-tunnel-network-list value tunnellist
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set myset esp-des esp-md5-hmac
crypto dynamic-map mydynmap 20 set transform-set myset
crypto map mymap 20 match address nonat
crypto map mymap 20 set peer 57.57.57.7
crypto map mymap 20 set transform-set myset
crypto map mymap interface outside
crypto isakmp identity address
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption des
hash md5
group 2
lifetime 86400
tunnel-group 57.57.57.7 type ipsec-l2l
tunnel-group 57.57.57.7 ipsec-attributes
pre-shared-key *
telnet timeout 5
ssh timeout 5
console timeout 0
!
!
prompt hostname context
Cryptochecksum:dd4ea59e8eea3a46885b32c3cd9c9c5a
: end

紫川凌 发表于 2011-11-16 23:21:28

拓扑最好贴上来 不然不好判断

lin0131 发表于 2011-11-17 09:22:44

你可以先show xlate 看看是否有进行NAT转换
页: [1]
查看完整版本: pix两边个有一个路由器,分属不同网段,但是在路由器上配置好后两个路由器无法ping通