PDA

View Full Version : Câu hỏi trong cấu hình router cisco2600 kết nối ADSL với VDC



idecaf
04-03-2005, 12:27 PM
Mình đang cầu hình router cisco 2600 kết nối ADSL với vdc, khi mình show int tất cả đều up,nhưng chưa truy cập được internet.Các bạn biết chỉ giúp. Đây là thông tin show interface

Router#sh int
ATM0/0 is up, line protocol is up
Hardware is DSLSAR (with Alcatel ADSL Module)
MTU 4470 bytes, sub MTU 4470, BW 640 Kbit, DLY 800 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ATM, loopback not set
Encapsulation(s): AAL5 AAL2, PVC mode
23 maximum active VCs, 256 VCs per VP, 1 current VCCs
VC Auto Creation Disabled.
VC idle disconnect time: 300 seconds
Last input never, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/224/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: Per VC Queueing
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 1 packets/sec
3880 packets input, 47530 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
4850 packets output, 127070 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is 0004.4d85.3e20 (bia 0004.4d85.3e20)
Internet address is 10.170.0.251/16
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 2/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:03, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/499/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 92000 bits/sec, 133 packets/sec
5 minute output rate 0 bits/sec, 2 packets/sec
832280 packets input, 72352658 bytes, 0 no buffer
Received 48428 broadcasts, 0 runts, 0 giants, 0 throttles
458 input errors, 0 CRC, 0 frame, 0 overrun, 458 ignored
0 input packets with dribble condition detected
1083 packets output, 101773 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 4 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Virtual-Access1 is up, line protocol is up
Hardware is Virtual Access interface
MTU 1500 bytes, BW 100000 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Closed
Base PPPoATM vaccess
Vaccess status 0x40, loopback not set
DTR is pulsed for 5 seconds on reset
Last input never, output never, output hang never
Last clearing of "show interface" counters 01:41:43
Input queue: 0/4096/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions :!:
Virtual-Access2 is up, line protocol is down
Hardware is Virtual Access interface
MTU 1492 bytes, BW 56 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP TERMsent
PPPoATM vaccess, cloned from Dialer1
Vaccess status 0x44
Bound to ATM0/0 VCD: 1, VPI: 8, VCI: 35, loopback not set
DTR is pulsed for 5 seconds on reset
Interface is bound to Di1 (Encapsulation PPP)
Last input 00:00:01, output never, output hang never
Last clearing of "show interface" counters 01:40:30
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
3884 packets input, 47579 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
4855 packets output, 107781 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
Dialer1 is up, line protocol is up (spoofing)
Hardware is Unknown
Internet address will be negotiated using IPCP
MTU 1492 bytes, BW 56 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
DTR is pulsed for 1 seconds on reset
Interface is bound to Vi2
Last input never, output never, output hang never
Last clearing of "show interface" counters 01:41:45
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/16 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 42 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes
0 packets output, 0 bytes
Bound to:
Virtual-Access2 is up, line protocol is down
Hardware is Virtual Access interface
MTU 1492 bytes, BW 56 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Listen
PPPoATM vaccess, cloned from Dialer1
Vaccess status 0x44
Bound to ATM0/0 VCD: 1, VPI: 8, VCI: 35, loopback not set
DTR is pulsed for 5 seconds on reset
Interface is bound to Di1 (Encapsulation PPP)
Last input 00:00:02, output never, output hang never
Last clearing of "show interface" counters 01:40:31
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
3884 packets input, 47579 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
4855 packets output, 107781 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
Router#

changchancuucodon
04-03-2005, 12:34 PM
show run

và cho tôi xem toàn bộ cấu hình.

Cám ơn

idecaf
04-03-2005, 01:38 PM
Đây là cấu hình show run, mong các bạn giúp mình giải quyết sự cố này

Router#sh run
Building configuration...

Current configuration : 1014 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname RVlong
!
boot-start-marker
boot-end-marker
!
enable password hdfiedfnsdjijdf
!
no aaa new-model
ip subnet-zero
!
!
!
!
no ftp-server write-enable
!
!
!
!
interface ATM0/0
no ip address
no atm ilmi-keepalive
pvc ATM0/0.1 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
hold-queue 224 in
!
interface Ethernet0/0
ip address 192.168.0.150 255.255.255.0
ip nat inside
half-duplex
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp pap sent-username ewffsade password 0 kfndouensdflksadjfoe
!
ip nat inside source list 101 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
!
access-list 101 permit ip any any
!
control-plane
!
!
line con 0
line 33 48
line aux 0
line vty 0 4
password asdflkasklfjewsdf
login
!
!
!
end

Router#

admin
04-03-2005, 03:45 PM
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname ADSL_Router
!
boot-start-marker
boot-end-marker
!
logging buffered 52000 debugging
enable secret 5 $1$KLx5$HthqfjUQKQ.HIgw38ImuB.
!
username vnpro privilege 0 password 7 vnpro
! Chu y thay the username va pass cua IDECAF
aaa new-model
!
!
aaa authentication login default local none
aaa authentication login vty-access local
aaa authentication login console-access local
aaa session-id common
ip subnet-zero
no ip source-route
no ip domain lookup
ip domain name 203.162.0.11
!
!
ip audit po max-events 100
no ftp-server write-enable
!
!
!
!
no crypto isakmp enable
!
!
!
interface Ethernet0
description $ETH-WAN$
ip address 192.168.101.1 255.255.252.0
no ip proxy-arp
ip nat inside
ip tcp adjust-mss 1452
no cdp enable
hold-queue 100 out
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
pvc 1/32
ubr 77
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface ATM0.2 point-to-point
pvc 8/35
pppoe-client dial-pool-number 2
!
!
interface Dialer0
ip address negotiated
ip mtu 1452
encapsulation ppp
no cdp enable
!
interface Dialer1
ip address negotiated
ip mtu 1452
ip nat outside
encapsulation ppp
dialer pool 2
dialer-group 2
no cdp enable
ppp authentication chap pap callin
ppp chap hostname xxxxxxxxxxxxxxxxx
ppp chap password 7 xxxxxxxxxxxxxxxxxxxx
ppp pap sent-username xxxxxxxxxx password 7 xxxxxxxxx
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
no ip http secure-server
ip nat inside source list 101 interface Dialer1 overload
!
!
logging source-interface ATM0.1
access-list 1 remark HCMPT NOC access
access-list 101 permit ip any any
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
no cdp run
!
control-plane
!
!
line con 0
logging synchronous
login authentication console-access
no modem enable
history size 256
transport preferred all
transport output all
stopbits 1
line aux 0
transport preferred all
transport output all
line vty 0 4
exec-timeout 30 0
logging synchronous
login authentication exit
history size 256
transport preferred none
transport input telnet
transport output none
!
scheduler max-task-time 5000
!
end

herry
11-04-2005, 09:38 PM
hi
Đây là bảng config mẫu bạn cứ thao khảm.Của admin quá dài có nhiều lệnh không cần thiết làm bạn khó hiểu hơn

viet#sh run

interface Ethernet0
ip address 192.168.100.1 255.255.255.0
no ip proxy-arp
ip nat inside
no cdp enable
hold-queue 100 out
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc ATM0.1 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
bundle-enable
bundle enable
!
dsl operating-mode auto
!
interface Dialer0
bandwidth 1024
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp pap sent-username xxxxx-adsl password 0 xxxxxx
!
ip nat inside source list 1 interface Dialer0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
!
!
access-list 1 permit 192.168.100.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
line con 0
password viet
login
stopbits 1
line vty 0 4
password viet
login
!
scheduler max-task-time 5000
end

Chúc bạn thành công

baprang
12-04-2005, 10:34 AM
thks you admin and herry !!!