! Listing 6.19: IP & IPX with BGP-driven ISDN--data center router ! !Copyright (C) 2001 by Vincent C Jones. All Rights Reserved. ! !Revision History: ! 25 Feb 2001: Use "modem autoconfigure" rather than "script reset" version 11.2 ! hostname DataCenter ! username North password NorthSecret username South password SouthSecret ipx routing 0000.0C00.F001 ipx internal-network 1234 isdn switch-type primary-dms100 chat-script courier ABORT ERROR ABORT "NO " ABORT BUSY "" "at" "" "at&f" OK "atl1m1&b1&h1&r2&c1&d3&m4&k1s0=2" OK ! controller T1 0 framing esf linecode b8zs pri-group timeslots 1-24 ! interface Loopback0 description Unique Address for Network Management ip address 10.255.0.1 255.255.255.255 ! interface Loopback1 description Primary target for frame relay users ip address 10.0.0.1 255.255.255.255 ! interface Loopback2 description IP Address for ISDN Unnumbered ip address 10.0.0.2 255.255.255.255 ! interface Loopback3 description Routing target for ISDN use ip address 10.0.0.3 255.255.255.255 ! interface Loopback4 description IP Address for Async Unnumbered ip address 10.0.0.4 255.255.255.255 ! interface Loopback10 description Routing target for BGP keepalives ip address 10.0.0.10 255.255.255.255 ! interface Ethernet0 description Data Center LAN ip address 10.1.255.254 255.255.0.0 ipx network AA0000 encapsulation SAP ! interface Serial0 description Frame Relay (T1) no ip address encapsulation frame-relay ! ! Subinterfaces to support other sites go here ! interface Serial0.105 point-to-point description Primary Link to Router "South" ip address 10.201.5.5 255.255.255.252 bandwidth 56 delay 2000 ipx delay 7 ipx network B00105 frame-relay interface-dlci 105 ! interface Serial0:23 description Call In Support for ISDN backup ip unnumbered Loopback2 encapsulation ppp bandwidth 56 delay 5000 no keepalive ipx ipxwan 0 unnumbered DataCenter ipx delay 20 dialer idle-timeout 300 dialer map ipx 0.00A2.0105.0000 name North speed 56 broadcast dialer map ip 10.201.5.2 name North speed 56 broadcast ! Dialer maps to support other sites go here dialer-group 1 ppp authentication chap ! interface Group-Async1 description Call in support for POTS backup ip unnumbered Loopback4 encapsulation ppp bandwidth 33 delay 15000 ipx ipxwan 0 unnumbered DataCenter ipx delay 30 async default routing async mode dedicated dialer in-band dialer idle-timeout 300 dialer map ipx 0.00A0.0105.0000 name South broadcast dialer map ip 10.201.5.1 name South broadcast ! Dialer maps to support other sites go here dialer-group 1 ppp authentication chap pulse-time 3 group-range 1 8 ! router eigrp 1 network 10.0.0.0 distribute-list 10 out Group-Async1 distribute-list 11 out Ethernet0 distribute-list 12 out Serial0.105 distribute-list 13 out Serial0:23 no auto-summary ! router bgp 99 network 10.0.0.10 mask 255.255.255.255 timers bgp 10 120 neighbor 10.201.5.2 remote-as 99 neighbor 10.201.5.2 update-source Loopback10 ! ip classless access-list 10 permit 10.0.0.4 access-list 10 deny 10.0.0.0 0.0.0.255 access-list 10 permit any access-list 11 deny 10.0.0.0 0.0.0.255 access-list 11 permit any access-list 12 permit 10.0.0.1 access-list 12 deny 10.0.0.0 0.0.0.255 access-list 12 permit any access-list 13 permit 10.0.0.2 0.0.0.1 access-list 13 deny 10.0.0.0 0.0.0.255 access-list 13 permit any ! dialer-list 1 protocol ipx permit dialer-list 1 protocol ip permit ! line 1 8 modem InOut modem autoconfigure type CourierSet transport preferred none transport input all speed 115200 flowcontrol hardware ! end