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. And see here for current known issues.

New Member

how to distribute traffic between ADSL lines

We have a senario, A router with one FE and 4 ADSL WIC connected to the internet. Each ADSL gets ip address Dynamically form the same ISP. Can I load balance outgoing traffic to the internet with this 4 ADSL connection?. The FE port of the router is connected to a firewall, hence the outgoing traffic comes from a single source.

Can someone help me.

4 REPLIES
Purple

Re: how to distribute traffic between ADSL lines

Hi,

You certainly can do so. As long as you have four routes (each of them equal cost) pointing out each of these interfaces, then CEF will load-balance over these interfaces automatically, on a per-destination basis. It does not matter that all your traffic is coming from the same FE interface.

If you are using default routes, you can use something like the following:

ip cef

ip route 0.0.0.0 0.0.0.0 atm0.32

ip route 0.0.0.0 0.0.0.0 atm1.32

ip route 0.0.0.0 0.0.0.0 atm2.32

ip route 0.0.0.0 0.0.0.0 atm3.32

Hope that helps - pls rate the post if it does.

Paresh

New Member

Re: how to distribute traffic between ADSL lines

Hi Pkhatri

How can NAT be handled?

Purple

Re: how to distribute traffic between ADSL lines

Use a config such as the following (you will need to add IPs etc)

int FastEthernet0

ip nat inside

!

interface atm0.32

ip nat outside

!

interface atm1.32

ip nat outside

!

interface atm2.32

ip nat outside

!

interface atm3.32

ip nat outside

!

ip nat inside source route-map NATMAP1 interface atm0.32 overload

ip nat inside source route-map NATMAP2 interface atm1.32 overload

ip nat inside source route-map NATMAP3 interface atm2.32 overload

ip nat inside source route-map NATMAP4 interface atm3.32 overload

!

ip cef

ip route 0.0.0.0 0.0.0.0 atm0.32

ip route 0.0.0.0 0.0.0.0 atm1.32

ip route 0.0.0.0 0.0.0.0 atm2.32

ip route 0.0.0.0 0.0.0.0 atm3.32

!

route-map NATMAP1 permit 10

match interface atm0.32

!

route-map NATMAP2 permit 10

match interface atm1.32

!

route-map NATMAP3 permit 10

match interface atm2.32

!

route-map NATMAP4 permit 10

match interface atm3.32

!

Using the above config, each packet's source address will be NATed based on which interface it is switched out of, in a dynamic fashion.

Hope that helps - pls rate the post if it does.

Paresh

New Member

Re: how to distribute traffic between ADSL lines

Thanks

170
Views
8
Helpful
4
Replies
CreatePlease login to create content