01-26-2012 01:17 PM - edited 03-07-2019 04:34 AM
Dear All,
i'm already has one internet connection is conecting directily to the Core Switch 6509, and the Switch is route any internet request with default route:
SW6509-conf)# ip route 0.0.0.0 0.0.0.0 10.170.10.10
10.170.10.10 is --> Next hop for the DSL router internal IP, and it's working fine.
The Problem:
==========
We have a new internet connection with another ISP/ with another DSL router, so i need your kindly support and suggest how to connect both of them to exit from the Core Switch 6509.
is it ok if i make another default route to the Next hop to the new DSL router as:
SW6509-conf)# ip route 0.0.0.0 0.0.0.0 10.80.10.10
10.80.10.10 is --> Next hop for the new DSL router internal IP.
Thanks
01-27-2012 12:59 AM
You should be able to do but it will load balance the traffic between both DSL routers and maybe you don't want that
01-27-2012 01:26 AM
Hi Mohamed,
Thats correct, you need to add another Default route pointing towards the second DSL router.
things you need to keep in mind:
- If you want the load share the traffic between these two ISP links, then yes the command "ip route 0.0.0.0 0.0.0.0 10.80.10.10" is good otherwise you will have to put an AD value after this command eg. "ip route 0.0.0.0 0.0.0.0 10.80.10.10 100" to make this second link as backup
- Based on your description I am not sure how NAT is happening, if 6509 is doing NAT then you'd have to configure more statements for the new DSL connection as well
Hope the above info helps
Neeraj
01-27-2012 04:59 AM
Thanks Brothers for your reply, i want ask you more:
if i have 2 Vlan's 500 & 600 :
i want Vlan 500 to exit from DSL 1 --> 10.170.10.10
i want Vlan 600 to exit from DSL 2 --> 10.80.10.10
is it possible with the default route?
01-27-2012 05:09 AM
No is not you need to configure the subnet for vlan 500 to go DSL 1
and vlan 600 subnet to go DSL 2
Example ip route 192.168.1.0 255.255.255.0 10.170.10.10
ip route 172.16.1.0 255.255.255.0 10.80.10.10
If this answered your question please marked it
Eugen
01-27-2012 05:25 AM
is there any waylike route-map or any other features to :
route Vlan 500 (192.168.1.0) to exit from DSL 1 --> 10.170.10.10
route Vlan 600 (172.16.1.0) to exit from DSL 2 --> 10.80.10.10
01-27-2012 06:21 AM
As Eugen mentioned, using Default route its not possible but you can accomplish this with the implementation of Policy Based routing (PBR)
And yes it involves route-maps
Example of PBR would look like this:
---------------------------------------------------------------------------------------
access-list 100 deny ip 192.168.1.0 0.0.0.255 172.16.1.0 0.0.0.255
access-list 100 permit ip 192.168.1.0 0.0.0.255 any
access-list 110 deny ip 172.16.1.0 0.0.0.255 192.168.1.0 0.0.0.255
access-list 110 permit ip 172.16.1.0 0.0.0.255 any
route-map vlan500 permit 10
match ip address 100
set ip next-hop 10.170.10.10
route-map vlan600 permit 10
match ip address 110
set ip next-hop 10.80.10.10
int vlan 500
ip address 192.168.1.1 255.255.255.0
ip policy route-map vlan500
int vlan 600
ip address 172.16.1.1 255.255.255.0
ip policy route-map vlan600
---------------------------------------------------------------------------------------
Check this document for details:
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008009481d.shtml
Hope it helps
Neeraj
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide