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

Nhờ các sư huynh giúp cách Dial up vào Router 2620

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

  • Nhờ các sư huynh giúp cách Dial up vào Router 2620

    Các bác cho em hỏi. Em dùng c2600-i-mz.122-12a.bin

    Mà sao không thể cấu hình cho kết nối client qua modem bằng cổng Async được hả các bác.

    Chỉ vào được interface dialer là sao?

    Liệu có phải upload IOS khác không vậy???

    Khi kết nối từ client đến kiểm tra user name và password thì modem lại ngắt, mặc dù em đã khai đúng user rồi.

    Em cám ơn các bác nhiều nhiều!!!:105:

  • #2
    hi

    post cấu hình con 2600 lên forum nhé.
    Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

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

    Comment


    • #3
      Cấu hình R2600 như sau:

      !
      service timestamps debug uptime
      service timestamps log uptime
      service password-encryption
      no service tcp-small-servers
      no service udp-small-servers
      !
      hostname Cisco2620
      !
      enable password 123456
      username lu171 password lu171
      username vung4 password vung4
      !
      no ip name-server
      !
      ip subnet-zero
      no ip domain-lookup
      ip routing
      !
      interface Dialer 1
      description connected to Dial-inPCs(modem)
      ip unnumbered FastEthernet 0/0
      ip tcp header-compression passive
      encapsulation ppp
      dialer in-band
      dialer-group 1
      ppp authentication chap
      no cdp enable
      peer default ip address pool Cisco2620-Group-1
      !
      interface FastEthernet 0/0
      no shutdown
      description connected to EthernetLAN
      ip address 192.170.3.9 255.255.255.0
      no keepalive
      !
      router rip
      version 2
      network 192.170.3.0
      no auto-summary
      !
      ip local pool Cisco2620-Group-1 192.170.3.240 192.170.3.240
      ip classless
      no ip http server
      snmp-server community public RO
      no snmp-server location
      no snmp-server contact
      !
      line console 0
      exec-timeout 0 0
      password haiquan
      login
      !
      line vty 0 4
      password haiquan
      login
      !
      line 33
      exec
      autoselect ppp
      autoselect during-login
      login local
      modem InOut
      transport input all
      stopbits 1
      speed 38400
      flowcontrol hardware
      !
      end

      Các bác xem hộ em còn phải cấu hình thế nào nữa! Em cám ơn

      Comment


      • #4
        chỉnh lại cấu hình cái line 33 như sau

        line 33

        login local
        modem InOut
        transport input all
        stopbits 1
        speed 38400
        flowcontrol hardware
        modem auto-configure discovery
        !
        end
        Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

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

        Comment


        • #5
          Em đã đặt lại như vậy ma` vẫn không được bác ạ!

          Nó báo lỗi từ client như thế này:

          Disconnected!
          Error 721:The remote computer did not respond. For further assitance, click more info or search Help and support center for this error number.

          Bác xem giúp em, còn vấn đề gì nữa không bác nhé!

          Comment


          • #6
            interface Dialer 1
            description connected to Dial-inPCs(modem)
            ip unnumbered FastEthernet 0/0
            ip tcp header-compression passive

            DIALER IN-BAND
            DIALER ENABLE-TIMEOUT 30
            DIALER WAIT-FOR-CARRIER-TIME 60

            encapsulation ppp
            dialer in-band
            dialer-group 1
            ppp authentication chap
            no cdp enable
            peer default ip address pool Cisco2620-Group-1
            Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

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

            Comment


            • #7
              Em lam giống hệt như Bác chỉ dẫn rồi mà vẫn báo lỗi như vậy. Em thấy hơi nghi cái IOS bác ạ. Theo bac thì em nên làm thế nào nữa? Em đang làm rất gấp nên bác chỉ dậy cho em với, cám ơn Bác Minh nhiều nhiều!

              Comment


              • #8
                Thực hiện quay số từ client vào router.

                Trên routers lúc này bật lên hai lệnh debug sau.

                # debug dialer
                # debug ppp negotiation
                #debug ppp authentication

                SAu đó cố gắng tìm lỗi nằm ở giai đoạn nào, có phải do xác thực hay không.

                Ngoài ra thử đổi sang IOS khác đi. CHọn phiên bản enterprise chẳng hạn.
                Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

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

                Comment


                • #9
                  Anh Minh ơi em hỏi anh 1 chút.
                  Hôm trước em đã cấu hình xong cái Router rồi. Em phải vào cái interface Aysnc 33, thì ok ngay. Còn nếu bằng dialer 1 thì ko được.
                  Nhưng bây giờ em bị mắc một vấn đề thế này.

                  Từ cái Router của em không thể nào Ping được các máy trong mạng LAN qua cổng FastEthernet 0/0. Mặc dù em đã thiết lập như sau:

                  interface FastEthernet 0/0
                  no shutdown
                  description connected to EthernetLAN
                  ip address 192.170.3.9 255.255.255.0
                  no keepalive

                  Cái cổng đấy đã stat to up rồi.

                  Vì vậy em khi em quay số tới Router chỉ ping được với 192.170.3.9 thôi.

                  Anh xem hộ em thế nào với. E cám ơn anh nhiều!

                  Comment


                  • #10
                    Hi

                    Dùng keep alive đi.

                    trong cổng F0/0

                    interface F0/0
                    keepalive
                    Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

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

                    Comment


                    • #11
                      Em đã đặt keepalive 10 rồi vẫn ko được anh ạ. làm thế nào bây giờ đại ca ơi?

                      Comment


                      • #12
                        coi lại cấu hình của cái IP Pool.
                        Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

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

                        Comment


                        • #13
                          Anh minh oi!
                          anh giup em voi!
                          em dang cau hinh renote acess tu PC ngoai vao mang qua modem toi router nhung Em khong sao lam duoc anh giup em voi!
                          mô hình của em như sau:
                          PC---->modem----->PSTN--------->modem------->S0/0/0 Router2800-----172.17.128.5.
                          gio em phải cấu hình sao cho PC phai dialup được vào mạng. em gửi cấu hình mà em làm nhé:
                          Atlanta(config)#interface f0/0
                          Atlanta(config-if)#ip address 172.17.128.5 /24
                          Atlanta(config-if)# no shut
                          Atlanta(config)#interface serial 0/1
                          Atlanta(config-if)#physical-layer async
                          Note: The above interface is Serial 0 on the WIC-2A/S card. Refer to your
                          Atlanta(config)#line 2
                          Atlanta(config-line)#password cisco
                          Atlanta(config-line)#login

                          Atlanta(config-line)#flowcontrol hardware
                          Atlanta(config-line)#speed 115200

                          Atlanta(config-line)#modem inout
                          Atlanta(config-line)#stopbits 1
                          Atlanta(config-line)#transport input all

                          Atlanta(config)# ip host modem2 2002 172.17.128.5
                          Atlanta#wri me
                          rồi em gõ câu lệnh telnet như dưới dây nó đòi pass rồi treo luôn ở giao diện Teminal.

                          Atlanta# telnet modem2 or "telnet 172.16.0.1 2002"
                          khi em Atlanta(config)#show interface serial 0/1
                          thi nhìn thất như sau:
                          router1#
                          show interfaces serial 0/0/0

                          Serial3/7 is down, line protocol is down
                          Hardware is CD2430 in async mode
                          MTU 1500 bytes, BW 9 Kbit, DLY 100000 usec,
                          reliability 255/255, txload 1/255, rxload 1/255
                          ....
                          và em show line 2
                          router1#
                          show line 2

                          Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
                          I 104 TTY
                          115200/115200− inout − − − 0 0 0/0 Se0/0/0
                          Line 104, Location: "", Type: ""
                          Length: 24 lines, Width: 80 columns
                          Baud rate (TX/RX) is 115200/115200, no parity, 2 stopbits, 8 databits
                          Status: No Exit Banner
                          Capabilities: Modem Callout, Modem RI is CD,
                          Line usable as async interface
                          Modem state: Idle

                          Modem hardware state: noCTS noDSR DTR RTS

                          các anh xem họ em với

                          Comment

                          Working...
                          X