02-22-2016 08:22 AM - edited 03-05-2019 03:24 AM
Hi All,
This is my first post on this forum, i have been asked to look at using load balancing with a single Cisco with two DSL Wic's to a) provide an improvement in speed (somewhat as i appreciate its per session) and b) to provide more functionality with technologies such as ACL's etc.
I am CCNA and have tried to understand the different approaches to this, SLA etc but landed with this config which seems to work fine under testing.
Could i get your thoughts on this config?
!
ip dhcp excluded-address 192.168.1.1 192.168.1.50
ip dhcp excluded-address 192.168.1.254
!
ip dhcp pool Staff
network 192.168.1.0 255.255.255.0
default-router 192.168.1.254
dns-server 8.8.8.8 8.8.4.4
domain-name Bernard.co.uk
lease 9
!
!
ip cef
no ipv6 cef
!
track 1 interface ATM0/0/0 line-protocol
!
track 2 interface ATM0/1/0 line-protocol
!
!
interface FastEthernet0/0
description Bernard LAN
bandwidth 1000000
ip address 192.168.1.254 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
interface ATM0/0/0
no ip address
no atm ilmi-keepalive
dsl bitswap both
!
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface ATM0/1/0
no ip address
no atm ilmi-keepalive
dsl bitswap both
!
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 2
!
!
interface Dialer0
description ADSL interface 1 TT
ip address negotiated
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip virtual-reassembly
encapsulation ppp
no ip route-cache same-interface
shutdown
dialer pool 1
dialer idle-timeout 0
dialer persistent
dialer-group 1
ppp authentication chap callin
ppp chap hostname 456123@Bernard
ppp chap password 0 Bernard0
no cdp enable
!
!
interface Dialer1
description ADSL interface 2 TT
ip address negotiated
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip virtual-reassembly
encapsulation ppp
no ip route-cache same-interface
dialer pool 2
dialer idle-timeout 0
dialer persistent
dialer-group 2
ppp authentication chap callin
ppp chap hostname 321654@Bernard
ppp chap password 0 Bernard1
no cdp enable
!
!
!
ip nat inside source route-map Route1 interface Dialer0 overload
ip nat inside source route-map route2 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Dialer0 track 1
ip route 0.0.0.0 0.0.0.0 Dialer1 track 2
!
ip access-list extended POLICYADDRESS1
permit ip any any
ip access-list extended POLICYADDRESS2
permit ip any any
!
ip radius source-interface Dialer0
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
no cdp run
!
route-map route2 permit 20
match ip address POLICYADDRESS2
match interface Dialer1
!
route-map Route1 permit 10
match ip address POLICYADDRESS1
match interface Dialer0
!
!
event manager applet dialer0down
event track 1 state down
action 1.0 syslog msg "atm 0/0/0 down, shutting down dialer0 to withdraw route"
action 2.0 cli command "enable"
action 3.0 cli command "conf t"
action 4.0 cli command "interface dialer0"
action 5.0 cli command "shut"
action 6.0 cli command "end"
event manager applet dialer0up
event track 1 state up
action 1.0 syslog msg "atm 0/0/0 up, re-enabling dialer0"
action 2.0 cli command "enable"
action 3.0 cli command "conf t"
action 4.0 cli command "interface dialer0"
action 5.0 cli command "no shut"
action 6.0 cli command "end"
event manager applet dialer1down
event track 2 state down
action 1.0 syslog msg "atm 0/1/0 down, shutting down dialer1 to withdraw route"
action 2.0 cli command "enable"
action 3.0 cli command "conf t"
action 4.0 cli command "interface dialer1"
action 5.0 cli command "shut"
action 6.0 cli command "end"
event manager applet dialer1up
event track 2 state up
action 1.0 syslog msg "atm 0/1/0 up, re-enabling dialer1"
action 2.0 cli command "enable"
action 3.0 cli command "conf t"
action 4.0 cli command "interface dialer1"
action 5.0 cli command "no shut"
action 6.0 cli command "end"
!
02-22-2016 09:32 AM
This is my first post on this forum ...
... unfortunately, Feedback Forum is dedicated to other topics. See description for details.
I moved your question to WAN, Routing and Switching
02-22-2016 02:03 PM
Ok thanks.
02-23-2016 06:34 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
I'm very rusty dealing with dialer interfaces, so I'm only going to make some general comments.
I believe aDSL ppp often has 8 bytes of overhead, so if true, to avoid fragmentation, you want to set the interface's MTU to 1492 and (if platform supported) use tcp mss-adjust of 1452.
aDSL often has much less upstream bandwidth than the physical port provides, so you might want to shape for that bandwidth so you can manage (and "see") congestion. (I would recommend using FQ.)
With aDSL, I'm unsure how likely it is for you to lose path connectivity while still keeping the WIC interface up. I.e. unsure whether you need to track or use SLA to monitor each path's connectivity.
If your platform supports it, PfR could be use to dynamically load balance across both paths, and I believe it will also stop using one path if that's path's connectivity is lost.
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: