Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Any Cisco IOS experts here?

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
bluedalmatian
Posts: 25
Joined: 2010-10-26 09:58

Any Cisco IOS experts here?

#1 Post by bluedalmatian »

Im trying to set up a demo Remote Access Server using a Cisco router with a modem card in it. It uses the 10.3.0.0 subnet for dialup PPP connections coming in on Line0/0/0 and the 10.1.0.0 subnet for PPPoE connections coming in on

The PPPoE connections are working fine but dialup PPP with the modem isnt.
The dial in client obtains an IP address from the pool fine and knows the IP of the RAS correctly but neither can ping each other.



Below is the running config together with the output from show ip route and show line 0/0/0 and show int async 0/0/0

Can anyone please help me understand whats wrong here, it seems to be the same as the examples Ive looked at .Ive tried changing ip unnumbered loopback0 to ip unnumbered G0/0 (the uplink interface) but it made no difference.

Thanks


Config:

Code: Select all

username sub101-1 password 0 pass
username sub103-1 password 0 pass
!
!
!
!
!
bba-group pppoe ISP_101_GROUP
 virtual-template 1
!
!
interface Loopback0
 ip address 10.3.255.254 255.255.0.0
!
interface GigabitEthernet0/0
 ip address 192.168.154.252 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
 pppoe enable group ISP_101_GROUP

interface GigabitEthernet0/2
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Virtual-Template1
 ip address 10.1.255.254 255.255.0.0
 peer default ip address pool ISP_101_POOL
 ppp authentication chap callin
!
interface Group-Async3
 ip unnumbered Loopback0
 encapsulation ppp
 peer default ip address pool ISP_103_POOL
 async mode dedicated
 no keepalive
 ppp authentication chap dialin
 group-range 0/0/0 0/0/1
!
ip local pool ISP_101_POOL 10.1.0.1 10.1.255.199
ip local pool ISP_103_POOL 10.3.0.1 10.3.255.199
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 192.168.154.254
line con 0
line aux 0
line 0/0/0 0/0/1
 login local
 modem Dialin
 autoselect ppp
 stopbits 1
 speed 115200
 flowcontrol hardware
line vty 0 4
 login
!
scheduler allocate 20000 1000
end


Code: Select all

show int async 0/0/0
Async0/0/0 is up, line protocol is up
  Hardware is WIC Integrated Modem
  Interface is unnumbered. Using address of Loopback0 (10.3.255.254)
  MTU 1500 bytes, BW 115 Kbit/sec, DLY 100000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation PPP, LCP Open
  Open: IPCP, loopback not set
  .....



show line 0/0/0
   Tty Line Typ     Tx/Rx    A Modem  Roty AccO AccI  Uses  Noise Overruns  Int
A 0/0/0    3 TTY 115200/115200- DialIn    -    -    -    14      0    0/0      -

Line 0/0/0, Location: "PPP: 10.3.0.14", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 115200/115200, no parity, 1 stopbits, 8 databits
Status: Ready, Active, No Exit Banner, Async Interface Active
  HW PPP Support Active, CTS Raised, 0x400000
Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol Out
  Modem RI is CD, Line is permanent async interface,
  Get Modem Info Enabled, WIC Modem
Modem state: Ready
Line is running PPP for address 10.3.0.14.
9 output packets queued, 1 input packets.
 Async Escape map is 00000000000000000000000000000000
Modem hardware state: CTS DSR  DTR RTSModem Registers (0x10000000)- IMR:0x0 LED:0x2 RstCntrl:0x0 MSR:0x6F

Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
                ^^x    none   -     -       none
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch
               00:10:00        never                        none     not set
                            Idle Session Disconnect Warning




#show ip route
Codes: L - local, C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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, + - replicated route

Gateway of last resort is 192.168.154.254 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 192.168.154.254
      10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
C        10.1.0.0/16 is directly connected, Virtual-Access1.1
C        10.1.0.1/32 is directly connected, Virtual-Access1.1
L        10.1.255.254/32 is directly connected, Virtual-Access1.1
C        10.3.0.0/16 is directly connected, Loopback0
C        10.3.0.14/32 is directly connected, Async0/0/0
L        10.3.255.254/32 is directly connected, Loopback0
      192.168.154.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.154.0/24 is directly connected, GigabitEthernet0/0
L        192.168.154.252/32 is directly connected, GigabitEthernet0/0




To clarify I cant ping 10.3.0.14 from the RAS and I cant ping 10.3.255.254 from the client.

Below is the log from the client (a Mac using the built in Mac OS X PPP/dial up software and modem)

Code: Select all

Modem Reliable Link Established.
Modem Compression Established.
Communicating at 33600 bps.
Connect: ppp0 <--> /dev/cu.modem
local  IP address 10.3.0.14
remote IP address 10.3.255.254

Serial link appears to be disconnected.
Modem hangup
Connection terminated.
Last edited by bluedalmatian on 2019-12-06 16:23, edited 1 time in total.

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Any Cisco IOS experts here?

#2 Post by arzgi »

This is Debian user forum.

bluedalmatian
Posts: 25
Joined: 2010-10-26 09:58

Re: Any Cisco IOS experts here?

#3 Post by bluedalmatian »

Yes and its in the off-topic sub forum?

Post Reply