02-28-2018 02:26 AM - edited 03-05-2019 10:00 AM
Hi,
I have Cisco 881 with SIM card and I cam not able to ping the internet. Could you please advise?
My config is below, it is full of garbage because I have already tried to find a solution... :(
Current configuration : 3131 bytes ! ! Last configuration change at 10:17:50 UTC Wed Feb 28 2018 ! version 15.6 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 ! ! -- ! ! ip dhcp pool testpool network 192.168.1.0 255.255.255.0 ! ip dhcp pool A network 192.168.100.0 255.255.255.0 default-router 192.168.100.1 dns-server 8.8.8.8 8.8.4.4 lease 9 ! ! ! ip cef no ipv6 cef ! -- ! multilink bundle-name authenticated ! ! chat-script lte "" "AT!CALL" TIMEOUT 20 "OK" chat-script CellScript "" "AT!CALL" TIMEOUT 60 "OK" chat-script cdma "" "ATDT#777" TIMEOUT 60 "CONNECT" ! -- ! license udi pid C881G-4G-GA-K9 sn FCZ2147E2DH ! ! username admin privilege 15 password 0 admin ! redundancy ! -- ! controller Cellular 0 lte sim data-profile 1 attach-profile 1 slot 0 lte modem link-recovery rssi onset-threshold -110 lte modem link-recovery monitor-timer 20 lte modem link-recovery wait-timer 10 lte modem link-recovery debounce-count 6 ! -- ! interface Loopback0 ip address 192.168.1.1 255.255.255.255 ! interface Cellular0 ip address negotiated ip nat outside ip virtual-reassembly in encapsulation slip dialer in-band dialer idle-timeout 0 dialer string lte dialer string cdma dialer string gsm dialer watch-group 1 dialer-group 1 async mode interactive ! interface Cellular1 no ip address encapsulation slip ! interface FastEthernet0 no ip address ! interface FastEthernet1 no ip address ! interface FastEthernet2 no ip address ! interface FastEthernet3 no ip address ! interface FastEthernet4 no ip address shutdown duplex auto speed auto ! interface Vlan1 no ip address ! interface Dialer2 ip address negotiated ip virtual-reassembly in encapsulation ppp dialer pool 2 dialer idle-timeout 0 dialer string CellScript dialer persistent dialer-group 2 ppp authentication pap callin ppp ipcp dns request no cdp enable ! ip forward-protocol nd no ip http server no ip http secure-server ! ! ip nat pool test 4.4.4.4 4.4.4.4 netmask 255.255.255.0 ip route 0.0.0.0 0.0.0.0 Dialer2 ip route 0.0.0.0 0.0.0.0 Cellular0 ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr ! dialer watch-list 1 ip 5.6.7.8 0.0.0.0 dialer watch-list 1 delay route-check initial 60 dialer watch-list 1 delay connect 1 dialer-list 1 protocol ip list 1 dialer-list 2 protocol ip permit ipv6 ioam timestamp ! access-list 1 permit any ! control-plane ! ! ! mgcp behavior rsip-range tgcp-only mgcp behavior comedia-role none mgcp behavior comedia-check-media-src disable mgcp behavior comedia-sdp-force disable ! mgcp profile default ! -- ! vstack ! line con 0 exec-timeout 0 0 script dialer cdma login no modem enable line aux 0 line 2 no activation-character no exec transport preferred none stopbits 1 line 3 script dialer CellScript no exec speed 384000 line 8 no exec speed 384000 line vty 0 4 login transport input none ! scheduler allocate 20000 1000 ! end
Solved! Go to Solution.
03-01-2018 07:12 AM
Hi
I'm glad to know it is working as planned, you are welcome my friend.
Have a great day!
:-)
02-28-2018 12:10 PM
Hello,
in addition to Julio's comments, who is your ISP/Provider ? The initial configuration you have posted is, and you said it yourself, sort of messy. Is there a reason you need stuff like dialer watch, multiple scripts, and multiple outside interfaces ?
03-01-2018 05:18 AM
Hello,
for the sake of simplicity I have sanitized your configuration. Imortant parts are marked in bold. See if you get this to work. Keep in mind that you have no authentication...who is your ISP ?
Building configuration...
Current configuration : 3416 bytes
!
! Last configuration change at 16:18:10 UTC Wed Feb 28 2018
!
version 15.6
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
ip dhcp excluded-address 192.168.10.1
!
ip dhcp pool LAN
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 8.8.8.8 8.8.4.4
lease 9
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
chat-script gsm "" "ATDT*99#" TIMEOUT 60 "CONNECT"
!
license udi pid C881G-4G-GA-K9 sn FCZ2147E2DH
!
username admin privilege 15 password 0 admin
!
redundancy
!
controller Cellular 0
lte sim data-profile 1 attach-profile 1 slot 0
lte modem link-recovery rssi onset-threshold -110
lte modem link-recovery monitor-timer 20
lte modem link-recovery wait-timer 10
lte modem link-recovery debounce-count 6
!
interface Cellular0
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation slip
dialer in-band
dialer idle-timeout 0
dialer string gsm
dialer-group 1
async mode interactive
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
description LAN
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
no ip address
shutdown
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface Cellular0 overload
!
ip route 0.0.0.0 0.0.0.0 Cellular0
ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
!
access-list 1 permit 192.168.10.0
!
dialer-list 1 protocol ip permit
!
control-plane
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
vstack
!
line con 0
exec-timeout 0 0
script dialer cdma
login
no modem enable
line aux 0
line 2
no activation-character
no exec
transport preferred none
stopbits 1
line 3
script dialer gsm
no exec
speed 384000
line 8
no exec
speed 384000
line vty 0 4
login
transport input none
!
scheduler allocate 20000 1000
!
end
03-01-2018 05:49 AM
Hi Geord,
are you sure DHCP setup is mandatory?
I need just check cellular if, no LAN.
Also, I am using multiple ISPs, Vodafone, DTAG, EE.. etc. This config should be versatile.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide