08-24-2008 09:13 PM - edited 03-06-2019 12:58 AM
Guys, I have a 3600 router where I have 2 internet links. Is it possible to do load sharing for both outbound and inbound traffic. i have a public ip pool for Natting..
Thanks in advance..
08-24-2008 09:29 PM
Hi Harish
You need to provide more details on the following :
Internet links subscribed from same ISP or from different ISP
Public ip pool provided by the ISP/ISPs or your own ip pool
regds
08-24-2008 09:31 PM
Internet connections are from different ISP's
and the IP pool we have got from both ISP's.. if it is required we are ready to take our own IP's.
08-24-2008 10:02 PM
are using BGP with your ISP?
08-24-2008 10:04 PM
no we are using default routing.
Thanks..
08-24-2008 10:41 PM
Hi Harish
Can you try this and revert ???
ip nat pool ISP1 a.a.a.0 a.a.a.b netmask x.x.x.x
ip nat pool ISP2 c.c.c.0 c.c.c.d netmask y.y.y.y
!
ip nat inside source route-map map1 pool ISP1
ip nat inside source route-map map2 pool ISP2
!
route-map map1 permit 10
match ip address subnet1
set ip next-hop ISP1
set ip next-hop ISP2
!
route-map map1 permit 20
match ip address subnet2
set ip next-hop ISP2
set ip next-hop ISP1
!
regds
08-24-2008 10:47 PM
thanks.. as per this.. it would take isp2 only if isp1 fails rite..? and more over I have only one subnet and if i do per souce load balancing , we cant acheive correct load balancing rite.. like if a source is using more bandwith, it always take same path..?
08-25-2008 12:58 AM
hi Harish
try the following
lets say u have the following subnet
192.168.1.0/24
u can devide it to two subnets for loadsaharing
192.168.1.0/128
192.168.1.127/128
acccess-list 101 permit ip 192.168.1.0 0.0.0.128 any
acccess-list 102 permit ip 192.168.1.127 0.0.0.128 any
access-list 100 pemirt ip any any
then
ip nat pool ISP1 a.a.a.0 a.a.a.b netmask x.x.x.x
ip nat pool ISP2 c.c.c.0 c.c.c.d netmask y.y.y.y
route-map isp permit 10
match ip address 101
set ip next-hop ips1
!
route-map isp permit 20
match ip address 102
set ip next-hop ips2
route-map isp permit 30
match ip address 101
set ip next-hop ips2
!
route-map isp permit 40
match ip address 102
set ip next-hop ips1
ip nat inside source list 100 pool ISP1
ip nat inside source list 100 pool ISP2
apply the route map to the router interface that connect to ur LAN
and let me know
good luck
if helpful Rate
08-24-2008 10:54 PM
hi Edwin
based on ur route map applied to nating lane
if the packet come from subnet one will match the line one nating statment and will use the orue map and go to the ISP1
if ISP1 down
how will will this line handel this issue??
u put the next line as ISP while the pool will be ISP1 pool !!!
if we make like
access-list 100 permit ip any any
route-map map1 permit 10
match ip address subnet1
set ip next-hop ISP1
set ip next-hop ISP2
route-map map1 permit 20
match ip address subnet2
set ip next-hop ISP2
set ip next-hop ISP1
then
ip nat pool ISP1 a.a.a.0 a.a.a.b netmask x.x.x.x
ip nat pool ISP2 c.c.c.0 c.c.c.d netmask y.y.y.y
ip nat inside source list 100 pool ISP1
ip nat inside source list 100 pool ISP2
and we apply the route map to the source or sources interfaces
so the distination dicision will be taken first then will be send to the corsponding NAT
Thank you
08-24-2008 11:51 PM
Hi marwanshawi
Thx for pointing me out.
regds
08-25-2008 12:08 AM
u welcome :)
08-24-2008 10:05 PM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: