Page 1 of 2 12 LastLast
Results 1 to 10 of 19

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

  1. #1

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

    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
    Code:
    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#
    Last edited by convoi; 06-01-2010 at 08:13 PM.
    Đặ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. #2

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

    Chào anh! Em không hiểu vấn đề cấu hình ADSL tai sao lai liên quan đến ATM.

  3. #3
    Join Date
    Jun 2004
    Location
    HO CHI MINH city
    Posts
    41

    Default

    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

  4. #4

    Default

    Quote Originally Posted by ntemt
    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.

  5. #5
    Join Date
    Oct 2005
    Location
    Cisco Bootcamp
    Posts
    166

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

    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)
    To be number 1 !!!

  6. #6

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

    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#
    Đặ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

  7. #7

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

    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
    Đặ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

  8. #8

    Default

    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

  9. #9

    Default

    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

  10. #10

    Default

    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
    What is LOVE ?

Page 1 of 2 12 LastLast

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