Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

2 Internet connections on ASA5510

Hello,

I'm stock and I am sure it is simple but I can't find it.

I have an ASA5510 from which I am using 3 interfaces.

-One interface have the main internet connection router

-One interface is attache to a switch 3750 and has multiple virtual interface configured on it

-One interface has another internet connection router.

What I am trying to do is to have only one of the Vlan using the second internet connection and not the first one.

My idea was to just have a static route who says that on interface VLAN_B (for the special VLAN), all traffic goes to 2nd internet router interface.

But it does not route.

All I have is a default route configured : on interface Internet1 0.0.0.0/0 goes to 1st internet router interface.

Any idea or help ?

Thank you very much

1 ACCEPTED SOLUTION

Accepted Solutions

2 Internet connections on ASA5510

Hi

what i can think of is to run the asa in multiple context mode.

use one context for routing the special vlan and use the other context for routing the rest.

I dont run the asa itsself in multiple context, but i have 2 fwsm' s running in multiple context and by multiple context what you want to do is possible.

You might want to check your reseller if a license is needed though for your asa or if its onboard already.

Good luck.

10 REPLIES
Silver

2 Internet connections on ASA5510

use route map

---

Posted by WebUser Nabil Benyoussef

New Member

2 Internet connections on ASA5510

Thanks for your answer but I don't see how route map would work here. I am not really familliar wth route map I have to say.

Re: 2 Internet connections on ASA5510

Hi,

What he means is something like this:

Example: vlan 10 has to go out to router 2 and vlan 20 has to go out to router 1

For instance:

vlan 10 = 10.1.1.0 /24

vlan 20 = 10.1.2.0/24

Create ACL to match address ranges

access-list 101 permit ip 10.1.1.0 0.0.0.255 any
access-list 102 permit ip 10.1.2.0 0.0.0.255 any

Create route-map, match address 101 and set next-hop to router 2

route-map outbound permit 10
match ip address 101
set ip next-hop

Create route-map, match address 102 and set next-hop to router 1

route-map outbound permit 20
match ip address 102
set ip next-hop

Apply route-map

interface Ethernet0/x

ip policy route-map outbound

interface Ethernet0/y

ip policy route-map outbound

Now when a packet enters ethernet0/x and its source ip = 10.1.1.x, a next hop to router 2 will be set. etc.

New Member

Re: 2 Internet connections on ASA5510

Thanks a lot for your answer, it makes it more clear. But one problem is still there, I am configuring that on my ASA 5510, and there is no "set ip next-hop" only set ip metric/metric-type

New Member

Re: 2 Internet connections on ASA5510

Do you think that by configuring OSPF I would be able to isolate the 2 connections ?

I mean if I put vlan 10 and router 1 in one OSPF process and Vlan 20 and router 2 in another OSPF process, would it allow me to apply kind of 2 different default gatway (one per process) ?

Re: 2 Internet connections on ASA5510

Hi

not sure, but i dont think so.

i m now logged in a asa here and will check some stuff.

ps. I did see that its indeed not possible to configure the next hop.

2 Internet connections on ASA5510

Hi

what i can think of is to run the asa in multiple context mode.

use one context for routing the special vlan and use the other context for routing the rest.

I dont run the asa itsself in multiple context, but i have 2 fwsm' s running in multiple context and by multiple context what you want to do is possible.

You might want to check your reseller if a license is needed though for your asa or if its onboard already.

Good luck.

New Member

Re: 2 Internet connections on ASA5510

Thanks a lot for the search. I look into the multiple context mode.

New Member

2 Internet connections on ASA5510

Thanks A LOT Ton V Engelen.

I had already the good license for the multiple context and now it is working like a charm

2 Internet connections on ASA5510

Hi

very cool!

And you worked this config change out very fast!!!

Thanks!!

1117
Views
0
Helpful
10
Replies