Some years passed, and I thought I can do better than the setup described in this post: [Linux/Network] PPP/PAP Dial-Up server with VoIP and Raspberry Pi
That being said I thought a CISCO router could do the ISP part of the deal.
Before starting the journey, here is what we need:
- A CISCO 2600 series router – https://www.cisco.com/web/ANZ/cpp/refguide/hview/router/2600.html
- A CISCO WIC AM card. In this example I used the WIC-AM-V2 card. More info [ here ]. This an analog WAN card, providing you 2 V90 modems.
- An Asterisk-based PBX that could supply you 2 extensions
- A CISCO SPA112 or 122 ATA. In this example I used the CISCO SPA 122, but the SPA112 is just as simple to configure.
- An USR3453C analog modem, also called the US Robotics (later 3COM) Courier.
- 2 RJ-11 Telephone cables
- 1 DB9 to DB25 serial cable
- 1 USB to RS232 Adapter. In my setup I used a ATEN-UC232A
OK, so on with the configuration:
- Even if CISCO states that the WIC-AM-V2 should work with IOS 12.2, I only managed to have the WIC card recognized in IOS 12.3. After the WIC is recognized, you should have the interfaces show up as below at boot time:
- Then you need to configure the LAN, DHCP Pool for Dial-up user, the dial-up user/password and the Async interface (the modem itself).
Here is a sample config:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
PBNET-ISP>ena Password: PBNET-ISP#sh running-config Building configuration... Current configuration : 1769 bytes ! version 12.3 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname PBNET-ISP ! boot-start-marker boot-end-marker ! enable secret 5 REDACTED enable password REDACTED ! no network-clock-participate slot 1 no network-clock-participate wic 0 aaa new-model ! ! aaa authentication login default local aaa authentication ppp default if-needed local aaa authorization exec default local aaa authorization network default local aaa session-id common ip subnet-zero ip cef ! ! ! ip dhcp pool dialup network 192.168.96.0 255.255.255.0 dns-server 172.17.77.100 192.168.100.100 default-router 192.168.96.1 ! ip name-server 172.17.77.100 ip name-server 192.168.100.100 ! username user privilege 15 password 0 REDACTED ! ! ! ! interface Loopback0 ip address 192.168.96.1 255.255.255.0 ! interface FastEthernet0/0 ip address 172.17.77.24 255.255.255.0 ip nat outside speed auto full-duplex no cdp enable ! interface Async1 ip unnumbered Loopback0 ip nat inside encapsulation ppp ip tcp header-compression dialer in-band dialer-group 1 async mode dedicated peer default ip address dhcp-pool dialup ppp authentication pap chap ! interface Async2 no ip address encapsulation slip ! ip nat inside source list 1 interface FastEthernet0/0 overload ip classless ip route 0.0.0.0 0.0.0.0 172.17.77.100 ip http server ! access-list 1 permit 192.168.96.0 0.0.0.255 dialer-list 1 protocol ip permit no cdp run ! line con 0 exec-timeout 0 0 line 1 modem Dialin modem autoconfigure type default transport input all autoselect ppp stopbits 1 speed 115200 flowcontrol hardware line 2 stopbits 1 speed 115200 flowcontrol hardware line aux 0 line vty 0 4 password YOURPASSWORD ! ! end PBNET-ISP# |
So: 192.168.96.1 is the loopback, the users will have a DHCP range of: 192.168.96.0/24 and the network gateway is 172.17.77.100
So we’re done on the CISCO side.
Now we need to setup the Asterisk extensions and the ATA.
I won’t go into the details of creating an extension on Asterisk. Let’s just say that we have 2 extensions: 700 and 800.
We set-up those 2 extensions on each port of the CISCO ATA122.
Now, we need to be careful on how the VOICE part is configured on the ATA:
Take special care about these settings:
- Connect extension 700 on PORT1 of the ATA to the USR modem though a serial cable + USB-to-Serial-Adapter to your PC
- Connect extension 800 on PORT2 of the ATA to the WIC Port0 (first port) on the cisco router.
- Configure dial-up networking in Windows 11. Dial 800 and use the user/pass defined in the CISCO configuration to login
After connect, you will have:
The PPP adapter will show an IP configuration like below:
|
1 2 3 4 5 6 |
PPP adapter test: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 192.168.96.3 Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : 0.0.0.0 |
Happy surfing over Dial-up!



