PDA

View Full Version : Cấu hình ADSL trên Cisco 2600 dùng card ADSL WIC-



dangquangminh
06-01-2004, 10:42 PM
Xin chào,

Cấu hình ADSL cho Cisco 2620 dùng card WAN-ADSL cho mạng ADSL tại Việt Nam. Cấu hình dưới đây là một working configs.

Trong cấu hình này, chú ý cách dùng load-balancing trên leased-line và đường ADSL dùng policy-routing. Ngoài ra, chú ý cách gán MAC address của FE cho interface ATM. Cool tips!

Các bạn có thể tham khảo cấu hình này khi triển khai mạng ADSL tại Việt Nam.

Chúc các bạn thành công,
Minh

logging buffered 4096 debugging
enable secret 5 $1$7Nax$CUzFyEsXdb
!
username thuan privilege 15 password 7 083141
clock timezone GMT 7
ip subnet-zero
!
!
!
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
!
mta receive maximum-recipients 0
!
!
!
!
interface ATM0/0
mac-address 000d.65f9.d1f0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
!
interface ATM0/0.1 point-to-point
pvc 0/33
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0/0
ip address 210.245.47.3 255.255.255.248
ip nat inside
ip tcp adjust-mss 1452
ip policy route-map balance
duplex auto
speed auto
!
interface Serial0/0
bandwidth 256
ip address 203.210.184.250 255.255.255.252
!
interface FastEthernet0/1
ip address 192.168.11.5 255.255.255.0
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clockrate 2000000
!
interface Virtual-Template1
no ip address
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
no fair-queue
ppp authentication pap callin
ppp pap sent-username asp0105 password 0 pmh0105
!
ip nat inside source list 102 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0
ip route 210.245.47.0 255.255.255.248 210.245.47.4
ip http server
!
!
access-list 101 permit ip host 210.245.47.1 any
access-list 101 permit ip host 210.245.47.2 any
access-list 102 permit ip host 210.245.47.6 any
!
route-map balance permit 10
match ip address 101
set ip next-hop 203.210.184.249
!
route-map balance permit 20
match ip address 102
set interface Dialer1
!
!
call rsvp-sync
!
!
mgcp profile default
!
!
!
dial-peer cor custom
!
!
!
!
line con 0
line 65 72
flush-at-activation
line aux 0
line vty 0 4
password 7 03145603575D72
login
!
end

R3745_FL13#

blackman
04-06-2005, 11:57 AM
Chào anh! Em không hiểu vấn đề cấu hình ADSL tai sao lai liên quan đến ATM.

ntemt
07-06-2005, 01:11 PM
Vì do tính chất của ADSL thôi mà. Nó sử dụng ATM làm môi trường truyền dẫn từ DSLAM đến ISP

blackman
18-06-2005, 12:14 PM
Vì do tính chất của ADSL thôi mà. Nó sử dụng ATM làm môi trường truyền dẫn từ DSLAM đến ISP

Chào Tâm! Vậy em có biết hiện nay ở VIỆT NAM ISP nào không sử dụng ATM cho kết nối DSLAM tới ISP ko. Và Vpc sao lại là 0/33





-----------------------------
Không cần biết em là ai
Ta yeu em chua bao gio nguoi lanh
Yeu em vi chi biet do la em.

luumanh_lichsu
18-06-2005, 04:50 PM
ATM thường được dùng từ tổng đài DSLAM đến ISP vì dễ dàng triễn khai QOS (dv mới đây của VNN cam kết tốc độ Maxium va Minimum trên ADSL từ 1/7/2005)

dangquangminh
13-08-2005, 06:05 PM
dưới đây là cấu hình PPPoE server dùng Cisco router:

sh run
Building configuration...

Current configuration : 1202 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname RAS
!
no logging buffered
logging rate-limit console 10 except errors
!
username vnpro password 0 vnpro
username Client password 0 cisco
!
ip cef
vpdn enable
no vpdn logging
!
vpdn-group 1
accept-dialin
protocol pppoe
virtual-template 1
!
interface Loopback0
ip address 10.0.0.1 255.255.255.0
!
interface Ethernet0/0
no ip address
half-duplex
pppoe enable
!
interface Virtual-Template1
ip unnumbered Loopback0
ip mtu 1492
no ip route-cache cef
peer default ip address pool dsl
ppp authentication chap
!
ip local pool dsl 10.0.0.2 10.0.0.10
ip kerberos source-interface any
ip classless
no ip http server
!
!
snmp-server packetsize 4096
snmp-server manager
!

