sensitive
03-07-2005, 02:14 AM
Hi!
Hiện tại mình đang cấu hình hệ thống kết nối dialup với mô hình sau:
LAN_1 (10.218.252.0/24)-> Modem ----------> Router 2620 ----> LAN_2 (10.218.1.0/24)
Mình đã cấu hình thiết bị router (2620) như sau:
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco2620
!
logging queue-limit 100
username skhdt password 0 skhdt
username stc password 0 stc
username sgtvt password 0 sgtvt
ip subnet-zero
!
!
no ip domain lookup
ip name-server 10.218.1.1
ip name-server 203.162.0.11
!
!
!
!
!
interface Loopback0
no ip address
!
interface FastEthernet0/0
ip address 10.218.252.1 255.255.255.0 secondary
ip address 10.218.1.254 255.255.255.0
duplex auto
speed auto
no cdp enable
!
interface Serial1/0
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
autodetect encapsulation ppp
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/1
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/2
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/3
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/4
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/5
physical-layer async
description connected to Dial-i
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/6
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/7
physical-layer async
description connected to Dial-in
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Dialer1
ip unnumbered FastEthernet0/0
encapsulation ppp
dialer pool 1
dialer remote-name skhdt
dialer-group 1
peer default ip address 10.218.252.2
no cdp enable
ppp authentication ms-chap chap
!
interface Dialer2
ip unnumbered FastEthernet0/0
encapsulation ppp
dialer pool 1
dialer remote-name stc
dialer-group 1
peer default ip address 10.218.252.3
no cdp enable
ppp authentication ms-chap chap
!
interface Dialer3
ip unnumbered FastEthernet0/0
encapsulation ppp
dialer pool 1
dialer remote-name sgtvt
dialer-group 1
peer default ip address 10.218.252.4
no cdp enable
ppp authentication ms-chap chap
!
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 10.218.1.1
!
!
!
dialer-list 1 protocol ip permit
no cdp run
snmp-server community public RO
snmp-server enable traps tty
!
line con 0
line 33 40
flush-at-activation
modem InOut
modem autoconfigure type usr_sportster
transport input all
autoselect during-login
autoselect ppp
speed 57600
flowcontrol hardware
line aux 0
line vty 0 4
!
end
Hiện tại vấn đề của mình là khi một máy quay số tới được cấp ip mạng 10.218.252.0/24 nhưng ko thể ping tới máy gateway 10.218.1.1 đươc. Mọi người xem giúp trong cấu hình mình còn thiếu phần nào để cho phép routing giữa 2 lớp mạng này!
Cám ơn trước mọi sự giúp đỡ!
Hiện tại mình đang cấu hình hệ thống kết nối dialup với mô hình sau:
LAN_1 (10.218.252.0/24)-> Modem ----------> Router 2620 ----> LAN_2 (10.218.1.0/24)
Mình đã cấu hình thiết bị router (2620) như sau:
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco2620
!
logging queue-limit 100
username skhdt password 0 skhdt
username stc password 0 stc
username sgtvt password 0 sgtvt
ip subnet-zero
!
!
no ip domain lookup
ip name-server 10.218.1.1
ip name-server 203.162.0.11
!
!
!
!
!
interface Loopback0
no ip address
!
interface FastEthernet0/0
ip address 10.218.252.1 255.255.255.0 secondary
ip address 10.218.1.254 255.255.255.0
duplex auto
speed auto
no cdp enable
!
interface Serial1/0
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
autodetect encapsulation ppp
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/1
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/2
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/3
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/4
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/5
physical-layer async
description connected to Dial-i
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/6
physical-layer async
description connected to Dial-inPSs(modem)
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Serial1/7
physical-layer async
description connected to Dial-in
no ip address
encapsulation ppp
no ip mroute-cache
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no peer default ip address
no keepalive
no fair-queue
ppp authentication pap chap ms-chap
!
interface Dialer1
ip unnumbered FastEthernet0/0
encapsulation ppp
dialer pool 1
dialer remote-name skhdt
dialer-group 1
peer default ip address 10.218.252.2
no cdp enable
ppp authentication ms-chap chap
!
interface Dialer2
ip unnumbered FastEthernet0/0
encapsulation ppp
dialer pool 1
dialer remote-name stc
dialer-group 1
peer default ip address 10.218.252.3
no cdp enable
ppp authentication ms-chap chap
!
interface Dialer3
ip unnumbered FastEthernet0/0
encapsulation ppp
dialer pool 1
dialer remote-name sgtvt
dialer-group 1
peer default ip address 10.218.252.4
no cdp enable
ppp authentication ms-chap chap
!
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 10.218.1.1
!
!
!
dialer-list 1 protocol ip permit
no cdp run
snmp-server community public RO
snmp-server enable traps tty
!
line con 0
line 33 40
flush-at-activation
modem InOut
modem autoconfigure type usr_sportster
transport input all
autoselect during-login
autoselect ppp
speed 57600
flowcontrol hardware
line aux 0
line vty 0 4
!
end
Hiện tại vấn đề của mình là khi một máy quay số tới được cấp ip mạng 10.218.252.0/24 nhưng ko thể ping tới máy gateway 10.218.1.1 đươc. Mọi người xem giúp trong cấu hình mình còn thiếu phần nào để cho phép routing giữa 2 lớp mạng này!
Cám ơn trước mọi sự giúp đỡ!