CISCO IOS – Load Balance 2 ISP

Load Balance 2 ISP with Cisco

http://www.dslreports.com/faq/13355

 

 

Below is a full working sample configuration based on the thread:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
version 12.4
service timestamps debug datetime localtime
service timestamps log datetime localtime
service password-encryption
!
!
resource policy
!
ip subnet-zero
!
!
!
!
ip cef
vpdn enable
!
!
clns routing
!
!
!
key chain cisco0
key 1
key-string 7 *******
!
!
!
!
!
!
!
!
!
!
!
!
oer master
policy-rules OER
max-range-utilization percent 10
keepalive 1
!
border 192.168.20.1 key-chain cisco0
interface FastEthernet0/0.21 internal
interface FastEthernet0/0.22 internal
interface Ethernet1/0 external
interface Ethernet1/1 external
!
learn
throughput
delay
periodic-interval 1
monitor-period 2
prefixes 200
expire after time 1
aggregation-type prefix-length 32
max prefix total 2500
backoff 180 360
mode route control
mode select-exit best
periodic 180
resolve loss priority 1 variance 1
resolve delay priority 2 variance 1
resolve utilization priority 3 variance 1
resolve range priority 5
!
oer border
local Loopback0
active-probe address source interface Ethernet1/0
master 192.168.20.1 key-chain cisco0
!
!
!
!
!
!
!
bba-group pppoe global
!
!
interface Loopback0
description OER Master Controller
ip address 192.168.20.1 255.255.255.255
!
interface FastEthernet0/0
description To L2 Switch port 15
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
description Native VLAN Trunking
encapsulation dot1Q 1 native
ip address 192.168.205.1 255.255.255.248
!
interface FastEthernet0/0.21
description To Switch A port 10
encapsulation dot1Q 21
ip address 192.168.21.1 255.255.255.252
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.22
description To Switch B port 2
encapsulation dot1Q 22
ip address 192.168.22.1 255.255.255.252
ip nat inside
ip virtual-reassembly
!
!
interface Ethernet1/0
description To NAT box of ISP #1
ip address 172.16.0.2 255.255.255.252
full-duplex
!
interface Ethernet1/1
description To NAT box of ISP #2
ip address 172.16.0.6 255.255.255.252
ip virtual-reassembly
full-duplex
!
interface Ethernet1/2
no ip address
shutdown
half-duplex
!
interface Ethernet1/3
no ip address
shutdown
half-duplex
!
!
!
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.16.0.1
ip route 0.0.0.0 0.0.0.0 172.16.0.5
!
!
no ip http server
no ip http secure-server
!
ip prefix-list OER seq 10 permit 0.0.0.0/0
!
access-list 20 remark Approved IP addresses
access-list 20 permit 10.0.0.0 0.255.255.255
access-list 20 permit 172.16.0.0 0.15.255.255
access-list 20 permit 192.168.0.0 0.0.255.255
dialer-list 2 protocol ip permit
no cdp run
!
!
!
oer-map OER 10
match ip address prefix-list OER
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
access-class 20 in
password 7 ******
login
!
!
end
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s