end

RAS#sh ip route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.0.0.2/32 is directly connected, Virtual-Access1
C 10.0.0.0/24 is directly connected, Loopback0
RAS#

dangquangminh
13-08-2005, 06:11 PM
Cấu hình router 2600 với card WIC-1T-ADSL chế độ PPPoE client:



Client#show run
!
hostname Client
!
ip subnet-zero
!
no ip domain lookup
!
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
interface ATM0/0
mac-address 0005.5e96.2cc0
no ip address
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5snap
pppoe-client dial-pool-number 1
!
dsl operating-mode auto
no fair-queue
!
interface ATM0/0.1 point-to-point
!
interface Ethernet0/0
ip address 11.0.0.1 255.0.0.0
no keepalive
half-duplex
!
interface Dialer1
mtu 1492
ip address negotiated
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap callin
ppp chap hostname Client
ppp chap password 0 cisco
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
!
!
dialer-list 1 protocol ip permit
end

Client#show int dsl atm 0/0
Alcatel 20150 chipset information
ATU-R (DS) ATU-C (US)
Modem Status: Showtime (DMTDSL_SHOWTIME)
DSL Mode: ITU G.992.1 (G.DMT)
ITU STD NUM: 0x01 0x1
Vendor ID: 'ALCB' 'GSPN'
Vendor Specific: 0x0000 0x0004
Vendor Country: 0x00 0x00
Capacity Used: 83% 107%
Noise Margin: 11.5 dB 7.0 dB
Output Power: 8.0 dBm 10.0 dBm
Attenuation: 0.0 dB 4.0 dB
Defect Status: None None
Last Fail Code: Error in early non-CRC message or in first CRC-covered message
Selftest Result: 0x00
Subfunction: 0x15
Interrupts: 2671 (0 spurious)
PHY Access Err: 0
Activations: 3
SW Version: 3.8129
FW Version: 0x1A04

Interleave Fast Interleave Fast
Speed (kbps): 8064 0 800 0
Reed-Solomon EC: 5 0 134 0
CRC Errors: 2 0 1 0
Header Errors: 2 0 0 0
Bit Errors: 0 0
BER Valid sec: 0 0
BER Invalid sec: 0 0

DMT Bits Per Bin
00: 0 0 0 0 0 0 0 8 8 8 9 A B B C C
10: C C C C C C B B A A A 9 9 9 0 0
20: 0 0 0 0 0 0 6 7 7 8 8 8 9 9 9 A
30: A A A A A A B B B B B B B B B B
40: 0 B B B B B B B B B B B B B B B
50: B B B B B B B B B B B B 2 B B B
60: B B B B B B B B B B B B B B B B
70: B B B B B B B B B B B B B B B B
80: B B B B B B B B B B B B B B B B
90: B B B B B B B B B B B B B B B B
A0: B B B B B B B B B B B B B B B B
B0: B B B B B B B B B B B B B B B B
C0: B B B B B B B B B B B B B B A A
D0: A A A A A A A A A A A A A A A A
E0: A A A A A A A A A A 9 9 9 8 8 7
F0: 6 6 5 4 3 0 0 0 0 0 0 0 0 0 0 0

DSL: Training log buffer capability is not enabled


Client#show int atm 0/0
ATM0/0 is up, line protocol is up
Hardware is DSLSAR (with Alcatel ADSL Module)
MTU 4470 bytes, sub MTU 4470, BW 800 Kbit, DLY 2560 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 idle disconnect time: 300 seconds
Last input 00:00:01, output 00:00:03, output hang never
Last clearing of "show interface" counters never
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 1000 bits/sec, 1 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
968 packets input, 346594 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
134 packets output, 10992 bytes, 0 underruns
0 output errors, 0 collisions, 9 interface resets
0 output buffer failures, 0 output buffers swapped out



Client#show ip int brief
Interface IP-Address OK? Method Status Protocol
ATM0/0 unassigned YES unset up up
ATM0/0.1 unassigned YES unset up up
Ethernet0/0 11.0.0.1 YES manual up up
Serial0/0 unassigned YES unset administratively down down
Virtual-Access1 unassigned YES unset up up
Dialer1 10.0.0.2 YES BOOTP up up
Client#ping 10.0.0.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/42/44 ms
Client#ping 10.0.0.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/42/44 ms

hanoinoi
13-11-2005, 09:43 AM
các bạn ơi, mình muốn cấu hình VPN trên Wic-1ADSL cho Router 1760, nhưng em không biết IOS nào hỗ trợ hai tính năng trên, đã ai cấu hình như thế chưa, cho mình xin IOS của nó nhé, Thanhks

trannam
21-09-2006, 09:19 AM
cho em hỏi mô hình của bài lab này là thế nào? Có cần phải có thiêt bị gì để làm DSLAM ko? Hay là PPPoE Client nối trực tiếp vào PPPoE Server? Nếu vậy thì cắm dây thế nào?

Nếu như router của em ko có Wic-ADSL, em phải chuyển modem ADSL thành mode nào để có thể config PPPoE Client trên router?

Thanks

dhc_fox
27-10-2008, 01:51 PM
Nhờ các bạn xem giúp : mình đang cấu hình C2650M, wic adsl - alcatel như bên dưới nhưng không chạy được.
ATM0/0, ATM0/0.1 báo như bên dưới.

Cảm ơn,
.................................................. ..
C2650M#sh run
Building configuration...

Current configuration : 1497 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname C2650M
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$/IMn$LPLJLAsZ/3KRqJ2rUTQpB.
!
!
resource policy
!
no aaa new-model
memory-size iomem 15
no network-clock-participate slot 1
no network-clock-participate wic 0
ip subnet-zero
!
!
no ip dhcp use vrf connected
!
ip dhcp pool DHCP
network 192.168.2.0 255.255.255.0
dns-server 203.162.0.181
default-router 192.168.2.1
!
!
ip cef
vpdn enable
!
!
!
!
password encryption aes
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
bba-group pppoe global
!
!
interface ATM0/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0/0.1 point-to-point
pvc 0/33
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0/0
description LAN
ip address 192.168.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
no fair-queue
ppp chap hostname Dsl-inf2
ppp chap password 7 014254570F5E50
ppp pap sent-username congdh password 7 11584B5643475D
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
password 7 011A12095A05
login
!
!
end

C2650M#


dsl operating-mode auto
pvc 0/33
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0/0
description LAN
ip address 192.168.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp chap hostname Dsl-inf2
ppp chap password 0 123456
ppp pap sent-username Dsl-inf2 password 0 123456
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
password itman
login
!
!
end

C2650M#

.....................................


ATM0/0 is initializing, line protocol is down
Hardware is DSLSAR (with Alcatel ADSL Module)
MTU 4470 bytes, sub MTU 4470, BW 512 Kbit, DLY 1000 usec,
reliability 0/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, 0 current VCCs
VC Auto Creation Disabled.
VC idle disconnect time: 300 seconds
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/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, 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
ATM0/0.1 is initializing, line protocol is down
Hardware is DSLSAR (with Alcatel ADSL Module)
MTU 4470 bytes, BW 512 Kbit, DLY 1000 usec,
reliability 0/255, txload 1/255, rxload 1/255
Encapsulation ATM
0 packets input, 0 bytes
0 packets output, 0 bytes
0 OAM cells input, 0 OAM cells output
AAL5 CRC errors : 0
AAL5 SAR Timeouts : 0
AAL5 Oversized SDUs : 0
Last clearing of "show interface" counters never

dangquangminh
27-10-2008, 10:03 PM
Đoạn này bị sai nè:

ppp chap hostname Dsl-inf2
ppp chap password 0 123456
ppp pap sent-username Dsl-inf2 password 0 123456

soibien
28-02-2009, 12:39 PM
Cấu hình router 2600 với card WIC-1T-ADSL chế độ PPPoE client:



Client#show run
!
hostname Client
!
ip subnet-zero
!
no ip domain lookup
!
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
interface ATM0/0
mac-address 0005.5e96.2cc0
no ip address
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5snap
pppoe-client dial-pool-number 1
!
dsl operating-mode auto
no fair-queue
!
interface ATM0/0.1 point-to-point
!
interface Ethernet0/0
ip address 11.0.0.1 255.0.0.0
no keepalive
half-duplex
!
interface Dialer1
mtu 1492
ip address negotiated
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap callin
ppp chap hostname Client
ppp chap password 0 cisco
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
!
!
dialer-list 1 protocol ip permit
end

Client#show int dsl atm 0/0
Alcatel 20150 chipset information
ATU-R (DS) ATU-C (US)
Modem Status: Showtime (DMTDSL_SHOWTIME)
DSL Mode: ITU G.992.1 (G.DMT)
ITU STD NUM: 0x01 0x1
Vendor ID: 'ALCB' 'GSPN'
Vendor Specific: 0x0000 0x0004
Vendor Country: 0x00 0x00
Capacity Used: 83% 107%
Noise Margin: 11.5 dB 7.0 dB
Output Power: 8.0 dBm 10.0 dBm
Attenuation: 0.0 dB 4.0 dB
Defect Status: None None
Last Fail Code: Error in early non-CRC message or in first CRC-covered message
Selftest Result: 0x00
Subfunction: 0x15
Interrupts: 2671 (0 spurious)
PHY Access Err: 0
Activations: 3
SW Version: 3.8129
FW Version: 0x1A04

Interleave Fast Interleave Fast
Speed (kbps): 8064 0 800 0
Reed-Solomon EC: 5 0 134 0
CRC Errors: 2 0 1 0
Header Errors: 2 0 0 0
Bit Errors: 0 0
BER Valid sec: 0 0
BER Invalid sec: 0 0

DMT Bits Per Bin
00: 0 0 0 0 0 0 0 8 8 8 9 A B B C C
10: C C C C C C B B A A A 9 9 9 0 0
20: 0 0 0 0 0 0 6 7 7 8 8 8 9 9 9 A
30: A A A A A A B B B B B B B B B B
40: 0 B B B B B B B B B B B B B B B
50: B B B B B B B B B B B B 2 B B B
60: B B B B B B B B B B B B B B B B
70: B B B B B B B B B B B B B B B B
80: B B B B B B B B B B B B B B B B
90: B B B B B B B B B B B B B B B B
A0: B B B B B B B B B B B B B B B B
B0: B B B B B B B B B B B B B B B B
C0: B B B B B B B B B B B B B B A A
D0: A A A A A A A A A A A A A A A A
E0: A A A A A A A A A A 9 9 9 8 8 7
F0: 6 6 5 4 3 0 0 0 0 0 0 0 0 0 0 0

DSL: Training log buffer capability is not enabled


Client#show int atm 0/0
ATM0/0 is up, line protocol is up
Hardware is DSLSAR (with Alcatel ADSL Module)
MTU 4470 bytes, sub MTU 4470, BW 800 Kbit, DLY 2560 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 idle disconnect time: 300 seconds
Last input 00:00:01, output 00:00:03, output hang never
Last clearing of "show interface" counters never
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 1000 bits/sec, 1 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
968 packets input, 346594 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
134 packets output, 10992 bytes, 0 underruns
0 output errors, 0 collisions, 9 interface resets
0 output buffer failures, 0 output buffers swapped out



Client#show ip int brief
Interface IP-Address OK? Method Status Protocol
ATM0/0 unassigned YES unset up up
ATM0/0.1 unassigned YES unset up up
Ethernet0/0 11.0.0.1 YES manual up up
Serial0/0 unassigned YES unset administratively down down
Virtual-Access1 unassigned YES unset up up
Dialer1 10.0.0.2 YES BOOTP up up
Client#ping 10.0.0.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/42/44 ms
Client#ping 10.0.0.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/42/44 ms

Dear Mr. Minh,

Mình làm theo bài này thì khi tới lệnh int ATM, nó báo lỗi, vậy con router của mình ko support ADSL hả ?

dangquangminh
28-02-2009, 01:44 PM
Router đang dùng là router gì? Đang gắn modem vào cổng Ethernet phải không?

