cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2100
Views
1
Helpful
14
Replies

HWIC 3G

supportalliacom
Level 1
Level 1

Hi,

I have configured HWIC 3G cellular interface on a 1841 router.

When I reload the router the interface get an IP address and traffic pass to internet, but after sometime the cellular interface is reseting and the interface is is not having any ip address no traffic pass .

Im attaching the router configuration please help me on this.

14 Replies 14

Philip D'Ath
VIP Alumni
VIP Alumni

Nothing attached.  Also what IOS version are you using?

Hi,

The IOS version is Version 15.1(4)M5 and below is the router configuration.

!
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
dot11 syslog
ip source-route
!
!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
chat-script gsm "" "ATDT*98*1#" TIMEOUT 60 "CONNECT"
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO1841 sn FCZ1537C63D
!
redundancy
!
!
controller Cellular 0/0
!
!
!
crypto isakmp policy 1
encr aes 256
hash sha256
authentication pre-share
group 2
lifetime 3600
crypto isakmp key pont3g address 46.218.138.2
!
!
crypto ipsec transform-set pont3g esp-aes 256 esp-sha512-hmac
no crypto ipsec nat-transparency udp-encapsulation
!
crypto map pont3g 10 ipsec-isakmp
set peer 46.218.138.2
set transform-set pont3g
match address VPN-Traffic
!
!
!
!
!
interface FastEthernet0/0
ip address 10.128.98.1 255.255.255.0
ip virtual-reassembly in
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.0.10 255.255.255.0
duplex auto
speed auto
crypto map pont3g
!
interface ATM0/1/0
no ip address
shutdown
no atm ilmi-keepalive
!
interface Cellular0/0/0
ip address negotiated
encapsulation ppp
dialer in-band
dialer idle-timeout 0
dialer string gsm
dialer-group 1
async mode interactive
ppp authentication pap callin
ppp eap refuse
ppp chap refuse
ppp ms-chap-v2 refuse
ppp pap sent-username sfr password 0 sfr
ppp ipcp dns request
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 Cellular0/0/0
!
ip access-list extended VPN-Traffic
permit ip 10.128.98.0 0.0.0.255 172.24.0.0 0.0.255.255
permit ip 10.128.98.0 0.0.0.255 10.1.13.0 0.0.0.255
!
access-list 1 permit any
dialer-list 1 protocol ip permit
!
!
!
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line 0/0/0
exec-timeout 0 0
password sfr
script dialer gsm
login
modem InOut
no exec
transport preferred none
transport output none
rxspeed 3600000
txspeed 384000
line vty 0 4
login
transport input all
!

Are you able to upgrade to the gold star release 15.1.4M10 ?

Hi,

I have upgraded on 15.1.4M10 now it is worst, the interface gets up, after that immediately resetting and then going down.

*Apr 14 09:46:04.523: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to up
*Apr 14 09:46:06.587: %LINK-5-CHANGED: Interface Cellular0/0/0, changed state to reset
*Apr 14 09:46:11.587: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to

Thanks for your help.

Wow that is a bad reaction.  Try powering the router down, remove and re-insert the HWIC card (re-seating the card) and then power back on.

The 3G modem is not acting like it is very happy.

I have powerd off the router re inserted the card but it is still the same.

Even i have performed a modem upgrade nothing changed .

Thanks,

I don't think you should have "password sfr" on line 0/0/0.  That line is used by the router to talk to the 3G modem.  Try removing it.

Perhaps try changing:

ip route 0.0.0.0 0.0.0.0 Cellular0/0/0

to:

ip route 0.0.0.0 0.0.0.0 Cellular0/0/0 permanent

Hi,

I have modified the default route as you said, but nothing changed.

When i restart the router i get below message:

*Apr 20 14:26:04.727: %CELLWAN-2-MODEM_UP: Modem in HWIC slot 0/0 is now UP

As soon as i try to ping 8.8.8.8 i get below messages.

*Apr 20 14:29:54.067: Ce0/0/0 DDR: place call
*Apr 20 14:29:54.067: Ce0/0/0 DDR: Dialing cause ip (s=10.128.98.1, d=8.8.8.8)
*Apr 20 14:29:54.067: Ce0/0/0 DDR: Attempting to dial gsm
*Apr 20 14:29:54.067: CHAT0/0/0: Attempting async line dialer script
*Apr 20 14:29:54.067: CHAT0/0/0: Dialing using Modem script: gsm & System script: none
*Apr 20 14:29:54.071: CHAT0/0/0: process started
*Apr 20 14:29:54.071: CHAT0/0/0: Asserting DTR
*Apr 20 14:29:54.071: CHAT0/0/0: Chat script gsm started
*Apr 20 14:29:54.071: CHAT0/0/0: Sending string: ATDT*98#
*Apr 20 14:29:54.071: CHAT0/0/0: Expecting string: CONNECT
*Apr 20 14:29:54.123: CHAT0/0/0: Completed match for expect: CONNECT
*Apr 20 14:29:54.123: CHAT0/0/0: Chat script gsm finished, status = Success.
*Apr 20 14:29:56.123: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to up
*Apr 20 14:29:56.123: Ce0/0/0 DDR: Dialer statechange to up
*Apr 20 14:29:56.123: Ce0/0/0 DDR: Dialer call has been placed
*Apr 20 14:29:56.167: Ce0/0/0 PPP: Using dialer call direction
*Apr 20 14:29:56.167: Ce0/0/0 PPP: Treating connection as a callout
*Apr 20 14:29:56.167: Ce0/0/0 PPP: Session handle[41000001] Session id[1].
*Apr 20 14:29:58.199: %LINK-5-CHANGED: Interface Cellular0/0/0, changed state to reset...
Success rate is 0 percent (0/5)
Router#
*Apr 20 14:30:03.199: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to down
*Apr 20 14:30:13.199: Ce0/0/0 DDR: re-enable timeout

hi,

could you change the chat-script below to "OK" and try again?

chat-script gsm "" "ATDT*98*1#" TIMEOUT 60 "OK"

Hi,

I have modified as you said, but nothing changed.

chat-script gsm "" "ATDT*98#" TIMEOUT 60 "OK"

*Apr 20 15:17:58.867: Ce0/0/0 DDR: place call
*Apr 20 15:17:58.867: Ce0/0/0 DDR: Dialing cause ip (s=10.128.98.1, d=8.8.8.8)
*Apr 20 15:17:58.867: Ce0/0/0 DDR: Attempting to dial gsm
*Apr 20 15:17:58.867: CHAT0/0/0: Attempting async line dialer script
*Apr 20 15:17:58.867: CHAT0/0/0: Dialing using Modem script: gsm & System script: none
*Apr 20 15:17:58.871: CHAT0/0/0: process started
*Apr 20 15:17:58.871: CHAT0/0/0: Asserting DTR
*Apr 20 15:17:58.871: CHAT0/0/0: Chat script gsm started
*Apr 20 15:17:58.871: CHAT0/0/0: Sending string: ATDT*98#
*Apr 20 15:17:58.871: CHAT0/0/0: Expecting string: OK.....
Success rate is 0 percent (0/5)
Router#
Router#
*Apr 20 15:18:58.871: CHAT0/0/0: Timeout expecting: OK
*Apr 20 15:18:58.871: CHAT0/0/0: Chat script gsm finished, status = Connection timed out; remote host not responding
*Apr 20 15:18:58.871: Ce0/0/0 DDR: disconnecting call
*Apr 20 15:19:13.871: Ce0/0/0 DDR: re-enable timeout

Hi,

normally it should look like this.

(this is lte 4G stuff so it is a little different)

attach profile under controller cellular first

controller Cellular 0
lte sim data-profile 1 attach-profile 1 slot 0
lte gps mode standalone
lte gps nmea

configure chat script

chat-script lte "" "AT!CALL" TIMEOUT 20 "OK"

interface Cellular0
ip address negotiated
ip virtual-reassembly in
encapsulation slip
dialer in-band
dialer string lte
dialer-group 2

dialer-list 2 protocol ip permit

ip route 0.0.0.0 0.0.0.0 Cellular0

ping to the outside when debug is activated. This should do it.

Kind Regards

Jan Meylaers

Hi,

Thanks for replay, but under controller cellular 0 i dont see the option lte.

Router(config-controller)#?
Controller configuration commands:
  default      Set a command to its defaults
  description  Controller specific description
  exit         Exit from controller configuration mode
  gsm          GSM type carrier
  help         Description of the interactive help system
  no           Negate a command or set its defaults

Hi,

you do not need the lte command as you are having a 3G router.

I have found a 3G router configuration.

cellular 0 gsm profile create 15 addrprovider optionpwd

chat-script GSM "" "AT!SCACT=1,15" TIMEOUT 60 "OK"

controller Cellular 0
gsm sim profile 15 slot 1
gsm gps mode standalone
gsm gps nmea
interface Cellular0
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation slip
dialer in-band
dialer pool-member 1
dialer-group 1

interface Dialer0
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation slip
dialer pool 1
dialer idle-timeout 0
dialer string GSM
dialer persistent
dialer-group 1

ip route 0.0.0.0 0.0.0.0 Dialer0
line 3
script dialer GSM
no exec
rxspeed 21600000
txspeed 5760000
line 6
modem InOut
no exec

Hellow,

I have a Cisco router 1841 with a HWIC 3g card.

I have configured site to site VPN with a cisco ASA, the configuration is working well but I have very high latency around 400 to 500 ms.

When i reboo the router the latency is around 100 ms for some minutes and then insreases, even the traffic is not increasing the latency insrease after some minutes.

Below is the router configuration :

Current configuration : 6330 bytes
!
! Last configuration change at 14:21:45 UTC Wed Jul 20 2016
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname P3g-AHR-Amiens
!
boot-start-marker
boot system flash c1841-adventerprisek9-mz.151-4.M10.bin
boot-end-marker
!
!
!
no aaa new-model
!
dot11 syslog
ip source-route
!
!
!
!
!
ip cef
ip domain name as.asd.asf
ip name-server 8.8.4.4
ip name-server 8.8.8.8
ip ddns update method pont3G
HTTP
add http://pont3g:pont3G@dynupdate.no-ip.com/nic/updatehostname=<h>&myip=<a>
interval maximum 0 0 0 5
!
no ipv6 cef
!
multilink bundle-name authenticated
!
chat-script gsm "" "ATDT*98*1#" TIMEOUT 60 "CONNECT"
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO1841 sn FHK09362129
log config
hidekeys
!
redundancy
!
!
controller Cellular 0/0
!
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh port 4022 rotary 1
ip ssh source-interface FastEthernet0/0
ip ssh version 2
!
!
crypto isakmp policy 1
encr aes 256
authentication pre-share
group 2
lifetime 3600
crypto isakmp key pont3g address 62.160.183.247
crypto isakmp keepalive 3600
!
crypto ipsec transform-set pont3g esp-aes 256 esp-sha-hmac
!
crypto map pont3g 1 ipsec-isakmp
set peer 62.160.183.247
set transform-set pont3g
match address VPN-Traffic
!
!
!
!
!
interface FastEthernet0/0
description *** VLAN CLIENT ***
ip address 10.128.32.4 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
vrrp 1 ip 10.128.162.1
vrrp 1 priority 80
vrrp 5 ip 10.128.32.1
vrrp 5 priority 80
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface ATM0/1/0
no ip address
shutdown
no atm ilmi-keepalive
!
interface Cellular0/0/0
ip ddns update hostname p3g-ahr.ddns.net
ip ddns update pont3G
ip address negotiated
ip nat outside
no ip virtual-reassembly in
encapsulation ppp
dialer in-band
dialer idle-timeout 0
dialer string gsm
dialer-group 1
async mode interactive
ppp chap hostname orange
ppp chap password 0 orange
crypto map pont3g
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 2000 interface Cellular0/0/0 overload
ip route 0.0.0.0 0.0.0.0 Cellular0/0/0
ip route 10.128.33.0 255.255.255.0 10.128.32.254
ip route 10.128.228.0 255.255.255.192 10.128.32.254
!
ip access-list extended VPN-Traffic
permit ip 10.128.33.0 0.0.0.127 10.129.0.0 0.0.127.255
permit ip 10.128.33.0 0.0.0.127 10.130.0.0 0.0.255.255
permit ip 10.128.33.0 0.0.0.127 10.66.27.0 0.0.0.255
permit ip 10.128.33.0 0.0.0.127 10.66.28.0 0.0.0.255
permit ip 10.128.33.0 0.0.0.127 10.134.9.0 0.0.0.255
permit ip 10.128.33.0 0.0.0.127 172.31.0.0 0.0.0.255
permit ip 10.128.228.0 0.0.0.63 10.129.0.0 0.0.127.255
permit ip 10.128.228.0 0.0.0.63 10.130.0.0 0.0.255.255
permit ip 10.128.228.0 0.0.0.63 10.66.27.0 0.0.0.255
permit ip 10.128.228.0 0.0.0.63 10.66.28.0 0.0.0.255
permit ip 10.128.228.0 0.0.0.63 10.134.99.0 0.0.0.255
permit ip 10.128.228.0 0.0.0.63 172.31.0.0 0.0.0.255
permit ip 10.128.32.0 0.0.0.255 10.129.0.0 0.0.127.255
permit ip 10.128.32.0 0.0.0.255 10.130.0.0 0.0.255.255
permit ip 10.128.32.0 0.0.0.255 10.66.27.0 0.0.0.255
permit ip 10.128.32.0 0.0.0.255 10.66.28.0 0.0.0.255
permit ip 10.128.32.0 0.0.0.255 10.134.99.0 0.0.0.255
permit ip 10.128.32.0 0.0.0.255 172.31.0.0 0.0.0.255
permit ip 10.128.33.128 0.0.0.127 10.129.0.0 0.0.127.255
permit ip 10.128.33.128 0.0.0.127 10.130.0.0 0.0.255.255
permit ip 10.128.33.128 0.0.0.127 10.66.27.0 0.0.0.255
permit ip 10.128.33.128 0.0.0.127 10.66.28.0 0.0.0.255
permit ip 10.128.33.128 0.0.0.127 10.134.99.0 0.0.0.255
permit ip 10.128.33.128 0.0.0.127 172.31.0.0 0.0.0.255
permit ip 10.128.33.0 0.0.0.127 10.130.20.0 0.0.0.255
permit ip 10.128.228.0 0.0.0.63 10.130.20.0 0.0.0.255
permit ip 10.128.32.0 0.0.0.255 10.130.20.0 0.0.0.255
permit ip 10.128.33.128 0.0.0.127 10.130.20.0 0.0.0.255
!
ip sla 1
icmp-echo 8.8.8.8 source-interface Cellular0/0/0
frequency 5
ip sla schedule 1 life forever start-time now
access-list 2000 deny ip 10.128.33.0 0.0.0.127 10.129.0.0 0.0.127.255
access-list 2000 deny ip 10.128.33.0 0.0.0.127 10.130.0.0 0.0.255.255
access-list 2000 deny ip 10.128.33.0 0.0.0.127 10.66.27.0 0.0.0.255
access-list 2000 deny ip 10.128.33.0 0.0.0.127 10.66.28.0 0.0.0.255
access-list 2000 deny ip 10.128.33.0 0.0.0.127 10.134.9.0 0.0.0.255
access-list 2000 deny ip 10.128.33.0 0.0.0.127 172.31.0.0 0.0.0.255
access-list 2000 deny ip 10.128.228.0 0.0.0.63 10.129.0.0 0.0.127.255
access-list 2000 deny ip 10.128.228.0 0.0.0.63 10.130.0.0 0.0.255.255
access-list 2000 deny ip 10.128.228.0 0.0.0.63 10.66.27.0 0.0.0.255
access-list 2000 deny ip 10.128.228.0 0.0.0.63 10.66.28.0 0.0.0.255
access-list 2000 deny ip 10.128.228.0 0.0.0.63 10.134.99.0 0.0.0.255
access-list 2000 deny ip 10.128.228.0 0.0.0.63 172.31.0.0 0.0.0.255
access-list 2000 deny ip 10.128.32.0 0.0.0.255 10.129.0.0 0.0.127.255
access-list 2000 deny ip 10.128.32.0 0.0.0.255 10.130.0.0 0.0.255.255
access-list 2000 deny ip 10.128.32.0 0.0.0.255 10.66.27.0 0.0.0.255
access-list 2000 deny ip 10.128.32.0 0.0.0.255 10.66.28.0 0.0.0.255
access-list 2000 deny ip 10.128.32.0 0.0.0.255 10.134.99.0 0.0.0.255
access-list 2000 deny ip 10.128.32.0 0.0.0.255 172.31.0.0 0.0.0.255
access-list 2000 deny ip 10.128.33.128 0.0.0.127 10.129.0.0 0.0.127.255
access-list 2000 deny ip 10.128.33.128 0.0.0.127 10.130.0.0 0.0.255.255
access-list 2000 deny ip 10.128.33.128 0.0.0.127 10.66.27.0 0.0.0.255
access-list 2000 deny ip 10.128.33.128 0.0.0.127 10.66.28.0 0.0.0.255
access-list 2000 deny ip 10.128.33.128 0.0.0.127 10.134.99.0 0.0.0.255
access-list 2000 deny ip 10.128.33.128 0.0.0.127 172.31.0.0 0.0.0.255
access-list 2000 permit ip 10.128.33.0 0.0.0.127 any
access-list 2000 permit ip 10.128.228.0 0.0.0.63 any
access-list 2000 permit ip 10.128.32.0 0.0.0.255 any
access-list 2000 permit ip 10.128.33.128 0.0.0.127 any
dialer-list 1 protocol ip list 2000
!
!
!
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line 0/0/0
exec-timeout 0 0
script dialer gsm
modem InOut
no exec
rxspeed 3600000
txspeed 384000
line vty 0 4
login local
transport input all
!
scheduler allocate 20000 1000
ntp server 138.96.64.10
ntp server 195.220.94.163
end

Can anyone help me please to find the root cause.

thanks,