Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PIX/ASA VPN spoke-to-spoke NEED HELP ASAP!!

Status
Not open for further replies.

mingtmak

Technical User
Apr 5, 2006
101
0
0
CA
Scenario: I have 2 PIXes (PIX1 and PIX2) at remote sites each connected with a site-to-site VPN to the central ASA (ASA1). I can ping to and from the ASA1 from either site but I can't ping from one remote site to the other remote site (PIX1 to PIX2).
PIX1 Internet traffic goes through ASA1 thru the VPN to PIX1.
Internet traffic for PIX2 is through it's gateway.

I'm using the "Enhanced Spoke-to-Spoke config" example to assist me but I still can't get it to work:


In reference to the above document:
I’m using site-to-site VPNs between the Hub (ASA1) and spokes (PIX1 and PIX2).

ASA1 = PIX1 in the config example (internal network of 172.17.16.0)
PIX2 = PIX2 in the config example (internal network of 10.100.101.0)
PIX3 = PIX3 in the config example (internal network of 10.100.102.0)

ASA1:
-------------------------------
ASA Version 7.0(4)
!
hostname ASA1
domain-name something.com
enable password AuktubEUZPg0RqiA encrypted
names
!
interface Ethernet0/0
nameif Outside
security-level 0
ip address 64.56.XXX.AA 255.255.255.0
!
interface Ethernet0/1
nameif Inside
security-level 90
ip address 172.17.16.2 255.255.255.0
!
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
nameif management
security-level 100
ip address 192.168.1.1 255.255.255.0
management-only
!
passwd AuktubEUZPg0RqiA encrypted
ftp mode passive
same-security-traffic permit intra-interface
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.103.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Outside_cryptomap_20_1 extended permit ip 172.17.16.0 255.255.255.0 10.100.102.0

255.255.255.0
access-list Outside_cryptomap_40_1 extended permit ip any 10.100.101.0 255.255.255.0
access-list Outside_cryptomap_60_1 extended permit ip any 10.100.103.0 255.255.255.0
pager lines 24
logging enable
logging buffered informational
logging asdm informational
mtu Outside 1500
mtu Inside 1500
mtu management 1500
ERROR: Command requires failover license
ERROR: Command requires failover license
icmp permit any Outside
icmp permit any echo-reply Outside
icmp permit any Inside
asdm image disk0:/asdm-504.bin
no asdm history enable
arp timeout 14400
nat-control
global (Outside) 10 interface
nat (Outside) 10 10.100.101.0 255.255.255.0
nat (Outside) 10 10.100.103.0 255.255.255.0
nat (Inside) 0 access-list Inside_nat0_outbound
nat (Inside) 10 172.17.16.0 255.255.255.0
route Outside 0.0.0.0 0.0.0.0 64.56.128.BB 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
timeout mgcp-pat 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
username XXX password 0WAOHb3RX3lpmtdS encrypted privilege 15
aaa authorization command LOCAL
http server enable
http 172.17.16.0 255.255.255.0 Inside
http 192.168.1.0 255.255.255.0 management
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto map Outside_map 20 match address Outside_cryptomap_20_1
crypto map Outside_map 20 set peer 64.56.XXX.XX
crypto map Outside_map 20 set transform-set ESP-3DES-SHA
crypto map Outside_map 40 match address Outside_cryptomap_40_1
crypto map Outside_map 40 set peer 64.56.XXX.YY
crypto map Outside_map 40 set transform-set ESP-3DES-SHA
crypto map Outside_map 60 match address Outside_cryptomap_60_1
crypto map Outside_map 60 set peer 64.56.XXX.ZZ
crypto map Outside_map 60 set transform-set ESP-3DES-SHA
crypto map Outside_map interface Outside
isakmp enable Outside
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption 3des
isakmp policy 10 hash sha
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
tunnel-group 64.56.XXX.XX type ipsec-l2l
tunnel-group 64.56.XXX.XX ipsec-attributes
pre-shared-key *
tunnel-group 64.56.XXX.YY type ipsec-l2l
tunnel-group 64.56.XXX.YY ipsec-attributes
pre-shared-key *
tunnel-group 64.56.XXX.ZZ type ipsec-l2l
tunnel-group 64.56.XXX.ZZ ipsec-attributes
pre-shared-key *
telnet 172.17.16.0 255.255.255.0 Inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 172.17.16.51-172.17.16.254 Inside
dhcpd address 192.168.1.2-192.168.1.254 management
dhcpd dns 199.185.200.36
dhcpd lease 3600
dhcpd ping_timeout 50
dhcpd auto_config Inside
dhcpd enable Inside
dhcpd enable management
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map global_policy
class inspection_default
inspect dns maximum-length 512
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
!
service-policy global_policy global
Cryptochecksum:f6af796bcb0ebfe00b3bc4623ef86330
: end