soibien
28-02-2009, 04:13 PM
mình đang dùng router 1800, đúng vậy, modem gắn vào cổng f0/1 của router, còn cổng f0/0 gắn vào Lan.

dangquangminh
28-02-2009, 04:39 PM
Client#sh run
Building configuration...

Current configuration : 1596 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Client
!
!
ip subnet-zero
!
!
!
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
!
!
interface FastEthernet0/0
ip address 10.10.10.10 255.255.255.0
ip nat inside
!
interface Loopback1
no ip address
!
interface FastEthernet0/1
no ip address
half-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
!
interface Dialer1
mtu 1492
ip address negotiate
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
!
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 203.106.10.1
ip http server
!
!
access-list 1 permit 10.10.10.0 0.0.0.255
dialer-list 1 protocol ip permit
!
!
!
end

soibien
28-02-2009, 05:01 PM
Minh cho hỏi config trên có thiếu những lệnh cung cấp user/password,pvc không ? Modem cấu hình là bridge thôi.

OK, sau khi them pap sent-username

day la config


R1800#sh run
Building configuration...

Current configuration : 3419 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1800
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$7/z8$QYdn3sqKa/4UKZi/2jfiK/
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
no ip routing
no ip cef
!
!
no ip dhcp use vrf connected
!
!
vpdn enable
vpdn ip udp ignore checksum
!
vpdn-group 1
request-dialin
protocol pppoe
!
!
!
!
!
!
!
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-3394622201
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3394622201
revocation-check none
rsakeypair TP-self-signed-3394622201
!
!
crypto pki certificate chain TP-self-signed-3394622201
certificate self-signed 01
3082023E 308201A7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33333934 36323232 3031301E 170D3039 30323238 30373037
30325A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 33393436
32323230 3130819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100A3BC E9CB1010 D677E1A3 190D1E2D 22308759 0BC5010F F24D0707 6A82E7AF
734C57D4 C74D9E6A 24BEDE52 A7B66E8C 4EB821BA F25EA757 E536E58E 9213EE2E
5A9216BF F03C7BF3 3CD3E67F A024C8CF D8E9BAC1 A1914EC5 08EEC71A 2AF001C1
750986F5 837BD4DE 8FCD54FC D58EC962 A434DC5F D309DAE8 1E43C347 6A3BF107
D11D0203 010001A3 66306430 0F060355 1D130101 FF040530 030101FF 30110603
551D1104 0A300882 06523138 30302E30 1F060355 1D230418 30168014 65DB1FD3
3026CCAB 672D20EB 3BD49859 078D820F 301D0603 551D0E04 16041465 DB1FD330
26CCAB67 2D20EB3B D4985907 8D820F30 0D06092A 864886F7 0D010104 05000381
81004131 995799D6 3176FACD 55A55457 8EB5CAE1 6B80FB52 D7EE7D68 40C29353
67372F57 E778520F 8CE4AED7 BD1C8E07 58203DF7 8234F313 8ECD3A8A 222EB956
09F4A208 02DA2C83 E0CF6F8E DC220B4B DDA650F0 9968B50F CE0E0561 92B196F7
21CD91EC 11D6511D BD599AE8 6291EE07 02B0FA9B 245CC431 C3B3D857 3CF96222 912A
quit
username cisco privilege 15 password 0 123456
!
!
!
!
interface Loopback1
no ip address
!
interface FastEthernet0/0
ip address 192.168.50.2 255.255.255.0
ip nat inside
no ip route-cache
speed auto
half-duplex
no mop enabled
!
interface FastEthernet0/1
no ip address
no ip route-cache
speed auto
half-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
interface Serial0/0/0
no ip address
no ip route-cache
shutdown
no fair-queue
clockrate 2000000
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap callin
ppp chap hostname bowkerhungfungvn
ppp pap sent-username bowkerhungfungvn password 0 nh3768233
!
ip classless
ip route 0.0.0.0 0.0.0.0 123.22.96.1
!
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 600 life 86400 requests 10000
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit 192.168.50.0 0.0.0.255
dialer-list 1 protocol ip permit
snmp-server community public RO
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
privilege level 15
password 123456
login local
transport input telnet ssh
!
end


thì show thấy



Interface IP-Address OK? Method Status Prot
ocol
FastEthernet0/0 192.168.50.2 YES NVRAM up up

