As shown in the following figure, the AR functions as an egress router and connects to two ISP networks through PPPoE dial-up. Traffic from the enterprise is load balanced on Link 1 and Link 2 using equal-cost routes. The bandwidth of Link 1 is 6 Mbit/s, while the bandwidth of Link 2 is 4 Mbit/s. NAT is configured on the AR to allow intranet users to access the Internet.
The configuration is as follows:
acl number 2000
rule 5 permit source a.a.a.a 0.0.255.255
#
interface Dialer0
link-protocol ppp
ppp chap user 123
ppp chap password simple 123
ppp pap local-user 123456 password simple 123
tcp adjust-mss 1200
ip address ppp-negotiate
dialer user server
dialer bundle 1 //This command associates the physical interface with the dialer interface. The number must be the same as the number in the pppoe-client dial-bundle-number command of the physical interface.
dialer timer idle 3600
dialer-group 1 //This command specifies the dialer group of the dialer interface, which must be the same as that configured by the dialer-rule command.
nat outbound 2000 //This command configures outbound NAT on the dialer interface to allow conversion between private and public IP addresses.
#
interface Dialer1
link-protocol ppp
ppp chap user 456
ppp chap password simple 456
ppp pap local-user 123456 password simple 456
tcp adjust-mss 1200
ip address ppp-negotiate
dialer user server
dialer bundle 2
dialer timer idle 3600
dialer-group 2
nat outbound 2000
#
interface GigabitEthernet1/0/0
pppoe-client dial-bundle-number 1 on-demand
#
interface GigabitEthernet2/0/0
pppoe-client dial-bundle-number 2 on-demand
#
dialer-rule
dialer-rule 1 ip permit
dialer-rule 2 ip permit
#
ip route-static 0.0.0.0 0.0.0.0 Dialer0
ip route-static 0.0.0.0 0.0.0.0 Dialer1
When Link 1 fails, intranet users cannot open web pages when accessing the Internet.
