• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Xin giúp đỡ - Cấu hình PPPoE trên router 2600 kết nối tới FTTH của Viettel ạ

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Xin giúp đỡ - Cấu hình PPPoE trên router 2600 kết nối tới FTTH của Viettel ạ

    Chào cả nhà ạ!

    Em muốn sử dụng router 2600 của cisco kết nối PPPoE qua đường FTTH của Viettel để thay thế cho con TP-Link quá yếu. Em có đọc vài bài hướng dẫn, và làm theo bài hướng dẫn của một Super MOD bên mình nhưng rất tiếc bài anh đó viết dành cho router 1800 nên chắc có vài điểm khác.

    Sau đây là cấu hình em đã làm

    Code:
     sh run
    Building configuration...
    Current configuration : 1357 bytes
    !
    version 12.4
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname gateway
    !
    boot-start-marker
    boot-end-marker
    !
    enable secret 5 $1$dc0o$hiPplbDg6Ys2bED4d06c.1
    !
    no aaa new-model
    no network-clock-participate slot 1 
    no network-clock-participate wic 0 
    ip cef
    !
    !
    !
    !
     --More--         ip auth-proxy max-nodata-conns 3
    ip admission max-nodata-conns 3
    !
    !
    ! 
    !
     --More--         !
    !
    !
    interface FastEthernet0/0
     mac-address f4ec.38b2.d25f
     no ip address
     no ip redirects
     ip route-cache flow
     ip tcp adjust-mss 1344
     duplex auto
     speed auto
     pppoe enable group global
     pppoe-client dial-pool-number 1 dial-on-demand
    !
    interface Serial0/0
     no ip address
     shutdown
    !
    interface FastEthernet0/1
     ip address 192.168.2.1 255.255.255.0
     ip nat inside
     ip virtual-reassembly
     duplex auto
     --More--          speed auto
    !
    interface Dialer1
     description "PPPoE Interface for Internet Access"
     ip address negotiated
     ip mtu 1492
     ip nat outside
     ip virtual-reassembly
     encapsulation ppp
     dialer pool 1
     dialer-group 1
     no cdp enable
     ppp authentication pap callin
     ppp pap sent-username h004_ftth_noitcdncnch password 0 rNDh**
    !
    ip forward-protocol nd
    ip route 0.0.0.0 0.0.0.0 Dialer1
    !
    !
    no ip http server
    no ip http secure-server
    !
    !
     --More--         !
    !
    control-plane
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    line con 0
    line aux 0
    line vty 0 4
     login
    !
    !
    end
    Tuy nhiên interface Dialer 1 không hề kết nối và nhận được IP từ Viettel. Em nghĩ là kết nối của em hoàn toàn thất bại. Nhưng em không biết lỗi ở đâu, làm sao sửa, rất mong nhận được tư vấn của các bậc tiền bối ạ.

    Code:
    gateway#show ip inter bri
    Interface IP-Address OK? Method Status Protocol
    FastEthernet0/0 unassigned YES NVRAM up up 
    Serial0/0 unassigned YES NVRAM administratively down down 
    FastEthernet0/1 192.168.2.1 YES NVRAM up down 
    NVI0 unassigned NO unset up up 
    Virtual-Access1 unassigned YES unset up up 
    Dialer1 unassigned YES NVRAM up up
    Và cuối cùng là thông tin cụ thể phần cứng cũng như account internet của em (em có bỏ đi 2 ký tự trong password gọi là tránh bị google, anh nào muốn giúp mà cần em xin cung cấp đủ ạ).

    Router: 2600 series
    Interfaces:
    fa0/0: ra internet
    fa0/1: LAN
    serial 0/0: không sài
    mac address: f4:ec:38:b2:d2:5f (vì Viettel khóa mac ạ)
    username: h004_ftth_noitcdncnch
    password: rNDh**

    Em xin cảm ơn mọi sự quan tâm và giúp đỡ ạ!

  • #2
    Hi bạn,
    Bạn tạo 1 access list
    VD : access-list 1 permit 192.168.1.0 0.0.0.255
    rồi ip nat inside source list 1 interface s0/0 overload

    Comment


    • #3
      Hi bạn,

      Bạn tạo access-list cho phép những mạng nào internet hay cấm sau đó sử dụng cậu lệnh:
      ip nat inside source list X(số của access -list / route map(nếu bạn có cấu hình route map)) interface Dialer1 overload
      Nguyễn Trường Giang
      Email: nguyentruonggiang@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

    Comment


    • #4
      thanks bác

      Comment

      • Working...
        X