PIX2
----------------------------------------------
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password AuktubEUZPg0RqiA encrypted
passwd AuktubEUZPg0RqiA encrypted
hostname PIX2
domain-name something.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
name 172.17.16.0 Volvo
access-list inside_outbound_nat0_acl permit ip 10.100.101.0 255.255.255.0 any
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 any
pager lines 24
logging on
icmp permit any outside
icmp permit any echo-reply outside
icmp permit any inside
mtu outside 1500
mtu inside 1500
ip address outside 64.56.XXX.YY 255.255.255.0
ip address inside 10.100.101.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.100.101.0 255.255.255.0 inside
pdm location 10.100.102.0 255.255.255.0 inside
pdm location 192.168.1.0 255.255.255.0 inside
pdm location Volvo 255.255.255.0 outside
pdm location 192.168.XXX.XXX 255.255.255.0 inside
pdm location 10.100.104.0 255.255.255.0 outside
pdm location 198.166.XXX.XXX 255.255.255.255 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
route outside 0.0.0.0 0.0.0.0 64.56.128.BB 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 10.100.102.0 255.255.255.0 inside
http 10.100.101.0 255.255.255.0 inside
http 192.168.1.0 255.255.255.0 inside
http 192.168.101.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto map outside_map 20 ipsec-isakmp
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer 64.56.XXX.AA
crypto map outside_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
isakmp enable outside
isakmp key ******** address 64.56.XXX.AA netmask 255.255.255.255 no-xauth no-config-mode
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash sha
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
telnet 192.168.1.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 10.100.101.51-10.100.101.175 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
Cryptochecksum:0697a863dcb9faaa9154f7df41191139
: end
[OK]



PIX3
----------------------------------------------
Building configuration...
: Saved
:
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password AuktubEUZPg0RqiA encrypted
passwd AuktubEUZPg0RqiA encrypted
hostname PIX3
domain-name something.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
name 172.17.16.0 Volvo
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 Volvo 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 Volvo 255.255.255.0
pager lines 24
logging on
icmp permit any outside
icmp permit any echo-reply outside
icmp permit any inside
mtu outside 1500
mtu inside 1500
ip address outside 64.56.XXX.XX 255.255.255.0
ip address inside 10.100.102.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.100.102.0 255.255.255.0 inside
pdm location 10.100.101.0 255.255.255.0 inside
pdm location 10.100.102.0 255.255.255.255 inside
pdm location 192.168.1.0 255.255.255.0 inside
pdm location Volvo 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
route outside 0.0.0.0 0.0.0.0 64.56.XXX.BB 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 10.100.101.0 255.255.255.0 inside
http 10.100.102.0 255.255.255.0 inside
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto map outside_map 20 ipsec-isakmp
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer 64.56.XXX.AA
crypto map outside_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
isakmp enable outside
isakmp key ******** address 64.56.XXX.AA netmask 255.255.255.255 no-xauth no-config-mode
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash sha
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
telnet 10.100.102.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 10.100.102.51-10.100.102.178 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
Cryptochecksum:816ba758685e8d4bca4ec84a29843198
: end
[OK]

Are my access-lists an issue? should I have more routes (in the example config, only the single default route exists)?

Thanks so much for any assistance you can give!
 
Your ACL's on the spokes need to encrypt and nat_exempt the traffic to the end spoke.
Your almost there. :)


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Supergrrover, you are TRULY super. Thanks for responding.

So, this would need to be added to PIX3?
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0

Wouldn't the above be be covered off on the 'any' part on the PIX2 acls?
i.e. if below added on PIX2:
access-list inside_outbound_nat0_acl permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
Are they not redundant to the lines below that are currently in it?
access-list inside_outbound_nat0_acl permit ip 10.100.101.0 255.255.255.0 any
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 any

or did I just completely misunderstand your response?

Also, when making changes, once I enter the command, the changes should be in effect immediately? correct? I was doing some changes earlier, the expected result did not happen even though the config showed that it should, I came back 20 min later and the PIX was acting as expected...any thoughts?
 
Also, if I'm going in the right direction, are there any changes needed to be made on the ASA1?
 
The ACL's for no_NAT and interesting traffic must be mirror images of the receiving end pix. If the pix sees traffic that (by it's ACLs) should be encrypted and it isn't, the traffic gets dropped.
The ACLs on pix2 should work, but you want to spell it out for troubleshooting and best practive.

For any VPN work, you want to disable isakmp, "clear xlate", and then "isakmp enable outside" on the interface and that gets it up and going then.


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Below are the ACLs that I currently have entered (after your input)
From what I can see, PIX2 and PIX3 have mirror images of ACLs, like you suggested.

Still no communication between PIX2 and PIX3
Am I getting off track here?

I get error "305005: No Translation group found for icmp src Outside: 10.100.101.51 dst Outside: 10.100.102.51 (type 8, code 0)" when I try to ping from 10.100.101.X to 10.100.102.X.

ASA1 (Central)
--------------
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.103.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.102.0 255.255.255.0

access-list Inside_nat0_outbound extended permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0

(ACLs for encryption to 10.100.103.0 network - not connected now)
access-list Outside_cryptomap_20_1 extended permit ip 172.17.16.0 255.255.255.0 10.100.103.0 255.255.255.0
(ACLs for encrytion to 10.100.101.0 network)
access-list Outside_cryptomap_40_1 extended permit ip any 10.100.101.0 255.255.255.0
access-list Outside_cryptomap_40_1 extended permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
(ACLs for encryption to 10.100.102.0 network)
access-list Outside_cryptomap_60_1 extended permit ip any 10.100.102.0 255.255.255.0
access-list Outside_cryptomap_60_1 extended permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0

PIX2 (spoke)
------------
access-list inside_outbound_nat0_acl permit ip 10.100.101.0 255.255.255.0 any
access-list inside_outbound_nat0_acl permit ip 10.100.101.0 255.255.255.0 10.100.103.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 any
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 10.100.103.0 255.255.255.0

PIX3 (spoke)
------------
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 any
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 any
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
 
sorry, this is PIX2

PIX2 (spoke)
------------
access-list inside_outbound_nat0_acl permit ip 10.100.101.0 255.255.255.0 any
access-list inside_outbound_nat0_acl permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 any
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
 
Don't try to ping from pix to pix. That traffic does not get encrypted. Ping from internal host to internal host.

Pix2
access-list inside_outbound_nat0_acl permit ip 10.100.101.0 255.255.255.0 172.17.16.0 255.255.255.0
access-list inside_outbound_nat0_acl permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 172.17.16.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0

Pix3
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 172.17.16.0 255.255.255.0
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 172.17.16.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Yeah, I've been pinging from an internal host

Now after putting those in, I get 3 IPSEC tunnels showing but only 1 IKE Tunnel on PIX2 and ASA1 (central).
Only 1 IKE Tunnel and 1 IPSEC tunnel are showing at PIX3. Tracert to 10.100.102.XX goes to external gateway, throug ISP, etc. but never reaches destination. Pings don't work either.
Successful Tracert to 172.17.16.XX gives only one hop.

Are the ASA1 ACLs ok?

 
On the ASA, I still get the 305005 error when I ping from either host to the opposite spoke.
 
Sorry, long weekend (pumpkin ale!)

Try these for the crypto maps on the ASA

access-list outside_cryptomap_PIX2 permit ip 172.17.16.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list outside_cryptomap_PIX2 permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0

access-list outside_cryptomap_PIX3 permit ip 172.17.16.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list outside_cryptomap_PIX3 permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0

I changed the name so I could keep straight what was going where. Make sure these ACL's are tied to the correct vpn peers.


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
I was able to get support from Cisco on this and was finally able to get it working last week.
It took even the Cisco TAC Engineer a few tries to figure it out. He actually did the configurations himself. The main changes that were preventing communication are in bold.

ASA1
-------------
"No communication between 10.100.102.0 and 10.100.103.0 is required but he put them in anyways"
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.103.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 10.100.101.0 255.255.255.0 10.100.103.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 10.100.103.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list Outside_cryptomap_20_1 extended permit ip 172.17.16.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Outside_cryptomap_20_1 extended permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Outside_cryptomap_20_1 extended permit ip 10.100.103.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Outside_cryptomap_40_1 extended permit ip any 10.100.101.0 255.255.255.0
access-list Outside_cryptomap_60_1 extended permit ip any 10.100.103.0 255.255.255.0
"These below might be redundant since they’re the same as Inside_nat0_outbound, but the TAC engineer entered it like this."
access-list spoke_to_spoke extended permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list spoke_to_spoke extended permit ip 10.100.103.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list spoke_to_spoke extended permit ip 10.100.103.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list spoke_to_spoke extended permit ip 10.100.101.0 255.255.255.0 10.100.103.0 255.255.255.0

global (Outside) 10 interface
"I probably would have never thought of this [below]..I knew it was a simple config line. It’s nowhere to be found in the sample spoke-to-spoke config I was basing it on. But I guess it makes sense since the traffic is being turned around at the outside interface and not the inside."
nat (Outside) 0 access-list spoke_to_spoke
nat (Outside) 10 10.100.101.0 255.255.255.0
nat (Outside) 10 10.100.103.0 255.255.255.0
nat (Inside) 0 access-list Inside_nat0_outbound
nat (Inside) 10 172.17.16.0 255.255.255.0
route Outside 0.0.0.0 0.0.0.0 64.56.XXX.XXX 1

PIX1 (Internet traffic routed through ASA to here)
------------------
Since everything goes through the tunnel…
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 any
access-list nonat permit ip any any

"He tried without the nat statement at all, but found that you HAVE to have one defined or else the tunnels don’t function"
nat (inside) 0 access-list nonat
route outside 0.0.0.0 0.0.0.0 64.56.XXX.XXX 1

PIX2 (Internet traffic from local gateway, but communication required to PIX1)
-----------------
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 Volvo 255.255.255.0
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 10.100.103.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 Volvo 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 10.100.103.0 255.255.255.0

global (outside) 1 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
route outside 0.0.0.0 0.0.0.0 64.56.XXX.XXX 1

Thanks very much for your help in this Brent, really appreciate your quick responses. Even though I wasn't able to get it running, I gained a better understanding of PIX config.
 
Glad to hear it is up.
The bold didn't come through. Just want to see what was missed.


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
access-list spoke_to_spoke extended permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list spoke_to_spoke extended permit ip 10.100.103.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list spoke_to_spoke extended permit ip 10.100.103.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list spoke_to_spoke extended permit ip 10.100.101.0 255.255.255.0 10.100.103.0 255.255.255.0

nat (Outside) 0 access-list spoke_to_spoke

Sorry, these basic changes on the Central ASA allowed the communication to the spoke networks.
There are comments in quotes on my previous posts.
 
mingtmak, I have a similar network and currently testing this and I havent used nat(outside) commands. can you please explain why should we use below commands and do we require related global commands?

nat (Outside) 0 access-list spoke_to_spoke
nat (Outside) 10 10.100.101.0 255.255.255.0
nat (Outside) 10 10.100.103.0 255.255.255.0

and where is your 10.10.103.0. I believe its a another PIX along with 101.0 & 102.0! is that right ?

can you attach your final config and diagram along with this.

thanks in advance for your help
 
sorry I meant where is your 10.100.103.0 network?
 
yeah, that's right, the 103.0 network is another pix, which behaves similar to the 101.0 network, therefore virtually identical.

nat (Outside) 10 10.100.101.0 255.255.255.0
nat (Outside) 10 10.100.103.0 255.255.255.0

These allow the NATing to occur at the central ASA instead of nating occuring at each of the spoke PIXes (10.100.101.0 and 10.100.103.0 networks). In other words, the internet traffic goes from the central ASA (where it's NAT'ed), through the tunnel, then to the hosts on the 101.0/103.0 networks.

nat (Outside) 0 access-list spoke_to_spoke

is needed so that traffic between the three networks are not nat'd. The access-list "spoke-to-spoke" allows the communication between the different networks. At least for the way I've set it.
Like I mentioned before, the "spoke_to_spoke" acls might be redudant and I might have been able to use the line below and remove the "spoke_to_spoke" acls:

nat (Outside) 0 access-list Inside_nat0_outbound

But I left them since that's what the Cisco TAC engineer did.

If you still need help and still want to see my full configs/network diagram, I'll try to post them Monday or tuesday.
Feel free to post your full configs if you want someone to look at them.

Hope that helps! :)
 
mingtmak, thanks for your response. I almost understood your config. I am a bit confused when I see relate to the config from Cisco website you have mentioned.


In this same acl is created for hub & spokes to communicate,
"access-list 100 extended permit ip 10.10.10.0 255.255.255.0 10.30.30.0 255.255.255.0" (pix1 & pix2)
"access-list 100 extended permit ip 10.20.20.0 255.255.255.0 10.30.30.0 255.255.255.0" (pix2 & pix3)
and this is allowed under "crypto map mymap 10 match address 100".

I am not sure if I understood right.

I am still waiting for some requirements and so didnt finished the configs yet. It would be great if you can put your configs and network and so I can compare with mine when I am done.

Thanks again
 
mingtmak, I believe you have a router after the ASA connecting into the internet right? If so, does it have the basic config and allowing all traffic coming from the firewall?
 
No there's no router. The test setup had hosts connected to the inside interfaces for testing purposes.

ASA1
------------------------------------------------
asdm image disk0:/asdm-504.bin
asdm location 10.100.101.0 255.255.255.0 Outside
asdm location 10.100.102.0 255.255.255.0 Outside
asdm location 10.100.103.0 255.255.255.0 Outside
no asdm history enable
: Saved
:
ASA Version 7.0(4)
!
hostname Asa1
domain-name XXX.com
enable password AuktubEUZPg0RqiA encrypted
names
!
interface Ethernet0/0
nameif Outside
security-level 0
ip address 64.xx.xx.xx 255.255.255.0
!
interface Ethernet0/1
nameif Inside
security-level 90
ip address 172.17.16.2 255.255.255.0
!
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
nameif management
security-level 100
ip address 192.168.1.1 255.255.255.0
management-only
!
passwd AuktubEUZPg0RqiA encrypted
ftp mode passive
same-security-traffic permit intra-interface
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 172.17.16.0 255.255.255.0 10.100.103.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 10.100.101.0 255.255.255.0 10.100.103.0 255.255.255.0
access-list Inside_nat0_outbound extended permit ip 10.100.103.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list Outside_cryptomap_20_1 extended permit ip 172.17.16.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Outside_cryptomap_20_1 extended permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Outside_cryptomap_20_1 extended permit ip 10.100.103.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list Outside_cryptomap_40_1 extended permit ip any 10.100.101.0 255.255.255.0
access-list Outside_cryptomap_60_1 extended permit ip any 10.100.103.0 255.255.255.0
access-list spoke_to_spoke extended permit ip 10.100.101.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list spoke_to_spoke extended permit ip 10.100.103.0 255.255.255.0 10.100.102.0 255.255.255.0
access-list spoke_to_spoke extended permit ip 10.100.103.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list spoke_to_spoke extended permit ip 10.100.101.0 255.255.255.0 10.100.103.0 255.255.255.0
pager lines 24
logging enable
logging buffered informational
logging asdm informational
mtu Outside 1500
mtu Inside 1500
mtu management 1500
asdm image disk0:/asdm-504.bin
no asdm history enable
arp timeout 14400
nat-control
global (Outside) 10 interface
nat (Outside) 0 access-list spoke_to_spoke
nat (Outside) 10 10.100.101.0 255.255.255.0
nat (Outside) 10 10.100.103.0 255.255.255.0
nat (Inside) 0 access-list Inside_nat0_outbound
nat (Inside) 10 172.17.16.0 255.255.255.0
route Outside 0.0.0.0 0.0.0.0 64.xxx.xxx.xxx 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
timeout mgcp-pat 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
username XXX password 0WAOHb3RX3lpmtdS encrypted privilege 15
aaa authorization command LOCAL
http server enable
http 172.17.16.0 255.255.255.0 Inside
http 192.168.1.0 255.255.255.0 management
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto map Outside_map 20 match address Outside_cryptomap_20_1
crypto map Outside_map 20 set peer 64.xx.xxx.xxx
crypto map Outside_map 20 set transform-set ESP-3DES-SHA
crypto map Outside_map 40 match address Outside_cryptomap_40_1
crypto map Outside_map 40 set peer 64.xxx.xxx.xxx
crypto map Outside_map 40 set transform-set ESP-3DES-SHA
crypto map Outside_map 60 match address Outside_cryptomap_60_1
crypto map Outside_map 60 set peer 64.xxx.xxx.xxx
crypto map Outside_map 60 set transform-set ESP-3DES-SHA
crypto map Outside_map interface Outside
isakmp identity address
isakmp enable Outside
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption 3des
isakmp policy 10 hash sha
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
tunnel-group 64.xxx.xxx.xxx type ipsec-l2l
tunnel-group 64.xxx.xxx.xxx ipsec-attributes
pre-shared-key *
tunnel-group 64.xxx.xxx.xxx type ipsec-l2l
tunnel-group 64.xxx.xxx.xxx ipsec-attributes
pre-shared-key *
tunnel-group 64.xxx.xxx.xxx type ipsec-l2l
tunnel-group 64.xxx.xxx.xxx ipsec-attributes
pre-shared-key *
telnet 172.17.16.0 255.255.255.0 Inside
telnet timeout 5
ssh timeout 5
console timeout 0
management-access Inside
dhcpd address 172.17.16.51-172.17.16.254 Inside
dhcpd address 192.168.1.2-192.168.1.254 management
dhcpd dns xxx.xxx.xxx xxx.xxx.xxx
dhcpd lease 3600
dhcpd ping_timeout 50
dhcpd auto_config Inside
dhcpd enable Inside
dhcpd enable management
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map global_policy
class inspection_default
inspect dns maximum-length 512
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
!
service-policy global_policy global
Cryptochecksum:16d691a805c413e0f6f747a21bf7c399
: end


PIX1
----------------------------------------------------------

Building configuration...
: Saved
:
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password AuktubEUZPg0RqiA encrypted
passwd AuktubEUZPg0RqiA encrypted
hostname PIX1
domain-name XXX.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
name 172.17.16.0 Volvo
access-list outside_cryptomap_20 permit ip 10.100.101.0 255.255.255.0 any
access-list nonat permit ip any any
pager lines 24
logging on
mtu outside 1500
mtu inside 1500
ip address outside 64.xxx.xxx.xxx 255.255.255.0
ip address inside 10.100.101.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.100.101.0 255.255.255.0 inside
pdm location 10.100.102.0 255.255.255.0 inside
pdm location 192.168.1.0 255.255.255.0 inside
pdm location 192.168.101.0 255.255.255.0 inside
pdm location 10.100.104.0 255.255.255.0 outside
pdm location 10.100.102.0 255.255.255.0 outside
pdm location 10.100.103.0 255.255.255.0 outside
pdm location 10.100.103.0 255.255.255.0 inside
pdm location 192.168.30.0 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
nat (inside) 0 access-list nonat
route outside 0.0.0.0 0.0.0.0 64.xxx.xxx.xxx 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 10.100.102.0 255.255.255.0 inside
http 10.100.101.0 255.255.255.0 inside
http 192.168.1.0 255.255.255.0 inside
http 192.168.101.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto map outside_map 20 ipsec-isakmp
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer 64.xxx.xxx.xxx
crypto map outside_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
isakmp enable outside
isakmp key ******** address 64.xxx.xxx.xxx netmask 255.255.255.255 no-xauth no-config-mode
isakmp identity address
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash sha
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
telnet 192.168.1.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
management-access inside
console timeout 0
dhcpd address 10.100.101.51-10.100.101.175 inside
dhcpd dns 172.17.16.6 172.17.16.2
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
Cryptochecksum:a64abc46f2b15dd5375bb163dcd19fa5
: end
[OK]

PIX2
-------------------------------------------------------

Building configuration...
: Saved
:
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password AuktubEUZPg0RqiA encrypted
passwd AuktubEUZPg0RqiA encrypted
hostname PIX3
domain-name XXX.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 172.17.16.0 255.255.255.0
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list inside_outbound_nat0_acl permit ip 10.100.102.0 255.255.255.0 10.100.103.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 172.17.16.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 10.100.101.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.100.102.0 255.255.255.0 10.100.103.0 255.255.255.0
access-list outside permit icmp any interface outside echo-reply
access-list outside permit icmp any interface outside unreachable
access-list outside permit icmp any interface outside time-exceeded
pager lines 24
logging on
mtu outside 1500
mtu inside 1500
ip address outside 64.xxx.xxx.xxx 255.255.255.0
ip address inside 10.100.102.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.100.102.0 255.255.255.0 inside
pdm location 10.100.101.0 255.255.255.0 inside
pdm location 10.100.102.0 255.255.255.255 inside
pdm location 192.168.1.0 255.255.255.0 inside
pdm location 10.100.101.0 255.255.255.0 outside
pdm location 10.100.103.0 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
route outside 0.0.0.0 0.0.0.0 64.xxx.xxx.xxx 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 10.100.101.0 255.255.255.0 inside
http 10.100.102.0 255.255.255.0 inside
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto map outside_map 20 ipsec-isakmp
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer 64.xxx.xxx.xxx
crypto map outside_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
isakmp enable outside
isakmp key ******** address 64.xxx.xxx.xxx netmask 255.255.255.255 no-xauth
isakmp identity address
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash sha
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
telnet 10.100.102.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
management-access inside
console timeout 0
dhcpd address 10.100.102.51-10.100.102.178 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
Cryptochecksum:66b3c94b587826e9a3826a21567d48ab
: end
[OK]



Again, PIX3 is the same as PIX1, just different details (inside network 10.100.103.0 and different external IP)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top