Solved

Multi Gateway config with Cisco ASA

Posted on 2014-03-26
9
466 Views
Last Modified: 2014-10-02
Dear expert

This is our network structure:
Internet -> Site A (192.168.1.0 with gateway 192.168.1.250) Cisco ASA 5505
Internet -> Site B (192.168.2.0 with gateway 192.168.2.250) Juniper Firewall

I can access the site A and B if I am switch  gateway ip, this means: if connecting to A i need to have gateway ip: 192.168.1.250, if B I need to have 192.168.2.250.

However I want this: the Cisco can access both A and B, this is not working, I tried add a route, and added the ACL and added access rules for it, but still not working.

I tried to ping site B when im on the gateway on Cisco I got error from log:
The adaptive security appliance denied any inbound ICMP packet access. By default, all ICMP packets are denied access unless specifically allowed.

I checked around and saw you need to add ACL rules in Cisco, but I did... I dont know what is the problem.

Any idea?
Thx
0
Comment
Question by:Handersson75
  • 5
  • 4
9 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 39957879
You need to establish a VPN connection, IPSec site to site where
Each firewall will have IP segment 192.168.2.0 is accessible via the VPN tunnel

The same is true on the other side.

Sitea
PublicIPA
Remote gateway: publicIPsiteB
Local segment 192.168.1.0/24
Remote segment: 192.168.2.9/24

Siteb
PublicIPsiteB
Remote gateway publicIPA
Local segment 192.168.2.0/24
Remote segment 192.168.1.0/24

When the tunnel is established.

Sitea system 192.168.1.4 trying to access 192.168.2.15 will have the packets routed to the ASA 192.168.1.250. The destination 192.168.2.15 and the source IP will match the VPN routing rule at which point these packets will be encrypted and sent through the VPN to the juniper.  Upon receipt of the packet. The destination and the source will be evaluated to make sure they meet the VPN policy on the receiving end at which point the packet with the source of 192.168.1.14 and destination 192.168.2.15 will be allowed into the LAN on the way to 192.168.2.15. The service will then process the request and send a reply with the source of 192.168.2.15 and destination of 192.168.1.4 it will of course include other required TCP data that deals with maintaing state.   The packet on its way back undergoes similar evaluation process.

Depending on the proximate of the two devices, you could establish a home run link (cross cable) using a /30 network I.e. 172.16.0.0/30
Cisco asa interface 3 172.16.0.1/30
Junioer interface 3 172.16.0.2/30

You can setup ACLs that will route approved ACL access to 192.168.2.0/24 via 172.16.0.1
And on the other device 192.168.1.0/24 172.16.0.2

You could also use dynamic OSPF/RIP to share which networks are accessible via this link.


You can have IP route 0.0.0.0 0.0.0.0 interface1 weight1
IP route 0.0.0.0 0.0.0.0 interface2 weight2

When the two are equal, it has a load balancing behavior as both are equal.
If one is lower than the other (failover setup), the lower is the one with the higher preference and through which all traffic will be sent while the other is the backup.
Using interfaces makes the routing table reliant on the referenced interface being UP.
When the interface drops, the routing entry goes away until the interface comes back up.
0
 
LVL 1

Author Comment

by:Handersson75
ID: 39958126
Thx for the answer, i dont think i need a vpn connection there because the site B gateway is on site A, in site B we already have a vpn tunnel setup... Ok i was unclear of this setting and i will re draw it:

Internet -> Site A (192.168.1.0 with gateway 192.168.1.250) Cisco ASA 5505
Internet -> Site A (192.168.3.0 with gateway 192.168.3.250) Juniper Firewall
VPN tunnel between here.
Internet -> Site B (192.168.2.0 with gateway 192.168.2.250) Juniper Firewall

There its more clear, the site A got two gateway, Site B got one gateway. Those Juniper Firewall got no problem at communicate with each other, from site B we could only communicate with the Site A if the gateway is: 192.168.3.250, not if gateway is 192.168.1.250.

What I want is to make the Communication works for site A in 192.168.1.250 to communicate with site B.

Thx
0
 
LVL 77

Expert Comment

by:arnold
ID: 39958273
Your VPN from siteb to each of the devices on sitea.

Could you draw a network diagram?

Your ACLs would need to reference siteb IP segments as trusted, or allowed for specific access.

The VPN if you only using one needs to include all IP segments for routing information.
0
 
LVL 1

Author Comment

by:Handersson75
ID: 39958309
Here is the drawing, I noticed I did a misstake of pre statement... Sorry about that, now its clear.
network.png
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 77

Expert Comment

by:arnold
ID: 39958917
Where are you looking to get access from?

Are you trying to access siteb from cisco ?

Your IP addressing does not seem to be right.

It looks like cisco LAN, juniper wan and juniper lan for siteA are using the same segment.

Or is your juniper router configured in a transparent mode.

In order for the asa to access site B, it either has to learn the network route (network convergence through advertisement, rip, ospf) or a static route 192.168.2.0/24 192.168.1.251
0
 
LVL 1

Author Comment

by:Handersson75
ID: 39958937
Im trying to access site B using Cisco gateway yes. Juniper WAN is linked with Cisco, I dont know how the ISP have configed the Juniper but I think its in transparent mode? I have a static route to site B in Cisco tho... Or Site B cant event connect to Cisco at all.
0
 
LVL 77

Expert Comment

by:arnold
ID: 39959030
What do you mean?

On the cisco the route should be pointing to the juniper on sitea not siteb.

192.168.2.0/24 with 192.168.1.251
Not
192.168.2.0/24 with 192.168.2.250

The traffic from site A must enter the VPN tunnel between site a juniper and site B juniper.

From the sound of it you have no control/access to the junipers.
0
 
LVL 1

Author Comment

by:Handersson75
ID: 39959076
that is correct, I have no Control/access to the Junipers because I could login there and set the speed to 1Gbit/s ISP didnt want me to do it of course. But I Heard from them that the Juniper work perfect fine there is no Connection blocking or setting problem, I need to Believe that and check if any problem on the Cisco...

As far as i can see I added 2 static route:

192.168.2.0/24 with 192.168.1.251
192.168.2.0/24 with 192.168.2.250

Both if in there, I know that the 250 will not work but it was just for the test.
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 39959321
if both are in without a "weight" that means that one packet can be directed to 192.168.1.251 while the other to 192.168.2.250 which is what a load-balancing setup would look like.

the difficulty deals with the definition of the ports to which the connection between the ASA and Juniper is set at.

The juniper inter-connecting speed from 100MB to 1GB?


Are you trying to setup a VPN to the ASA such that your VPN'ed remote will be able to access both segments?  In this case your VPN remote setup must NAT the connection such that access from the VPN assigned IP 10.0.0.12 for example will appear to the juniper as originating from the 192.168.1.250 (the ASA router)
Otherwise, the VPN assigned IP 10.0.0.12 does not match the VPN between the Junipers which is 192.168.1.0/24 to 192.168.2.0/24
The VPN IP originating packet will get to the first Juniper and since it will fail to match the allowable VPN traffic pattern, it will be dropped on the first juniper.  Even if through a misconfiguration, it will enter the tunnel, it will be dropped on the other side.  Even if through a misconfiguration on both junipers, the packet actually reaches the destination system on the other end.  The response will end up in a drop state, or even if ............
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now