FastEthernet0/1 unassigned YES NVRAM up up

Serial0/0/0 unassigned YES NVRAM administratively down down

NVI0 unassigned YES unset up up

Virtual-Access1 unassigned YES unset up up

Dialer1 203.210.225.4 YES IPCP up up

Loopback1 unassigned YES NVRAM up up


nhưng trong Lan ko ra ngoài được, config trên còn thiếu gì ko bạn?

minh1503
02-01-2010, 07:27 PM
Hay quá
Toàn là pro
tui ko có thiết bị
Coi ko hỉu j
:D

lamvh
09-01-2010, 03:16 PM
Thầy cho em xin hỏi 1 chút . Em dùng router Cisco 2621 dùng 2 wic-adsl , 1 line VNN và 1 line Viettel . Trong hệ thống có 1 DNS server IP : 192.168.210.200 , các máy client có thể truy vấn DNS được bằng lênh "nslookup". Hiện tại trong DNS em đang forwarders : DNS của VNN và Viettel + 4.2.2.2 . Trên máy Server thì dùng web ra Internet được nhưng rất chậm , còn các máy client trong 3 VLAN thi phân giải tên miền được nhưng không dùng web ra Internet được (ping các địa chì ngoài Internet vẫn reply) .Đây là file cấu hình Router :
Building configuration...

Current configuration : 3080 bytes
!
version 12.4
service config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname RouterADSL
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip cef
!
!
no ip dhcp use vrf connected
!
ip dhcp pool VLAN10
network 192.168.210.0 255.255.255.0
default-router 192.168.210.254
dns-server 192.168.210.200
domain-name networkvoip.net
!
ip dhcp pool VLAn20
network 192.168.220.0 255.255.255.0
default-router 192.168.220.254
dns-server 192.168.210.200
domain-name networkvoip.net
!
ip dhcp pool vlan30
network 192.168.230.0 255.255.255.0
default-router 192.168.230.254
dns-server 192.168.210.200
domain-name networkvoip.net
!
!
ip domain name networkvoip.net
ip ssh time-out 60
ip ssh authentication-retries 2
vpdn enable
!
vpdn-group pppoe
!
!
!
!
!

!
!
!
!
!
interface ATM0/0
mac-address 000d.65f9.6789
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0/0
ip address 192.168.200.254 255.255.255.0
ip mtu 1452
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 10
ip address 192.168.210.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.2
encapsulation dot1Q 20
ip address 192.168.220.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.3
encapsulation dot1Q 30
ip address 192.168.230.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface ATM0/1
mac-address 000d.65f9.8888
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
pvc 8/35
pppoe-client dial-pool-number 2
!
!
interface FastEthernet0/1
ip address 192.168.9.4 255.255.255.0
ip virtual-reassembly
duplex auto
speed auto
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
no fair-queue
ppp authentication pap callin
ppp pap sent-username kimson password 0 megavnn1
!
interface Dialer2
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 2
no fair-queue
ppp authentication pap callin
ppp pap sent-username 112232@homec password 0 h5h65454
!
router rip
version 2
network 192.168.210.0
network 192.168.220.0
network 192.168.230.0
!
ip route 0.0.0.0 0.0.0.0 Dialer1

!
ip http server
no ip http secure-server
ip nat inside source list 10 interface Dialer1 overload
ip dns server
!
access-list 10 permit 192.168.210.0 0.0.0.255
access-list 10 permit 192.168.220.0 0.0.0.255
access-list 10 permit 192.168.230.0 0.0.0.255
access-list 10 permit 192.168.200.0 0.0.0.255
dialer-list 1 protocol ip permit
!
!
control-plane
!
!
!
!
line con 0
logging synchronous
line aux 0
!
!
end


Em đang dùng line VNN ra ngoài là chính chưa cấu hình load balancing , nhưng đã gặp trục trặc , mong thầy và các bạn hướng dẫn khắc phục lỗi trên , chân thành cảm ơn.

dangquangminh
09-01-2010, 05:15 PM
Router chạy chậm là do chưa cấu hình load balancing. Bạn cấu hình phan routing cho nó load balacing thì nó chạy nhanh thôi.

Biết cách cấu hình load balancing chưa?