cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
22439
Views
2
Helpful
19
Replies

Cisco 881G 3G interface config.

jopetik09
Level 1
Level 1

Hi All,

I have a router Cisco 881G, DSL was running.
Yesterday we got 3G, now I need to config to get work 3G and also failover between DSL and 3G.
I hope someone will provide me step by step to achive above would be appreciate.

Below are some outputs for more inforamiton:

#sh cellular 0 secu
Card Holder Verification (CHV1) = Enabled
SIM Status = Locked
SIM User Operation Required = Enter CHV1
Number of Retries remaining = 3


#sh cellular 0 profil
Profile 1 = INACTIVE*
--------
PDP Type = IPv4
Access Point Name (APN) = web.vodafone.de
Authentication = CHAP
Username: internet, Password: tm

* - Default profile


#sh int cell
CuxhavenRTR#sh int cellular 0
Cellular0 is down, line protocol is down
  Hardware is 3G Modem-HSPA/UMTS/EDGE/GPRS-850/900/1800/1900/2100MHz / Global
  MTU 1500 bytes, BW 384 Kbit/sec, DLY 100000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation PPP, LCP Closed, loopback not set
  Keepalive not supported
  Last input never, output never, output hang never
  Last clearing of "show interface" counters 1w5d
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/16 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 288 kilobits/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     0 packets output, 0 bytes, 0 underruns
     0 output errors, 0 collisions, 6 interface resets
     0 unknown protocol drops
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up

#sh cellular 0 net
Current Service Status = Emergency Only, Service Error = None
Current Service = Invalid
Packet Service = None
Packet Session Status = Inactive
Current Roaming Status = Home
Network Selection Mode = Automatic
Country = DEU, Network = TMO D
Mobile Country Code (MCC) = 262
Mobile Network Code (MNC) = 1
Location Area Code (LAC) = 16683
Routing Area Code (RAC) = 1
Cell ID = 4370
Primary Scrambling Code = 347
PLMN Selection = Automatic
Available PLMNs:
PLMN Name = T-Mobile D (TMO D)
        MCC = 262, MNC = 1
        Status = , Network = Unknown

PLMN Name = o2 - de (o2 - de)
        MCC = 262, MNC = 7
        Status = Supports GPRS, Network = GSM

PLMN Name = Vodafone.de (Voda de)
        MCC = 262, MNC = 2
        Status = , Network = GSM

PLMN Name = T-Mobile D (TMO D)
        MCC = 262, MNC = 1
        Status = , Network = GSM

PLMN Name = Vodafone.de (Voda de)
        MCC = 262, MNC = 2
        Status = , Network = Unknown

PLMN Name = E-Plus (E-Plus)
        MCC = 262, MNC = 3
        Status = , Network = Unknown

PLMN Name = o2 - de (o2 - de)
        MCC = 262, MNC = 7
        Status = , Network = Unknown

PLMN Name = E-Plus (E-Plus)
        MCC = 262, MNC = 3
        Status = , Network = GSM

Thanks in advance.
Jopeti.

19 Replies 19

sean_evershed
Level 7
Level 7

Hi,

See below this link for the 3G component. It is focussed on configuring the router for an Australian telco but at least it will give you are starting point.

I suggest that you ask your carrier if they have a similar guide.

http://whirlpool.net.au/wiki/3g_for_network_engineers

For failover do you plan to run static or dynamic routes across your links?

Please remember to rate all posts that are helpful

Hi,

Thanks for the response.

The link given some basic idea but if possible give me here what and all step by step i need to configure in my router 881.

And what all information shall I get from my provider (T mobile)?

We would like to use static routes.

Jopeti.

Dear Sir,

I have a new 8881G-w router with the following info:

(C880DATA-UNIVERSALK9-M), Version 12.4(22)YB2,

when I tried to login  to the Cellular interface it shows me the following

warning- (what it means):

Warning: 3G Modem is not inserted

Configuration will not be effective until modem is inserted.

I only need to confiure CDMA,, is the 3G card needed, as i know 3G is needed

for GSM???

thanks

Hi,

I hope below link will help you.

http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6555/ps6815/config_guide_eem_configuration_for_cisco_integrated_services_router_platforms.html

Go to the Example 3 on the link. You will see the perfect solution.

Hi,

Thanks for the informaiton.
What I would like to know is... What informaiton should I get from the 3G provider (T-mobile) inorder to activate the 3G modem and configure cellular interface?

thanks in advance.

Jopeti.

Frank Woodyard
Level 1
Level 1

Hello Jopeti,

First things first, you need an account and a SIM from T-Mobile.  Your "show cell 0 network" indicates you do not have a valid account/SIM or possibly the SIM is not installed.

#sh cellular 0 net
Current Service Status = Emergency Only, Service Error = None
Current Service = Invalid

Please post a "show cell 0 all" to this thread.

Secondly, T-Mobile is not a supported carrier in North America for supported carriers the list is at;

http://www.cisco.com/en/US/prod/routers/ps380/ps10082/3G_wireless_carriers_880G.html#~north-america

A good basic config is as follows;

1) Setup the profile in the modem.  To do this you need the APN, Hostname, and password from your carrier.

          !    The "cellular 0 gsm profile create" command is executed in the privelege exec prompt/mode.

          router# cellular 0 gsm profile create 1 ipv4 chap

2) In Config T mode;

chat-script gsm "" "ATDT*99#" TIMEOUT 60 "CONNECT"

!

interface Cellular 0

ip address negotiated

encapsulation PPP

dialer in-band

dialer string gsm

dialer-group 1

async mode interactive

ppp chap hostname cisco@wwan.ccs ! This is utilized strictly internal to the router to authenticate to the modem. It can be nearly anything.

ppp chap password 0 cisco  ! This is utilized strictly internal to the router to authenticate to the modem. It can be nearly anything.

ppp ipcp dns request

no shut

exit

!

int loop 0

ip address 192.168.1.1 255.255.255.0

!

ip route 0.0.0.0 0.0.0.0 cellular 0

!

access-list 1 permit any

dialer-list 1 protocol ip list 1

!

line 3

exec

exec-timeout 0 0

sript dialer gsm

modem inout

login

end

copy running-config startup-config

! Notes:

!    The chat-script name "gsm" must be reflected in 3 places (the chat-script command);

!          1) The cellular 0 interface "dialer string" command

!          2) In the Line 3 configuration command "script dialer"

!          3) The variable "gsm" is just convenient but, can be any text string but,

!                   must match in all 3 places.

!    The Cellular interface 0 utilizes the LINE 3 to communicate with the router.  This is why configuration of LINE 3 is important.

!   
!    The router should be configured and able to acces the cellular card, attempt to ping 4.2.2.2

!

! Debugs;

!    Make sure that "logging console" is enabled in config t mode.

term mon

! From Executive mode start the following debugs.

debug chat

debug modem

debug dialer

debug ppp negotiation

debug ppp authentication

!    To turn off the debugs;

un all

If the above does not work, you will need to supply the following diagnostic commands;

Show cellular 0 radio history all - Notice the graphs, acceptable signal level is greater than -90dBm and less than -60dBm.

Show cellular 0 all

Show int cell 0

Show running-config

jopetik09
Level 1
Level 1

Hi Frank,

Regarding chat-script, do i need to get anything from my provider (T-mobile) or the one you mentioned in your post is enough?
And regarding ppp chap hostname cisco@wwan.ccs and ppp chap password 0 cisco can I choose anything or these should I get from my provider (T-mobile)?

*********************************************
And I dont understand what you mean below...

Notes:

!    The chat-script name "gsm" must be reflected in 3 additonal places;

!          1) The cellular 0 interface "dialer string" command

!          2) In the Line 3 configuration command "script dialer"

!          3) Also in the cellular profile create command that is executed in privelege mode.

!          4) The variable "gsm" is just convenient but, can be any text string but,

!                   must match in all 4 commands.

*********************************************


Please find the below latst output.


#sh cellular 0 net
Current Service Status = Normal, Service Error = None
Current Service = Circuit Switched
Packet Service = UMTS/WCDMA
Packet Session Status = Inactive
Current Roaming Status = Home
Network Selection Mode = Manual
Country = DEU, Network = TMO D
Mobile Country Code (MCC) = 262
Mobile Network Code (MNC) = 1
Location Area Code (LAC) = 6036
Routing Area Code (RAC) = 1
Cell ID = 4024
Primary Scrambling Code = 365
PLMN Selection = Manual
Registered PLMN =  , Abbreviated =
Service Provider = T-Mobile D
Available PLMNs:
PLMN Name = E-Plus (E-Plus)
        MCC = 262, MNC = 3
        Status = , Network = Unknown

PLMN Name = o2 - de (o2 - de)
        MCC = 262, MNC = 7
        Status = , Network = Unknown

PLMN Name = E-Plus (E-Plus)
        MCC = 262, MNC = 3
        Status = , Network = GSM

PLMN Name = o2 - de (o2 - de)
        MCC = 262, MNC = 7
        Status = Supports GPRS, Network = GSM

PLMN Name = Vodafone.de (Voda de)
        MCC = 262, MNC = 2
        Status = Supports GPRS, Network = GSM

PLMN Name = Vodafone.de (Voda de)
        MCC = 262, MNC = 2
        Status = , Network = Unknown

PLMN Name = T-Mobile D (TMO D)
        MCC = 262, MNC = 1
        Status = Home,, Network = GSM

PLMN Name = T-Mobile D (TMO D)
        MCC = 262, MNC = 1
        Status = Home,, Network = Unknown


#show cell 0 all
Hardware Information
====================
Modem Firmware Version = F1_2_3_22AP C:/WS/F
Modem Firmware built = 06/22/09
Hardware Version = 1.1
International Mobile Subscriber Identity (IMSI) = 00000
International Mobile Equipment Identity (IMEI) = 356812011735469
Factory Serial Number (FSN) = D46208908261143
Modem Status = Online
Current Modem Temperature = 24 deg C, State = Normal

Profile Information
====================
Profile 1 = INACTIVE*
--------
PDP Type = IPv4
Access Point Name (APN) = internet.t-mobile
Authentication = PAP
Username: xxxxxxx, Password: xxxxxxx

* - Default profile

Data Connection Information
===========================
Data Transmitted = 0 bytes, Received = 0 bytes
Profile 1, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 2, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 3, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 4, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 5, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 6, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 7, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 8, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 9, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 10, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 11, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 12, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 13, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 14, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 15, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 16, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state

Network Information
===================
Current Service Status = Normal, Service Error = None
Current Service = Circuit Switched
Packet Service = UMTS/WCDMA
Packet Session Status = Inactive
Current Roaming Status = Home
Network Selection Mode = Manual
Country = DEU, Network = TMO D
Mobile Country Code (MCC) = 262
Mobile Network Code (MNC) = 1
Location Area Code (LAC) = 6036
Routing Area Code (RAC) = 1
Cell ID = 4024
Primary Scrambling Code = 365
PLMN Selection = Manual
Registered PLMN =  , Abbreviated =
Service Provider = T-Mobile D
Available PLMNs:
PLMN Name = E-Plus (E-Plus)
        MCC = 262, MNC = 3
        Status = , Network = Unknown

PLMN Name = o2 - de (o2 - de)
        MCC = 262, MNC = 7
        Status = , Network = Unknown

PLMN Name = E-Plus (E-Plus)
        MCC = 262, MNC = 3
        Status = , Network = GSM

PLMN Name = o2 - de (o2 - de)
        MCC = 262, MNC = 7
        Status = Supports GPRS, Network = GSM

PLMN Name = Vodafone.de (Voda de)
        MCC = 262, MNC = 2
        Status = Supports GPRS, Network = GSM

PLMN Name = Vodafone.de (Voda de)
        MCC = 262, MNC = 2
        Status = , Network = Unknown

PLMN Name = T-Mobile D (TMO D)
        MCC = 262, MNC = 1
        Status = Home,, Network = GSM

PLMN Name = T-Mobile D (TMO D)
        MCC = 262, MNC = 1
        Status = Home,, Network = Unknown


Radio Information
=================
Current Band = WCDMA 2100, Channel Number = 10836
Current RSSI(RSCP) = -85 dBm
Band Selected = Auto
Number of nearby cells = 1
Cell 1
        Primary Scrambling Code = 0x16D
        RSCP = -87 dBm, ECIO = -8 dBm


Modem Security Information
==========================
Card Holder Verification (CHV1) = Disabled
SIM Status = OK
SIM User Operation Required = None
Number of Retries remaining = 3


Your help is really appreciated.

Jopeti.

Jopeti,

You need the APN, Hostname (Login) and, Password for the PPP session start from your carrier as stated in item 1) in the original post.

You can choose nearly anything for the "ppp chap hostname/password" command for the cellular interface.  I personally find that it reduces questions if it matches up with the carrier hostname/password for those who follow behind you.  You could use homer@simpsons.com/Doh! for example, and it would work.  It only matters that something is there.  The safe selection is in the example configuration.

Regarding the "Notes" section, I am not sure what is going on with the editor but, I edited that several times and it should have read as follows;

! Notes:

!    The chat-script name "gsm" must be reflected in 3 places (the chat-script command);

!          1) The cellular 0 interface "dialer string" command

!          2) In the Line 3 configuration command "script dialer"

!          3) The variable "gsm" is just convenient but, can be any text string but,

!                   must match in all 3 places.

!     The Cellular interface 0 utilizes the LINE 3 to communicate with the  router.  This is why configuration of LINE 3 is important.

If your security setting of the router is blocking the Profile hostname and password, you can stop that by changing the security level of the router temporarily.  If the carrier says there is no/blank hostname and/or password for the Profile, you can utilize " "  for the profile when it is time to enter the string variable of the hostname/password so, the command would look as follows;

          router# cellular 0 gsm profile create 1 internet.t-mobile.com ipv4 chap " " " "

From the looks of the posted "show cell 0 all" command, it looks like the router is ready to dial out.  If you are unable to ping 4.2.2.2 please post the following commands;


     show ip interface brief

     show int cell 0

     show cell 0 all - If there was a change to the profile.

Cheers,

Frank

Hi Frank,

I have configured the profile and the cellular0 interface is up and up. Thank you very much.
To check weather I am able to ping 4.2.2.2 or not how I can check the ping from source cellular0 because I have ADSL on Fa4 interface which is working now and this Cel0 is for backup.

Now how I can check weather I am reaching outside through Cellular0 or not?

Please see the below information and let me know if anything worng.

#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
Cellular0                  unassigned      YES manual up                    up
FastEthernet0              unassigned      YES unset  up                    up
FastEthernet1              unassigned      YES unset  down                  down
FastEthernet2              unassigned      YES unset  up                    down
FastEthernet3              unassigned      YES unset  up                    down
FastEthernet4              217.6.252.90    YES NVRAM  up                    up
NVI0                       217.6.252.90    YES unset  up                    up
SSLVPN-VIF0                unassigned      NO  unset  up                    up
Vlan1                      10.100.100.1    YES manual up                    up

#show int cell 0
Cellular0 is up (spoofing), line protocol is up (spoofing)
  Hardware is 3G Modem-HSPA/UMTS/EDGE/GPRS-850/900/1800/1900/2100MHz / Global
  Internet address will be negotiated using IPCP
  MTU 1500 bytes, BW 384 Kbit/sec, DLY 100000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation PPP, LCP Closed, loopback not set
  Keepalive not supported
  Last input never, output never, output hang never
  Last clearing of "show interface" counters 3w5d
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/16 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 288 kilobits/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     0 packets output, 0 bytes, 0 underruns
     0 output errors, 0 collisions, 6 interface resets
     0 unknown protocol drops
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=down  RTS=up  CTS=up


#show cell 0 all
Hardware Information
====================
Modem Firmware Version = F1_2_3_22AP C:/WS/F
Modem Firmware built = 06/22/09
Hardware Version = 1.1
International Mobile Subscriber Identity (IMSI) = 00000
International Mobile Equipment Identity (IMEI) = 356812011735469
Factory Serial Number (FSN) = D46208908261143
Modem Status = Online
Current Modem Temperature = 24 deg C, State = Normal

Profile Information
====================
Profile 1 = INACTIVE*
--------
PDP Type = IPv4
Access Point Name (APN) = internet.t-mobile
Authentication = PAP
Username: xxxxxxx, Password: xxxxxxx

* - Default profile

Data Connection Information
===========================
Data Transmitted = 0 bytes, Received = 0 bytes
Profile 1, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 2, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 3, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 4, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 5, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 6, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 7, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 8, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 9, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 10, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 11, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 12, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 13, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 14, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 15, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 16, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state

Network Information
===================
Current Service Status = Normal, Service Error = None
Current Service = Circuit Switched
Packet Service = UMTS/WCDMA
Packet Session Status = Inactive
Current Roaming Status = Home
Network Selection Mode = Manual
Country = DEU, Network = TMO D
Mobile Country Code (MCC) = 262
Mobile Network Code (MNC) = 1
Location Area Code (LAC) = 6036
Routing Area Code (RAC) = 1
Cell ID = 4024
Primary Scrambling Code = 365
PLMN Selection = Manual
Registered PLMN =  , Abbreviated =
Service Provider = T-Mobile D
Available PLMNs:
PLMN Name = E-Plus (E-Plus)
        MCC = 262, MNC = 3
        Status = , Network = Unknown

PLMN Name = o2 - de (o2 - de)
        MCC = 262, MNC = 7
        Status = , Network = Unknown

PLMN Name = E-Plus (E-Plus)
        MCC = 262, MNC = 3
        Status = , Network = GSM

PLMN Name = o2 - de (o2 - de)
        MCC = 262, MNC = 7
        Status = Supports GPRS, Network = GSM

PLMN Name = Vodafone.de (Voda de)
        MCC = 262, MNC = 2
        Status = Supports GPRS, Network = GSM

PLMN Name = Vodafone.de (Voda de)
        MCC = 262, MNC = 2
        Status = , Network = Unknown

PLMN Name = T-Mobile D (TMO D)
        MCC = 262, MNC = 1
        Status = Home,, Network = GSM

PLMN Name = T-Mobile D (TMO D)
        MCC = 262, MNC = 1
        Status = Home,, Network = Unknown


Radio Information
=================
Current Band = WCDMA 2100, Channel Number = 10836
Current RSSI(RSCP) = -85 dBm
Band Selected = Auto
Number of nearby cells = 1
Cell 1
        Primary Scrambling Code = 0x16D
        RSCP = -86 dBm, ECIO = -7 dBm


Modem Security Information
==========================
Card Holder Verification (CHV1) = Disabled
SIM Status = OK
SIM User Operation Required = None
Number of Retries remaining = 3

Thanks in advance.
Jopeti.

Jopeti,

Your router needs a reload.  The reload should fix the issue of the interface cell 0 being "manual" method and change to NVRAM.

#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
Cellular0                  unassigned      YES manual up                    up
FastEthernet0              unassigned      YES unset  up                    up
FastEthernet1              unassigned      YES unset  down                  down
FastEthernet2              unassigned      YES unset  up                    down
FastEthernet3              unassigned      YES unset  up                    down
FastEthernet4              217.6.252.90    YES NVRAM  up                    up
NVI0                       217.6.252.90    YES unset  up                    up
SSLVPN-VIF0                unassigned      NO  unset  up                    up
Vlan1                      10.100.100.1    YES manual up                    up

You can add a static route to the cellular for your ping target to force the test to bring the cellular up while the primary is working.


ip route 4.2.2.2 255.255.255.255 cellular 0

This should allow your ping to work.

Cheers,

Frank

Hi Frank,

Thanks for the help.
The cellular0 interface is changed to NVRAM

I configured the route like below but still I am not able to use cellular0 as source interface in extended ping.
I need to make sure that I am reaching internet through cellular0 while DSL is working.
Actually cellular0 is for backup and DSL is for primary.

Can you please tell me how I can make sure that I am reaching internet through cellular0 while DSL is working?

And can you please provide me any step by step config for failover between cellular0 (3G) and DSL?

And if I add another default router like below the connection is flapping, what could be the cause?

ip route 0.0.0.0 0.0.0.0 Cellular0

Your help is really appreciated.

#sh run | in ip route
ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx.
ip route 4.2.2.2 255.255.255.255 Cellular0


RTR#pi
Protocol [ip]:
Target IP address: 74.125.77.99
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: Cellular0
% Invalid source. Must use IP address or full interface name without spaces (e.g. Serial0/1)
Source address or interface: 217.6.252.89
% Invalid source. Must use IP address or full interface name without spaces (e.g. Serial0/1)
Source address or interface:

RTR#pi
Protocol [ip]:
Target IP address: 4.2.2.2
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: Cellular0
% Invalid source. Must use IP address or full interface name without spaces (e.g. Serial0/1)
Source address or interface:

Even I am not able to ping 4.2.2.2 from router itself after added the route which was able to ping before added the static route to 4.2.2.2
RTR#pi 4.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.2.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)


Jopeti.

Jopeti,

You cannot source the cellular interface in the ping command as it does not have an IP address until after it connects.  Use the simpler form of the command "ping 4.2.2.2".  The router already knows to use the cellular interface from the static route to 4.2.2.2.

If you are going to use dual default routes for switch over from the primary to the secondary, you have to put a higher route cost on your secondary interface route such as "ip route 0.0.0.0 0.0.0.0 cellular 0 250".  The router will now switch to the cellular once the primary route fails.  A second way to achieve this would be to use the "backup" command in the configuration of the prmary interface.

Cheers,

Frank

Hi Frank,

Thanks for your reply.
Even I am not able to ping 4.2.2.2 after given the below static route. If i removed the static route then I am able to ping.

RTR#sh run | in ip route
ip route 0.0.0.0 0.0.0.0 217.xxx.xxx.xx
ip route 4.2.2.2 255.255.255.255 Cellular0
RTR#pi 4.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.2.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)


As you said I can configure the static route with highest AD....But this will achive me to have redundant line to Internet.

Actually there is a easy vpn between this site (ASA5505) and hub (ASA 5520) site. ASA 5505 private IP has NATed on this router. Currently NAT is working on DSL, So I need to achive now is that even DSL link goes down still NAT and easy vpn should be up and running on 3G.

Please find the attached site router config.
Can you please suggest me....


Jopeti.

Jopeti,

Some times, I have had it take several tries to connect out.  One change you may try would be to use "ping 4.2.2.2 repeat 15".

You may want to turn on the following debugs and see what is happening.  I would be interested in seeing if the router is generating packets for the cellular interface.  Make sure you have "logging console" in the config and "term mon" both turned on to see the debugs.

debug dialer

debug chat

debug modem

debug ppp authen

debug ppp nego

To turn the debugs off, type "un all"

A successful session should look something like this;

Example 4-2     Debug Output for Normal Operation

The blue italicized text throughout this configuration is used to  indicate comments and will not be seen when a normal console output is  viewed. The bold text is used to indicate important commands to refer  back to in case of an error. When debugging, ensure that all the  commands in bold are the same in your console output.

The bold text is used to call out the basic cellular configuration, the  crypto IPsec configuration, the IP SLA backup configuration, and the  mobile IP configuration. The comments below each of the commands  associated with each of these configurations will be called out  throughout the example for ease of reference when debugging.

The debug output below is typical for a successful call establishment.


ROUTER#ping ip 209.131.36.158  

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.131.36.158, timeout is 2 seconds:
Packet sent with a source address of 10.1.0.254 

*Jun 21 00:45:43.679: CHAT0/0/0: Attempting async line dialer script
*Jun 21 00:45:43.679: CHAT0/0/0: Dialing using Modem script: gsm & System script: none
*Jun 21 00:45:43.679: CHAT0/0/0: process started
*Jun 21 00:45:43.683: CHAT0/0/0: Asserting DTR
*Jun 21 00:45:43.683: CHAT0/0/0: Chat script gsm started
*Jun 21 00:45:43.683: CHAT0/0/0: Sending string: atdt*98*1#
*Jun 21 00:45:43.683: CHAT0/0/0: Expecting string: CONNECT
*Jun 21 00:45:43.727: CHAT0/0/0: Completed match for expect: CONNECT
*Jun 21 00:45:43.727: CHAT0/0/0: Chat script gsm finished, status = Success.

*Jun 21 00:45:45.931: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to up
!
!     Upon detecting 'interesting' traffic, the IOS has successfully communicated with the
!     cellular modem, and command it to dial out.
! 
*Jun 21 00:45:45.931: Ce0/0/0 PPP: Using dialer call direction
*Jun 21 00:45:45.931: Ce0/0/0 PPP: Treating connection as a callout
*Jun 21 00:45:45.931: Ce0/0/0 PPP: Session handle[3C00021F] Session id[180]
*Jun 21 00:45:45.931: Ce0/0/0 PPP: Phase is ESTABLISHING, Active Open
*Jun 21 00:45:45.931: Ce0/0/0 PPP: No remote authentication for call-out
!
!     Preparing to start the PPP - LCP (Link Control Protocol) phase
! 
*Jun 21 00:45:45.931: Ce0/0/0 LCP: O CONFREQ [Closed] id 189 len 20
*Jun 21 00:45:45.931: Ce0/0/0 LCP:    ACCM 0x000A0000 (0x0206000A0000)
*Jun 21 00:45:45.931: Ce0/0/0 LCP:    MagicNumber 0x3F7E2331 (0x05063F7E2331)
*Jun 21 00:45:45.931: Ce0/0/0 LCP:    PFC (0x0702)
*Jun 21 00:45:45.931: Ce0/0/0 LCP:    ACFC (0x0802)
!
!     Outgoing CONFREQ sent out from Cisco IOS to the cellular modem.
! 
*Jun 21 00:45:45.935: Ce0/0/0 LCP: I CONFREQ [REQsent] id 63 len 25
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    ACCM 0x00000000 (0x020600000000)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    AuthProto CHAP (0x0305C22305)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    MagicNumber 0xB9F4D928 (0x0506B9F4D928)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    PFC (0x0702)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    ACFC (0x0802)
!
!     Incoming CONFREQ received by IOS from the cellular modem.
! 
*Jun 21 00:45:45.935: Ce0/0/0 LCP: O CONFACK [REQsent] id 63 len 25
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    ACCM 0x00000000 (0x020600000000)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    AuthProto CHAP (0x0305C22305)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    MagicNumber 0xB9F4D928 (0x0506B9F4D928)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    PFC (0x0702)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    ACFC (0x0802)
!
!     Outgoing CONFACK sent out from the IOS to the cellular modem.
! 
*Jun 21 00:45:45.935: Ce0/0/0 LCP: I CONFACK [ACKsent] id 189 len 20
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    ACCM 0x000A0000 (0x0206000A0000)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    MagicNumber 0x3F7E2331 (0x05063F7E2331)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    PFC (0x0702)
*Jun 21 00:45:45.935: Ce0/0/0 LCP:    ACFC (0x0802)
!
!     Incoming CONACK received by IOS from the cellular modem.
! 
*Jun 21 00:45:45.935: Ce0/0/0 LCP: State is Open
!
!     LCP phase completed successfully, and is now OPEN.
! 
*Jun 21 00:45:45.939: Ce0/0/0 PPP: Phase is AUTHENTICATING, by the peer.
!
!     Beginning the authentication phase.
! 
*Jun 21 00:45:45.939: Ce0/0/0 CHAP: I CHALLENGE id 1 len 35 from "UMTS_CHAP_SRVR"
*Jun 21 00:45:45.943: Ce0/0/0 CHAP: Using hostname from interface CHAP
*Jun 21 00:45:45.943: Ce0/0/0 CHAP: Using password from interface CHAP

*Jun 21 00:45:45.943: Ce0/0/0 CHAP: O RESPONSE id 1 len 40 from 
SP-provided-user-name@wwan.ccs

*Jun 21 00:45:45.943: Ce0/0/0 CHAP: I SUCCESS id 1 len 4
!
!     CHAP (Challenge Handshake Authentication Protocol) phase completed successfully, and
!     is now OPEN.

!     This CHAP authentication has only occurred between the IOS and the cellular
!     modem on the 3G-HWIC, and not yet with the network. It is important to remember that
!     the PPP does not terminate on the network; it terminates locally on the modem.
!
!     The cellular network (GGSN) has not yet authenticated the user. The cellular modem
!     then uses 'Activate PDP context' message, over the air, for the purposes of obtaining
!     a IP address from the network, and also for authenticating itself to the network.  The
!     network in turn, responds with 'Activate PDP context Accept' message, authenticating
!     the user, and returning the IP address. The 'Activate PDP context' message contain the
!     CHAP credentials configured under the cellular interface. 
! 
*Jun 21 00:45:45.943: Ce0/0/0 PPP: Phase is FORWARDING, Attempting Forward
*Jun 21 00:45:45.947: Ce0/0/0 PPP: Phase is ESTABLISHING, Finish LCP
*Jun 21 00:45:45.947: Ce0/0/0 PPP: Phase is UP
!
!     Starting NCP [Network Control Protocol]/ IPCP [IP Control Protocol] phase 
!      
*Jun 21 00:45:45.947: Ce0/0/0 IPCP: O CONFREQ [Closed] id 1 len 22
*Jun 21 00:45:45.947: Ce0/0/0 IPCP:    Address 0.0.0.0 (0x030600000000)
*Jun 21 00:45:45.947: Ce0/0/0 IPCP:    PrimaryDNS 0.0.0.0 (0x810600000000)
*Jun 21 00:45:45.947: Ce0/0/0 IPCP:    SecondaryDNS 0.0.0.0 (0x830600000000)
!
!     IPCP CONFREQ (Configure-Request) sent by Cisco IOS to the modem, requesting host IP
!     address, and the DNS addresses.
! 
*Jun 21 00:45:45.947: Ce0/0/0 PPP: Process pending ncp packets

*Jun 21 00:45:46.955: Ce0/0/0 IPCP: I CONFNAK [REQsent] id 1 len 16
*Jun 21 00:45:46.955: Ce0/0/0 IPCP:    PrimaryDNS 10.11.12.13 (0x81060A0B0C0D)
*Jun 21 00:45:46.955: Ce0/0/0 IPCP:    SecondaryDNS 10.11.12.14 (0x83060A0B0C0E)
!
!     IPCP CONFNAK (Received configuration option is recognizable and acceptable, but some
!     values are not acceptable) sent by the modem to Cisco IOS, in return to the above
!     CONFREQ. 
!
!     The modem has not yet been authenticated by the cellular network. The modem is waiting
!     for the 'Activate PDP context Accept' message from the cellular network. The modem is
!     merely returning a response to IOS, containing primary and secondary DNS addresses
!     (these addresses are arbitrary, since the real addresses are provided by the network).
!     For obvious reasons, it does not return any host IP Address to the IOS.  
! 
*Jun 21 00:45:46.955: Ce0/0/0 IPCP: O CONFREQ [REQsent] id 2 len 22
*Jun 21 00:45:46.955: Ce0/0/0 IPCP:    Address 0.0.0.0 (0x030600000000)
*Jun 21 00:45:46.955: Ce0/0/0 IPCP:    PrimaryDNS 10.11.12.13 (0x81060A0B0C0D)
*Jun 21 00:45:46.955: Ce0/0/0 IPCP:    SecondaryDNS 10.11.12.14 (0x83060A0B0C0E)
!
!     A new IPCP CONFREQ sent by the IOS to modem, requesting the missing host IP address in
!     the CONFNAK from the modem.
!
*Jun 21 00:45:47.959: Ce0/0/0 IPCP: I CONFNAK [REQsent] id 2 len 16
*Jun 21 00:45:47.959: Ce0/0/0 IPCP:    PrimaryDNS 10.11.12.13 (0x81060A0B0C0D)
*Jun 21 00:45:47.959: Ce0/0/0 IPCP:    SecondaryDNS 10.11.12.14 (0x83060A0B0C0E)
!
!     Modem responds with IPCP CONFNAK, still excluding the requested host IP address.
!
!     The reason for this exclusion is that the modem is still waiting for the 'Activate PDP
!     context Accept' message from the network which would contain these requested
!     parameters.
!
*Jun 21 00:45:47.959: Ce0/0/0 IPCP: O CONFREQ [REQsent] id 3 len 22
*Jun 21 00:45:47.959: Ce0/0/0 IPCP:    Address 0.0.0.0 (0x030600000000)
*Jun 21 00:45:47.963: Ce0/0/0 IPCP:    PrimaryDNS 10.11.12.!.13 (0x81060A0B0C0D)
*Jun 21 00:45:47.963: Ce0/0/0 IPCP:    SecondaryDNS 10.11.12.14 (0x83060A0B0C0E)
!
!     IOS continues sending IPCP CONREQ to the modem.
!
*Jun 21 00:45:48.967: Ce0/0/0 IPCP: I CONFNAK [REQsent] id 3 len 16
*Jun 21 00:45:48.967: Ce0/0/0 IPCP:    PrimaryDNS 10.11.12.13 (0x81060A0B0C0D)
*Jun 21 00:45:48.967: Ce0/0/0 IPCP:    SecondaryDNS 10.11.12.14 (0x83060A0B0C0E)
!
!     Modem responds with IPCP CONFNAK, still once again excluding the requested host 
!     IP Address.
!
!     The modem is still waiting for the 'Activate PDP context Accept' message from the
!     network.
!
*Jun 21 00:45:48.967: Ce0/0/0 IPCP: O CONFREQ [REQsent] id 4 len 22
*Jun 21 00:45:48.967: Ce0/0/0 IPCP:    Address 0.0.0.0 (0x030600000000)
*Jun 21 00:45:48.967: Ce0/0/0 IPCP:    PrimaryDNS 10.11.12.13 (0x81060A0B0C0D)
*Jun 21 00:45:48.967: Ce0/0/0 IPCP:    SecondaryDNS 10.11.12.14 (0x83060A0B0C0E)
!
!     IOS continues sending IPCP CONREQ to the modem.
!
*Jun 21 00:45:49.263: Ce0/0/0 IPCP: I CONFREQ [REQsent] id 108 len 4

*Jun 21 00:45:49.263: Ce0/0/0 IPCP: O CONFACK [REQsent] id 108 len 4

*Jun 21 00:45:49.263: Ce0/0/0 IPCP: I CONFNAK [ACKsent] id 4 len 22
*Jun 21 00:45:49.263: Ce0/0/0 IPCP:    Address 166.138.186.120 (0x0306A68ABA78)
*Jun 21 00:45:49.263: Ce0/0/0 IPCP:    PrimaryDNS 66.102.163.231 (0x81064266A3E7)
*Jun 21 00:45:49.263: Ce0/0/0 IPCP:    SecondaryDNS 66.102.163.232 (0x83064266A3E8)
!
!     Finally, the modem receives the 'Activate PDP context Accept' message from the
!     cellular network, which successfully authenticates the modem/IOS, and also provides
!     the host IP address, and the DNS addresses, as received from the network.
!
!     IPCP CONFNAK sent by the modem to IOS, containing these valid addresses received from
!     the network.
! 
*Jun 21 00:45:49.263: Ce0/0/0 IPCP: O CONFREQ [ACKsent] id 5 len 22
*Jun 21 00:45:49.267: Ce0/0/0 IPCP:    Address 166.138.186.120 (0x0306A68ABA78)
*Jun 21 00:45:49.267: Ce0/0/0 IPCP:    PrimaryDNS 66.102.163.231 (0x81064266A3E7)
*Jun 21 00:45:49.267: Ce0/0/0 IPCP:    SecondaryDNS 66.102.163.232 (0x83064266A3E8)
!
!     IPCP CONFREQ sent by the IOS to the modem, requesting the suggested host IP address,
!     and the DNS addresses.
! 

*Jun 21 00:45:49.267: Ce0/0/0 IPCP: I CONFACK [ACKsent] id 5 len 22
*Jun 21 00:45:49.267: Ce0/0/0 IPCP:    Address 166.138.186.120 (0x0306A68ABA78)
*Jun 21 00:45:49.267: Ce0/0/0 IPCP:    PrimaryDNS 66.102.163.231 (0x81064266A3E7)
*Jun 21 00:45:49.267: Ce0/0/0 IPCP:    SecondaryDNS 66.102.163.232 (0x83064266A3E8)
!
!     IPCP CONFACK (If all options in the CONFREQ message are recognizable and all values
!     are acceptable, then the router transmits a CONFACK message) sent by the modem to
!     Cisco IOS, accepting the requested host IP address, and the DNS addresses.
! 
*Jun 21 00:45:49.267: Ce0/0/0 IPCP: State is Open
!
!     IPCP Phase is now successful, and is OPEN.
! 
*Jun 21 00:45:49.291: Ce0/0/0 IPCP: Install negotiated IP interface address 
166.138.186.120
!
!     IP address assigned to the cellular interface, and installed in the routing table. 

Review Cisco Networking for a $25 gift card