cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
670
Views
0
Helpful
2
Replies

Cisco 881 3g router remote access via Dyndns

glostertelekom
Level 1
Level 1

Hi Everyone,

 

I'd like to access my Cisco 881 router from the internet using Dyndns, but I'm having some issues.

I configured Dyndns successfully on the router, it is sending its ip address to the dns server time to time as it should. However I can't ping the domain name that I registered, the PC is seeing the correct IP address however there is no response coming back. Establish an SSH session is also not possible.

 

Pinging ntsz.ddnsking.com [100.102.66.47] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

 

3g(config-if)#do sh int di1
Dialer1 is up, line protocol is up (spoofing)
Hardware is Unknown
Description: 3g access
Internet address is 100.102.66.47/32

 

I believe something trivial is missing from my config but I'm unable to determine what it is.

Below my current config:

 

hostname 3g
!
boot-start-marker
boot system flash c880data-universalk9-mz.154-3.M10.bin
boot-end-marker
!
!
!
no aaa new-model
memory-size iomem 10
!
!
!
!
!
!
!
!
!
!
!
!
!
ip dhcp pool dhcp_pool
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8
!
!
!
ip name-server 8.8.8.8
ip name-server 8.8.4.4
ip ddns update method myupdate
HTTP
add http://.............@dynupdate.no-ip.com/nic/update?hostname=ntsz.ddnsking.com&myip=<a>
interval maximum 1 0 0 0
interval minimum 0 0 10 0
!
ip cef
no ipv6 cef
!
!
chat-script hspa-R7 "" "AT!SCACT=1,1" TIMEOUT 60 "OK"
chat-script 3G "" "ATDT*99#" TIMEOUT 60 "CONNECT"
chat-script gsm "" "atdt*98*1#" TIMEOUT 180 "CONNECT"
cts logging verbose
license udi pid C881G+7-K9 sn FCZ1709C052
license boot module c880-data level advsecurity
!
!
!
!
!
!
!
controller Cellular 0
gsm sim authenticate 0 3767 slot 0
!
!
!
!
!
!
!
!
!
!
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 Cellular0
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly in
encapsulation slip
dialer in-band
dialer pool-member 1
dialer idle-timeout 1
dialer-group 1
!
interface Vlan1
description LAN
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface Dialer1
description 3g access
ip ddns update hostname ntsz.ddnsking.com
ip ddns update myupdate
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly in
encapsulation slip
load-interval 30
dialer pool 1
dialer idle-timeout 0
dialer string hspa-R7
dialer persistent
dialer-group 1
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip dns server
ip nat inside source list 1 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 8.8.8.8 255.255.255.255 Dialer1
ip ssh version 2
!
ip access-list extended allow
permit ip any any
!
ip sla 1
icmp-echo 8.8.8.8 source-interface Dialer1
threshold 1000
timeout 1000
frequency 1
ip sla schedule 1 life forever start-time now
dialer-list 1 protocol ip permit
!
access-list 1 permit 192.168.1.0 0.0.0.255
!
vstack
!
line con 0
no modem enable
line aux 0
line 3
exec-timeout 0 0
script dialer hspa-R7
modem InOut
no exec
transport input all
rxspeed 21600000
txspeed 5760000
line vty 0 4
login
transport input telnet ssh
!
ntp server hu.pool.ntp.org
!
end

 

Can someone please help me with this?

Thank you in advance.

2 Replies 2

Hello,

 

when I ping the domain, it resolves to a different IP address:

 

C:\Users\pauwe>ping ntsz.ddnsking.com

Pinging ntsz.ddnsking.com [100.74.177.185] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.

 

Not sure if your IOS supports the below commands, but try to add the lines in bold:

 

3G(config)# ip ddns update method myupdate
3G(DDNS-update-method)# ddns
3G(DDNS-update-method)# internal

Since this connection is a dialer interface I wonder if the connection is actually up when the request from the Internet is made? As a test would you be able to be locally connected to the router, make some connection to some Internet resource, and immediately use something else (or someone else) who is Internet connected to attempt to ping your router address while we know that it has an active connection on the dialer?

 

HTH

 

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card