The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"site to site vpn asa 5505 routing problem"
Вариант для распечатки  
Пред. тема | След. тема 
Форум Маршрутизаторы CISCO и др. оборудование. (Маршрутизация)
Изначальное сообщение [ Отслеживать ]

"site to site vpn asa 5505 routing problem"  +/
Сообщение от diezzz (ok) on 17-Фев-11, 05:38 
Всем доброго времени суток.
Имеется следующая схема:

192.168.239.0/24---(sonicwall)172.20.20.1---172.20.20.2(asa 5505)public_ip1===public_ip2(cisco)---10.1.150.0/24

Собственно, настроен vpn между asa 5505 public_ip1 и cisco public_ip2.
VPN поднимается в случае: 172.20.20.0/24-> 10.1.150.0/24
На sonicwall включен NAT: 192.168.239.0/24 -> 172.20.20.1/24
Проблема заключается в том, что при попытке пропинговать к примеру с хоста 192.168.239.250 хост 10.1.150.1 фаервол asa 5505 получает arp запросы:


arp-in: request at inside from 172.20.20.1 0006.b127.3317 for 10.1.150.1 0000.0000.0000
arp-set: added arp inside 172.20.20.1 0006.b127.3317 and updating NPs at 34794710
arp-in: request at inside from 172.20.20.1 0006.b127.3317 for 10.1.150.1 0000.0000.0000
arp-set: added arp inside 172.20.20.1 0006.b127.3317 and updating NPs at 34794750
arp-in: request at inside from 172.20.20.1 0006.b127.3317 for 10.1.150.1 0000.0000.0000
arp-set: added arp inside 172.20.20.1 0006.b127.3317 and updating NPs at 34794800

но в ответ ничего не отправляет.
Т.е получается asa 5505 не знает, что делать с подсеткой 10.1.150.0
Вот что ловит capture:

15: 16:16:25.235842 802.1Q vlan#1 P0 arp who-has 10.1.150.1 tell 172.20.20.1
16: 16:16:25.277802 802.1Q vlan#1 P0 arp who-has 10.1.150.1 tell 172.20.20.1
17: 16:16:25.327802 802.1Q vlan#1 P0 arp who-has 10.1.150.1 tell 172.20.20.1

vpn настроен правильно, потому что после выполнения команды:
packet-tracer input inside icmp 172.20.20.1 0 0 10.1.150.1
соединение устанавливается.

Конфиг asa 5505:

ASA Version 8.2(1)
!
hostname ciscoasa
enable blablabla
passwd blablabla
names
!
interface Vlan1
nameif inside
security-level 100
ip address 172.20.20.2 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address public_ip1 255.255.255.240
!
interface Vlan5
no forward interface Vlan1
nameif dmz
security-level 50
no ip address
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
same-security-traffic permit intra-interface
access-list inside_access_in extended permit ip any any
access-list outside_access_in extended permit ip any any
access-list outside_access_in extended permit tcp any any eq ssh
access-list nonat extended permit ip 172.20.20.0 255.255.255.0 10.1.150.0 255.255.255.0
access-list 110 extended permit ip 172.20.20.0 255.255.255.0 10.1.150.0 255.255.255.0
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
mtu dmz 1500
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 0.0.0.0 0.0.0.0
access-group inside_access_in in interface inside
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 gw_ip 1
route inside 192.168.239.0 255.255.255.0 172.20.20.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 sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
aaa authentication enable console LOCAL
aaa authentication ssh console LOCAL
aaa authorization command LOCAL
http server enable
http 192.168.1.0 255.255.255.0 inside
http 172.20.20.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
sysopt nodnsalias inbound
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set dell-dc esp-3des esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto map dell-dc 10 match address 110
crypto map dell-dc 10 set pfs
crypto map dell-dc 10 set peer public_ip2
crypto map dell-dc 10 set transform-set dell-dc
crypto map dell-dc interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet timeout 30
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 30
console timeout 0
dhcpd auto_config outside
!

threat-detection basic-threat
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
username blablabla
username blablabla
tunnel-group public_ip2 type ipsec-l2l
tunnel-group public_ip2 ipsec-attributes
pre-shared-key *

Может кто сталкивался с такой проблемой или есть советы как можно траблшутить проблему?

Ответить | Правка | Cообщить модератору

Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "site to site vpn asa 5505 routing problem"  +/
Сообщение от ural_sm (ok) on 17-Фев-11, 08:17 
> Всем доброго времени суток.
> Имеется следующая схема:
> Может кто сталкивался с такой проблемой или есть советы как можно траблшутить
> проблему?

Проблемы скорее всего на НАТ и НАТ0 на АСА

Попробуй так.
NAT: 192.168.239.0/24 -> 172.20.20.1/24
убрать НАТ и сделать маршрутизацию

поправить АСЛ на АСА

access-list nonat extended permit ip 172.20.20.0 255.255.255.0 10.1.150.0 255.255.255.0
access-list nonat extended permit ip 192.168.239.0 255.255.255.0 10.1.150.0 255.255.255.0

access-list 110 extended permit ip 172.20.20.0 255.255.255.0 10.1.150.0 255.255.255.0
access-list 110 extended permit ip 192.168.239.0 255.255.255.0 10.1.150.0 255.255.255.0

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

2. "site to site vpn asa 5505 routing problem"  +/
Сообщение от diezzz (ok) on 17-Фев-11, 09:19 
дело в том, что нужно чтоб на стороне 10.1.150.0/24 видели запросы от сетки 172.20.20.0/24, а не от 192.168.239.0.24
Ответить | Правка | ^ к родителю #1 | Наверх | Cообщить модератору

3. "site to site vpn asa 5505 routing problem"  +/
Сообщение от BJ (ok) on 17-Фев-11, 09:22 
Однозначно проблема в неправильной настройке маршрутизации на sonicwall. Каким образом на нём настроен маршрут на сеть 10.1.150.0/24?

>[оверквотинг удален]
> 192.168.239.250 хост 10.1.150.1 фаервол asa 5505 получает arp запросы:
> arp-in: request at inside from 172.20.20.1 0006.b127.3317 for 10.1.150.1 0000.0000.0000
> arp-set: added arp inside 172.20.20.1 0006.b127.3317 and updating NPs at 34794710
> arp-in: request at inside from 172.20.20.1 0006.b127.3317 for 10.1.150.1 0000.0000.0000
> arp-set: added arp inside 172.20.20.1 0006.b127.3317 and updating NPs at 34794750
> arp-in: request at inside from 172.20.20.1 0006.b127.3317 for 10.1.150.1 0000.0000.0000
> arp-set: added arp inside 172.20.20.1 0006.b127.3317 and updating NPs at 34794800
> но в ответ ничего не отправляет.
> Т.е получается asa 5505 не знает, что делать с подсеткой 10.1.150.0
> Вот что ловит capture:

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

4. "site to site vpn asa 5505 routing problem"  +/
Сообщение от diezzz (ok) on 17-Фев-11, 09:33 
Src: 192.168.239.0/24
Dst: 10.1.150.0/24
Srv: Any
Gw: 0.0.0.0
Int: X3


Ответить | Правка | ^ к родителю #3 | Наверх | Cообщить модератору

5. "site to site vpn asa 5505 routing problem"  +/
Сообщение от diezzz (ok) on 17-Фев-11, 10:30 
thnx BJ). действительно, я не правельно настроил маршрут.
Ответить | Правка | ^ к родителю #4 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру