Cisco Next-Hop Routing ====================== Shanker Balan http://shankerbalan.com/ Overview ======== - 1 128k Cisco router connected to ISP1 with a modem pool attached to it - 1 512k Zyxel prestige DSL router connected to ISP2 - Both the routers are interconnected via the gateway and not directly The idea is to allow the dial-up users to use the faster 512k DSL link for enahnced browsing. This can be achieved on the Cisco router itself by using "nexthop routing" protocol. [ modem pool ] (192.168.10.10/11) . . . +-------+ | CISCO | ---> ISP1 (128 Kb) +-------+ / . / . / . +---------+ . | Gateway | . +---------+ . \ . \ . \ . +-------+ | ZYXEL | ---> ISP2 (512 Kb) (yyy.yyy.yy.yyy) +-------+ The Configuration ================= ! interface Serial1/0 physical-layer async ip unnumbered FastEthernet0/0 no ip directed-broadcast encapsulation ppp ip policy route-map dialup ip tcp header-compression passive async mode interactive peer default ip address 192.168.10.10 no fair-queue ppp authentication pap ! interface Serial1/1 physical-layer async ip unnumbered FastEthernet0/0 no ip directed-broadcast encapsulation ppp ip policy route-map dialup async mode interactive peer default ip address 192.168.10.11 no fair-queue ppp authentication pap ! access-list 110 permit ip host 192.168.10.11 any access-list 111 permit ip host 192.168.10.10 any dialer-list 1 protocol ip permit route-map dialup permit 10 match ip address 110 111 set ip default next-hop yyy.yyy.yyy.yyy ! URLs: Policy-Based Routing Using the set ip default next-hop and set ip next-hop Commands Configuration Example: http://www.cisco.com/en/US/tech/tk364/tk871/technologies_configuration_example09186a00801f3b54.shtml#casethree ** Changelog ** * Thu Feb 5 16:03:44 IST 2004 - 1st cut