Tình hình mà minh mới cấu hình xong cisco 877, đã nat va gán dịch vụ dyndns trên cisco 877. Nhưng gặp gắc rối là không update duoc dyndns khi bi thay đổi ip. Mình đã cấu hình update nhưng vẫn chưa chạy, bro nao biết thì help mình khúc này nhé. thank
Building configuration...
Current configuration : 6672 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname company
!
boot-start-marker
boot-end-marker
!
logging buffered 52000
!
no aaa new-model
clock timezone Bangkok 7
!
crypto pki trustpoint TP-self-signed-3934559720
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3934559720
revocation-check none
rsakeypair TP-self-signed-3934559720
!
!
crypto pki certificate chain TP-self-signed-3934559720
certificate self-signed 01
3082025A 308201C3 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33393334 35353937 3230301E 170D3032 30333133 30373538
31345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 39333435
35393732 3030819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100B372 8D840BB4 1B137911 06B51B7B 9C4F48EC D2806E86 83F62DA4 EF282EEC
D582F512 8EF6366C CDB93107 6F080F47 59225063 2E17042F FA3C2DE2 C58DD273
246A80E9 B8EF5A18 61B6FEF7 2977A96A 296B1665 18552484 DCE75505 354CC35D
71733C5B C3D22CA2 7C5616E8 2126E8EE E14667E7 49E9CA7A 83522B71 7F021A12
05C50203 010001A3 8181307F 300F0603 551D1301 01FF0405 30030101 FF302C06
03551D11 04253023 82217369 735F6B69 6E646572 776F726C 642E6475 796E686F
2E64796E 646E732E 636F6D30 1F060355 1D230418 30168014 22915390 BAC075E7
7BE68CD2 B62A4DA8 42F4A9A5 301D0603 551D0E04 16041422 915390BA C075E77B
E68CD2B6 2A4DA842 F4A9A530 0D06092A 864886F7 0D010104 05000381 810036C9
30AFB405 D005CA61 964B72A1 D757B5FB 9FB99D49 CF801F49 C07DCCA5 B791B22B
067C61DA 7BD9E067 47C5B60B DD52C1A0 B41365B0 0118598E 9E654268 4FD7C016
DE317DDF A911323B 225F9912 77C18AD9 16D8C99B 980ADDDE 69CB8AED C06E3862
415F8CDA 22A1B144 BFCC08D3 D6F6A055 E9CACC8C ED58F501 75F385FB 6C1F
quit
dot11 syslog
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.3.1 192.168.3.9
ip dhcp excluded-address 192.168.3.101 192.168.3.254
!
ip dhcp pool sdm-pool
import all
network 192.168.3.0 255.255.255.0
dns-server 221.133.0.1 221.133.0.2
default-router 192.168.3.1
lease infinite
!
!
ip domain name test.dyndns.com
ip name-server 221.133.0.1
ip ddns update method sdm-ddns1
HTTP
add http://testdyndns:123456@members.dyn...esystem=dyndns
&hostname=test.dyndns.org&myip=
interval maximum 0 1 0 0
!
!
!
!
username company privilege 15 secret 5 $1$MvEE$a2VS5u2IJkFthOdjWhCVg.
!
!
archive
log config
hidekeys
!
!
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
pvc 0/33
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
ip ddns update hostname test.dyndns.org
ip ddns update sdm-ddns1 host members.dyndns.org
ip address 192.168.3.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1412
!
interface Dialer0
ip ddns update hostname test.dyndns.org
ip ddns update sdm-ddns1 host members.dyndns.org
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap pap callin
ppp chap hostname s_company
ppp chap password 0 123456
ppp pap sent-username s_company password 0 123456
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source list 1 interface Dialer0 overload
i
access-list 1 permit 192.168.3.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
!
!
control-plane
!
banner login ^C
-----------------------------------------------------------------------
Cisco Router and Security Device Manager (SDM) is installed on this device.
This feature requires the one-time use of the username "cisco"
with the password "cisco". The default username and password have a privilege le
vel of 15.
Please change these publicly known initial credentials using SDM or the IOS CLI.
Here are the Cisco IOS commands.
username <myuser> privilege 15 secret 0 <mypassword>
no username cisco
Replace <myuser> and <mypassword> with the username and password you want to use
.
For more information about SDM please follow the instructions in the QUICK START
GUIDE for your router or go to http://www.cisco.com/go/sdm
-----------------------------------------------------------------------
^C
!
line con 0
login local
no modem enable
line aux 0
line vty 0 3
privilege level 15
login local
transport input telnet ssh
line vty 4
privilege level 15
password xxx
login
transport input telnet ssh
!
scheduler max-task-time 5000
end
Building configuration...
Current configuration : 6672 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname company
!
boot-start-marker
boot-end-marker
!
logging buffered 52000
!
no aaa new-model
clock timezone Bangkok 7
!
crypto pki trustpoint TP-self-signed-3934559720
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3934559720
revocation-check none
rsakeypair TP-self-signed-3934559720
!
!
crypto pki certificate chain TP-self-signed-3934559720
certificate self-signed 01
3082025A 308201C3 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33393334 35353937 3230301E 170D3032 30333133 30373538
31345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 39333435
35393732 3030819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100B372 8D840BB4 1B137911 06B51B7B 9C4F48EC D2806E86 83F62DA4 EF282EEC
D582F512 8EF6366C CDB93107 6F080F47 59225063 2E17042F FA3C2DE2 C58DD273
246A80E9 B8EF5A18 61B6FEF7 2977A96A 296B1665 18552484 DCE75505 354CC35D
71733C5B C3D22CA2 7C5616E8 2126E8EE E14667E7 49E9CA7A 83522B71 7F021A12
05C50203 010001A3 8181307F 300F0603 551D1301 01FF0405 30030101 FF302C06
03551D11 04253023 82217369 735F6B69 6E646572 776F726C 642E6475 796E686F
2E64796E 646E732E 636F6D30 1F060355 1D230418 30168014 22915390 BAC075E7
7BE68CD2 B62A4DA8 42F4A9A5 301D0603 551D0E04 16041422 915390BA C075E77B
E68CD2B6 2A4DA842 F4A9A530 0D06092A 864886F7 0D010104 05000381 810036C9
30AFB405 D005CA61 964B72A1 D757B5FB 9FB99D49 CF801F49 C07DCCA5 B791B22B
067C61DA 7BD9E067 47C5B60B DD52C1A0 B41365B0 0118598E 9E654268 4FD7C016
DE317DDF A911323B 225F9912 77C18AD9 16D8C99B 980ADDDE 69CB8AED C06E3862
415F8CDA 22A1B144 BFCC08D3 D6F6A055 E9CACC8C ED58F501 75F385FB 6C1F
quit
dot11 syslog
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.3.1 192.168.3.9
ip dhcp excluded-address 192.168.3.101 192.168.3.254
!
ip dhcp pool sdm-pool
import all
network 192.168.3.0 255.255.255.0
dns-server 221.133.0.1 221.133.0.2
default-router 192.168.3.1
lease infinite
!
!
ip domain name test.dyndns.com
ip name-server 221.133.0.1
ip ddns update method sdm-ddns1
HTTP
add http://testdyndns:123456@members.dyn...esystem=dyndns
&hostname=test.dyndns.org&myip=
interval maximum 0 1 0 0
!
!
!
!
username company privilege 15 secret 5 $1$MvEE$a2VS5u2IJkFthOdjWhCVg.
!
!
archive
log config
hidekeys
!
!
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
pvc 0/33
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
ip ddns update hostname test.dyndns.org
ip ddns update sdm-ddns1 host members.dyndns.org
ip address 192.168.3.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1412
!
interface Dialer0
ip ddns update hostname test.dyndns.org
ip ddns update sdm-ddns1 host members.dyndns.org
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap pap callin
ppp chap hostname s_company
ppp chap password 0 123456
ppp pap sent-username s_company password 0 123456
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source list 1 interface Dialer0 overload
i
access-list 1 permit 192.168.3.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
!
!
control-plane
!
banner login ^C
-----------------------------------------------------------------------
Cisco Router and Security Device Manager (SDM) is installed on this device.
This feature requires the one-time use of the username "cisco"
with the password "cisco". The default username and password have a privilege le
vel of 15.
Please change these publicly known initial credentials using SDM or the IOS CLI.
Here are the Cisco IOS commands.
username <myuser> privilege 15 secret 0 <mypassword>
no username cisco
Replace <myuser> and <mypassword> with the username and password you want to use
.
For more information about SDM please follow the instructions in the QUICK START
GUIDE for your router or go to http://www.cisco.com/go/sdm
-----------------------------------------------------------------------
^C
!
line con 0
login local
no modem enable
line aux 0
line vty 0 3
privilege level 15
login local
transport input telnet ssh
line vty 4
privilege level 15
password xxx
login
transport input telnet ssh
!
scheduler max-task-time 5000
end
Comment