• 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.

Cisco PPPoE Client Đi web VN ok, web nước ngoài thì không

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

  • Cisco PPPoE Client Đi web VN ok, web nước ngoài thì không

    Chào cả nhà,

    Công ty mình có 1 đường ADSL của Viettel, chạy modem của Viettel thì rất ok, nhưng nay có 1 thay đổi là mình cần phải ocnfig modem sang chế độ bridge, và dùng router Cisco làm PPPoE Client.

    Mình đã config thành công. Nhưng có điều các trang web ở VN thì đi web rất nhanh, nhưng các trang web nước ngoài thì rất chậm (yahoo, microsoft, ...) và hầu như là không kết nối được luôn. Mình đã thử config 1 PC trong mạng làm PPPoE Client thì ok, trang nào cũng ok.

    Vậy cho mình hỏi là problem nằm ở đâu vậy? Mình config có sai gì không? Mọi người xem cấu hình và help mình với nhé. Thanks

    ip cef
    !
    vpdn enable
    !
    interface fastEthernet0/0
    ip address 192.168.3.1 255.255.255.0
    ip nat inside
    !
    interface FastEthernet0/1
    no ip address
    duplex auto
    speed auto
    pppoe enable
    pppoe-client dial-pool-number 1
    !
    interface Dialer0
    ip mtu 1492
    ip address negotiated
    ip nat outside
    ip virtual-reassembly
    encapsulation ppp
    ppp authentication pap callin
    dialer pool 1
    dialer-group 1
    no cdp enable
    ppp pap sent-username <username> password <password>
    !
    ip route 0.0.0.0 0.0.0.0 Dialer0
    !
    ip nat inside source list 1 interface Dialer0 overload
    !
    access-list 1 permit 192.168.3.0 0.0.0.255
    dialer-list 1 protocol ip permit
    !
    end

  • #2
    Cái này giống tay không bắt giặt quá bác ơi. Em mạn phép đưa ra chút ý kiến giúp bác.

    Nếu PC làm PPPoE ok, thì vấn đề nằm trên Router rồi nhưng theo những gì bác nói thì có lẽ configuration của Router ok rồi đó vậy bác kiểm tra lại các interface xem thấy packet error ko?

    Sau đó, để tình hình sáng sủa hơn, em đề nghị bác install Ethereal (Wireshark) trên PC để capture traffic quốc tế rồi phân tích nó. Có khi liên quan đến DNS timeout, hay router drop ACK ... Nói chung phải làm vậy cái đã rồi tính tiếp. Nếu cần bác post nguyên dữ liệu phân tích liên quan đến yahoo.com lên đây, em giúp bác chơi nó. Ok
    > Ping CCNA
    Sending to CISCO.....Please wait.....

    Cho thuê CCIE LAB RS & SEC online giá rẻ đây (250k/6h for RS & 350k/6h for SEC)

    RS: R2611, R1841, SW3550/3560
    SEC: R2611, R2811, ASA5510 (Sec plus), IPS4235, SW3560

    Timeslots (GMT+7) - Vietnam (8h00 - 7h50+1)
    TS1.VN : 08h00 - 13h50
    TS2.VN : 14h00 - 19h50
    TS3.VN : 20h00 - 01h50
    TS4.VN : 02h00 -07h50

    Mọi chi tiết xin liên hệ vulevy (at) yahoo (dot) fr

    Comment


    • #3
      Originally posted by hungpham View Post
      Chào cả nhà,

      Công ty mình có 1 đường ADSL của Viettel, chạy modem của Viettel thì rất ok, nhưng nay có 1 thay đổi là mình cần phải ocnfig modem sang chế độ bridge, và dùng router Cisco làm PPPoE Client.

      Mình đã config thành công. Nhưng có điều các trang web ở VN thì đi web rất nhanh, nhưng các trang web nước ngoài thì rất chậm (yahoo, microsoft, ...) và hầu như là không kết nối được luôn. Mình đã thử config 1 PC trong mạng làm PPPoE Client thì ok, trang nào cũng ok.

      Vậy cho mình hỏi là problem nằm ở đâu vậy? Mình config có sai gì không? Mọi người xem cấu hình và help mình với nhé. Thanks

      ip cef
      !
      vpdn enable
      !
      interface fastEthernet0/0
      ip address 192.168.3.1 255.255.255.0
      ip nat inside
      !
      interface FastEthernet0/1
      no ip address
      duplex auto
      speed auto
      pppoe enable
      pppoe-client dial-pool-number 1
      !
      interface Dialer0
      ip mtu 1492
      ip address negotiated
      ip nat outside
      ip virtual-reassembly
      encapsulation ppp
      ppp authentication pap callin
      dialer pool 1
      dialer-group 1
      no cdp enable
      ppp pap sent-username <username> password <password>
      !
      ip route 0.0.0.0 0.0.0.0 Dialer0
      !
      ip nat inside source list 1 interface Dialer0 overload
      !
      access-list 1 permit 192.168.3.0 0.0.0.255
      dialer-list 1 protocol ip permit
      !
      end

      vào interface dialer 0, thêm vào lệnh này:

      ip tcp adjust-mss 1400

      xem thêm về lệnh đó ở đây:
      Code:
      http://www.cisco.com/en/US/docs/ios/12_2t/12_2t4/feature/guide/ft_admss.html
      Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

      Email : dangquangminh@vnpro.org
      https://www.facebook.com/groups/vietprofessional/

      Comment


      • #4
        nếu em sữa thành ip tcp adjust-mss 1460 có được ko thầy?
        Hugo

        Comment


        • #5
          Được. Nhưng nếu em chỉnh kích thước segment size của TCP nhỏ quá thì sẽ phải tốn nhiều gói tin IP để truyền data đi.
          Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

          Email : dangquangminh@vnpro.org
          https://www.facebook.com/groups/vietprofessional/

          Comment


          • #6
            thay cho em hoi,

            hien trong Lan em có dung Router 1841 làm access-list permit traffic qua lai,nhung ko biet sao ma symantec no update ko duoc,ko biet co can permit cac ip server cua symantec ko thay,em co dung ip tcp adjust-mss 1460 nhung van ko duoc,

            thanks,
            mo hinh: Lan--R1841---Leaseline---internet
            Hugo

            Comment


            • #7
              con router 1841 đó có Access List nhưng có bật chức năng CBAC (IOS firewall) không?
              Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

              Email : dangquangminh@vnpro.org
              https://www.facebook.com/groups/vietprofessional/

              Comment


              • #8
                tức là IOS đang chạy có phải là IOS firewall ko hả thầy,vd : IPadvance...K9
                Hugo

                Comment


                • #9
                  em mới check lại,hiện tại Router ko xài chức năng Firewall thầy,
                  Hugo

                  Comment


                  • #10
                    Cac ban tham khao link nay nhe:
                    This document explains why the maximum transmission unit (MTU) size must be changed when you implement PPP over Ethernet (PPPoE) Dialin. It also explains the procedure used to make the change.

                    Comment

                    Working...
                    X