Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

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

  1. #11

    Default

    Đ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
    Đặng Quang Minh, CCIE#11897 CCSI#31417

    Email : dangquangminh@vnpro.org

    -----------------------------------------------------------------------------------------------
    Trung Tâm Tin Học VnPro
    149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
    Tel : (08) 35124257 (5 lines)
    Fax: (08) 35124314

    Home page: http://www.vnpro.vn
    Support Forum: http://www.vnpro.org
    - Chuyên đào tạo quản trị mạng và hạ tầng Internet
    - Phát hành sách chuyên môn
    - Tư vấn và tuyển dụng nhân sự IT
    - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

    Network channel: http://www.dancisco.com
    Blog: http://www.vnpro.org/blog

  2. #12

    Default

    Quote Originally Posted by dangquangminh View Post
    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ả ?

  3. #13

    Default

    Router đang dùng là router gì? Đang gắn modem vào cổng Ethernet phải không?
    Đặng Quang Minh, CCIE#11897 CCSI#31417

    Email : dangquangminh@vnpro.org

    -----------------------------------------------------------------------------------------------
    Trung Tâm Tin Học VnPro
    149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
    Tel : (08) 35124257 (5 lines)
    Fax: (08) 35124314

    Home page: http://www.vnpro.vn
    Support Forum: http://www.vnpro.org
    - Chuyên đào tạo quản trị mạng và hạ tầng Internet
    - Phát hành sách chuyên môn
    - Tư vấn và tuyển dụng nhân sự IT
    - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

    Network channel: http://www.dancisco.com
    Blog: http://www.vnpro.org/blog

  4. #14

    Default

    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.

  5. #15

    Default

    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
    Đặng Quang Minh, CCIE#11897 CCSI#31417

    Email : dangquangminh@vnpro.org

    -----------------------------------------------------------------------------------------------
    Trung Tâm Tin Học VnPro
    149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
    Tel : (08) 35124257 (5 lines)
    Fax: (08) 35124314

    Home page: http://www.vnpro.vn
    Support Forum: http://www.vnpro.org
    - Chuyên đào tạo quản trị mạng và hạ tầng Internet
    - Phát hành sách chuyên môn
    - Tư vấn và tuyển dụng nhân sự IT
    - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

    Network channel: http://www.dancisco.com
    Blog: http://www.vnpro.org/blog

  6. #16

    Default

    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?
    Last edited by soibien; 28-02-2009 at 04:30 PM.

  7. #17

    Default

    Hay quá
    Toàn là pro
    tui ko có thiết bị
    Coi ko hỉu j

  8. #18

    Default

    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.

  9. #19

    Default

    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?
    Đặng Quang Minh, CCIE#11897 CCSI#31417

    Email : dangquangminh@vnpro.org

    -----------------------------------------------------------------------------------------------
    Trung Tâm Tin Học VnPro
    149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
    Tel : (08) 35124257 (5 lines)
    Fax: (08) 35124314

    Home page: http://www.vnpro.vn
    Support Forum: http://www.vnpro.org
    - Chuyên đào tạo quản trị mạng và hạ tầng Internet
    - Phát hành sách chuyên môn
    - Tư vấn và tuyển dụng nhân sự IT
    - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

    Network channel: http://www.dancisco.com
    Blog: http://www.vnpro.org/blog

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Nghệ thuật NAT
    By tranmyphuc in forum Microsoft
    Replies: 13
    Last Post: 06-05-2011, 09:22 PM
  2. 1 câu hỏi ngớ ngẩn về routing :P
    By Mr.Metal in forum Software
    Replies: 8
    Last Post: 07-06-2010, 04:12 PM
  3. Tips for CCIE Candidate
    By binhhd in forum CCIE Routing & Switching
    Replies: 10
    Last Post: 22-04-2009, 02:01 PM
  4. Replies: 2
    Last Post: 28-08-2008, 09:53 AM
  5. ADSL over DLC (Digital Loop Carrier)
    By quoc_anh in forum WAN & Remote Access
    Replies: 2
    Last Post: 23-08-2003, 03:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 
   TRUNG TÂM TIN HỌC VNPRO
149/1D Ung Văn Khiêm, P. 25, Q.Bình Thạnh
Phone:(08) 35124257
Fax: (08) 35124314
Email: vnpro@vnpro.org
Powered by vBulletin Version 4.2.1
Copyright 2000 - 2011, Jelsoft Enterprises Ltd.
License owned by : VietProfessional Co.,Ltd
 

Ve may bay |Ve may bay gia re |Ve may bay di Ha Noi |Ve may bay di Nha Trang |Ve may bay di Da Nang |Ve may bay di Da Lat |Ve may bay di Vinh |Ve may bay di Hue |Ve may bay di Con Dao |Ve may bay di TP HCM |Air Asia |Tiger Airways |Vietnam Airlines |Lion Air |Aeroflot |Jetstar |Vietjet Air |Asiana |Delta Airlines |Singapore Airlines |Thai Airways |quantas |Turkish Airlines |China Southern Airlines |Air China |Ve may bay gia re |Ve may bay di Anh |Ve may bay di Canada |Ve may bay di Ha Lan |Ve may bay di Han Quoc |Ve may bay di Hong Kong |Ve may bay di Y |Ve may bay di Italia |Ve may bay di Malaysia |Ve may bay di Nga |Ve may bay di Phap |Ve may bay di Philippines |Ve may bay di Singapore |Ve may bay di Thai Lan |Ve may bay di Trung Quoc |Ve may bay di Uc |Ve may bay di Ukraina |Ve may bay di Duc |Ve may bay di My |Ve may bay di My