Dialin External Modems
Dialin External Modems
Table of Contents
Configuring PPP Dialin with External Modems..............................................................................................1
Introduction.............................................................................................................................................1
Before You Begin...................................................................................................................................1
Conventions......................................................................................................................................1
Prerequisites.....................................................................................................................................1
Components Used.............................................................................................................................1
Related Products...............................................................................................................................2
Configure................................................................................................................................................2
Network Diagram.............................................................................................................................2
Configurations..................................................................................................................................2
Verify......................................................................................................................................................4
On a Windows 2000 Server Host.....................................................................................................6
Troubleshoot...........................................................................................................................................7
Troubleshooting Commands............................................................................................................7
Related Information................................................................................................................................9
i
Configuring PPP Dialin with External Modems
Introduction
Before You Begin
Conventions
Prerequisites
Components Used
Related Products
Configure
Network Diagram
Configurations
Verify
On a Windows 2000 Server Host
Troubleshoot
Troubleshooting Commands
Related Information
Introduction
This documents illustrates a Point−to−Point Protocol (PPP) dialin configuration using external modems.
Prerequisites
You need to configure a username and password for each user that you want to be able to dial in to because
this configuration doesn't have a Terminal Access Controller Access Controller System (TACACS+) or
Remote Authentication Dial−in User Service (RADIUS) server. All IP addresses will be handed to the client
out of a pool.
• The usernames and passwords you want clients to use (even if you are going to add TACACS+ or
RADIUS later, add a few names to the router to test the lines).
• The IP addressing scheme for creating the pool and for static routing.
Components Used
The information in this document is based on the software and hardware versions below.
The information presented in this document was created from devices in a specific lab environment. All of the
Related Products
This configuration can also be used with the following hardware and software versions.
• Routers with asynchronous interfaces and serial interfaces capable of configuring async interfaces.
• WIC−2A/S, 8 or 16 asynchronous port serial interfaces can be used.
Configure
In this section, you are presented with the information to configure the features described in this document.
Note: To find additional information on the commands used in this document, use the Command Lookup
Tool ( registered customers only) .
Network Diagram
This document uses the network setup shown in the diagram below.
Configurations
This document uses the configurations shown below.
This configuration was tested using Cisco IOS Software Release 12.2(10b) on a 2511 series router. The same
configuration concepts would apply to a similar router topology or other Cisco IOS releases starting from
11.0(3) or later .
Cisco 2511
Current configuration:
!
version 12.2
!−−− Modemcap named "default" will be applied to the line 2 and line 3
!−−− of Serial interfaces. Refer to the Modem−Router Connection Guide
!−−− and modemcap entry for more information.
!
interface Ethernet0
ip address 192.168.39.1 255.255.255.0
!
interface Serial0
no ip address
!
interface Serial1
no ip address
!
interface Group−Async1
ip unnumbered ethernet0
encapsulation ppp
async mode interactive
peer default ip address pool dialup
!−−− Assigns ip address for incoming calls from the "dialup" pool.
no cdp enable
ppp authentication chap
group−range 1 16
!
ip local pool dialup 192.168.39.239 192.168.39.254
!
line con 0
login
line 1 16
login local
!−−− Launch PPP when PPP packets are received from the client.
modem InOut
line aux 0
line vty 0 4
exec−timeout 20 0
password letmein
login
!
end
For remote users who wants to connect to their central office at random intervals for shorter duration time,
this type of dial−up connections gives a cheaper solution. In the above configuration a user dials up from his
desktop over a modem and establishes a PPP connectivity to the central office through a PSTN network.
• Async interface.
• Async lines.
• Pool of ip addresses in global configuration mode.
• Modem parameters − modemcap entry and Modem−Router Connection Guide.
• Dial−up networking has to be configured in a host.
Verify
This section provides information you can use to confirm your configuration is working properly.
Certain show commands are supported by the Output Interpreter Tool ( registered customers only) , which allows
you to view an analysis of show command output.
• show users
• show interface
• show line
• show ip route
router1#show users
Line User Host(s) Idle Location
* 0 con 0 idle 00:00:00
1 tty 1 jason Async interface 00:00:34 PPP: 192.168.39.240
3 tty 3 Modem Autoconfigure 00:00:00
4 tty 4 Modem Autoconfigure 00:00:00
router1#show line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
* 0 CTY − − − − − 0 0 0/0 −
A 1 TTY 115200/115200− inout − − − 1 1 0/0 −
* 2 TTY 38400/38400 − inout − − − 0 0 0/0 −
* 3 TTY 300/300 − inout − − − 0 0 0/0 −
* 4 TTY 300/300 − inout − − − 0 0 0/0 −
* 5 TTY 1200/1200 − inout − − − 0 0 0/0 −
* 6 TTY 300/300 − inout − − − 0 0 0/0 −
* 7 TTY 300/300 − inout − − − 0 0 0/0 −
* 8 TTY 300/300 − inout − − − 0 0 0/0 −
* 9 TTY 1200/1200 − inout − − − 0 0 0/0 −
* 10 TTY 300/300 − inout − − − 0 0 0/0 −
* 11 TTY 300/300 − inout − − − 0 0 0/0 −
* 12 TTY 115200/115200− inout − − − 0 0 0/0 −
* 13 TTY 115200/115200− inout − − − 0 0 0/0 −
* 14 TTY 300/300 − inout − − − 0 0 0/0 −
* 15 TTY 300/300 − inout − − − 0 0 0/0 −
* 16 TTY 300/300 − inout − − − 0 0 0/0 −
17 AUX 9600/9600 − − − − − 0 0 0/0 −
18 VTY − − − − − 0 0 0/0 −
router1#show line 1
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
A 1 TTY 115200/115200− inout − − − 1 1 0/0 −
router1#show ip route
Codes: C − connected, S − static, I − IGRP, R − RIP, M − mobile, B − BGP
D − EIGRP, EX − EIGRP external, O − OSPF, IA − OSPF inter area
N1 − OSPF NSSA external type 1, N2 − OSPF NSSA external type 2
E1 − OSPF external type 1, E2 − OSPF external type 2, E − EGP
i − IS−IS, L1 − IS−IS level−1, L2 − IS−IS level−2, ia − IS−IS inter area
* − candidate default, U − per−user static route, o − ODR
P − periodic downloaded static route
To verify the connection establishment from the Windows 2000 server host to the Cisco 2511 router, you can
ping from the host to the router ethernet port and verify the connection establishment. Here, 192.168.39.1 is
the ethernet port IP address of the router.
Troubleshoot
This section provides information you can use to troubleshoot your configuration.
Troubleshooting Commands
Certain show commands are supported by the Output Interpreter Tool ( registered customers only) , which allows
you to view an analysis of show command output.
• debug ppp negotiation − To see if a client is passing PPP negotiation. This is when you check for
address negotiation.
• debug ppp authentication − To see if a client is passing authentication.
• debug ppp error − To display protocol errors and error statistics associated with PPP connection
negotiation and operation.
• debug modem − To see if the router is receiving the right signals from the modem.
• show line [# tty line] − To look for the modem hardware state.
The following outputs were obtained from the Cisco 2511 router. They show the Windows 2000 server
dialing to PSTN link of the Cisco 2511 and establishing a PPP connection.
Related Information
• Access Products Support Page
• Access Technology Support Page
• Configuring PPP and Authentication
• modemcap entry
• Modem−Router Connection Guide
• Technical Support − Cisco Systems
All contents are Copyright © 1992−2003 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.