ISDN is a standard for sending digital data over telephone lines. An ISDN link can carry two different kinds of information: the data itself, and control information for the ISDN circuit. Data channels are called B ("bearer") channels and carry either 56 or 64 kilobits/second; the control channels are called D ("data") channels.
ISDN is packaged in two different ways. BRI (Basic Rate Interface) is commonly used over residential phone lines. It provides two B channels plus a D channel, for a maximum B-channel capacity of 128 kbps. PRI (Primary Rate Interface) is more like a T1 connectionin fact, it's really just a repackaged T1 connection. PRI provides 23 B channels and 1 D channel, with a maximum rate of 1.544 Mbps in the U.S. In Europe, on E1 lines you get 30 B channels, for 2.048 Mbps.
BRI is a reasonably common technology for providing home or small-office connectivity. Although it's being displaced by technologies like ADSL and cable modems, there are many places where those technologies are unavailable. ISDN reaches almost anywhere. Let's look briefly at what you need to understand to configure a BRI connection:
Keyword |
Switch type |
---|---|
basic-5ess |
AT&T 5ess BRI |
basic-dms-100 |
Nortel BRI |
basic-ni |
National BRI |
primary-ni |
AT&T National PRI |
primary-5ess |
AT&T 5ess PRI |
|
5.7.1. A Simple ISDN Configuration
Following are configurations for two routers connected by a dial-up ISDN connection. The connection is activated only on demand; Router 1 dials Router 2 when it has traffic for Router 2's networks, and vice versa. The local network for Router 1 is 192.168.9.0; the local network for Router 2 is 192.168.10.0. The subnet 10.10.1.0 is used for the connection between the two routers. This example uses only one B channel for the ISDN connection, so only one SPID is used for each router.
The configuration for Router 1 looks like this:
hostname router1 ! ! Define the switch type for the ISDN provider isdn switch-type basic-dms100 ! ! Set up the user for the CHAP authentication ! The username is the hostname of the remote system and MUST match exactly ! Passwords must also be the same on both ends of the connection username router2 password letmein ! ! Configure the ISDN line (interface bri0) interface BRI0 ip address 10.10.1.10 255.255.255.0 encapsulation ppp ! Configure the bandwidth for routing metric caluclations bandwidth 56 ! Set the Dialer commands ! Define the map for the remote site dialer map ip 10.10.1.11 name router2 speed 56 broadcast 14105551234 dialer hold-queue 5 dialer load-threshold 100 dialer-group 1 dialer idle-timeout 300 ! ! SPID numbers are provided by your ISDN service provider isdn spid1 505555123401 5554321 ! ! PPP should authenticate with the CHAP protocol ppp authentication chap ! ! Since we used a dialer group of 1 in the BRI configuration, ! we need to define the access list (see Chapter 7) to specify ! what traffic should cause our ISDN line to activate dialer-list 1 list 101 ! ! Our access list 101 is going to deny BROADC* TRAFFIC ! (Not actually deny, but makes broadcast traffic "uninteresting") ! Everything else is permitted access-list 101 deny ip any 255.255.255.255 0.0.0.0 access-list 101 permit ip any any ! ! Important! Create a static route to the other side of the ISDN link. ip route 192.168.10.0 255.255.255.0 10.10.1.11
Here is the configuration for Router 2. It's similar to Router 1, but without the comments.
hostname router2 ! isdn switch-type basic-dms100 ! username router1 password letmein ! interface BRI0 ip address 10.10.1.11 255.255.255.0 encapsulation ppp bandwidth 56 dialer map ip 10.10.1.10 name router1 speed 56 broadcast 15055551234 dialer hold-queue 5 dialer load-threshold 100 dialer-group 1 dialer idle-timeout 300 ! isdn spid1 410555123401 5551234 ! ppp authentication chap ! dialer-list 1 list 101 ! access-list 101 deny ip any 255.255.255.255 0.0.0.0 access-list 101 permit ip any any ! ip route 192.168.9.0 255.255.255.0 10.10.1.10
Getting Started
IOS Images and Configuration Files
Basic Router Configuration
Line Commands
Interface Commands
Networking Technologies
Access Lists
IP Routing Topics
Interior Routing Protocols
Border Gateway Protocol
Quality of Service
Dial-on-Demand Routing
Specialized Networking Topics
Switches and VLANs
Router Security
Troubleshooting and Logging
Quick Reference
Appendix A Network Basics
Index