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

cấu hình LAN-to-LAN (quay số router-to-router)

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • cấu hình LAN-to-LAN (quay số router-to-router)

    (nguồn: Anh Tài - VnPro)

    Lab 01


    Objective:

    Setup:
    1. Site A.
    Step 1: Install modem to router
    RouterA# conf t
    RouterA (Config)# interface s0/4
    RouterA (Config-if)# physical-layer async
    RouterA (Config-if)# no shut

    RouterA (Config-if)# exit
    RouterA (Config)# line 5
    RouterA (Config-line)# login
    RouterA (Config-line)# password cisco1
    RouterA (Config-line)# autoselect during-login
    RouterA (Config-line)# autoselect ppp
    RouterA (Config-line)# login local
    RouterA (Config-line)# modem InOut
    RouterA (Config-line)# modem autocofigure discovery
    RouterA (Config-line)# transport input all
    RouterA (Config-line)# stopbits 1
    RouterA (Config-line)# speed 33600
    RouterA (Config-line)# flowcontrol hardware
    RouterA (Config-line)# exit

    Step 2: Create loopback interface for Telnet into Modem
    RouterA (Config)# interface loopback0
    RouterA (Config-if)# ip add 1.1.1.1 255.0.0.0
    RouterA (Config-if)# no shut

    Step 3: Secure virtual Telnet session
    RouterA (Config-if)# line vty 0 4
    RouterA (Config-line)# login
    RouterA (Config-line)# password cisco2
    RouterA (Config-line)# exit

    Step 4: Testing connection from Router to Modem

    RouterA (Config)# exit
    RouterA# Telnet 1.1.1.1 2005
    Authentication
    Password: cisco1
    <test some AT commands >
    ATDT<phonenumber of remote site>
    AT&W

    Step 5: configure asyn interface
    RouterA# conf t
    RouterA (config)# interface s0/4
    RouterA (config-if)# shutdown

    RouterA (config-if)# ip add 192.168.1.1 255.255.255.0
    RouterA (config-if)# encapsulation ppp
    RouterA (config-if)# async mode dedicated

    RouterA (config-if)# no cdp enable
    RouterA (config-if)# dialer in-band
    RouterA (config-if)# dialer idle-timeout 300
    RouterA (config-if)# dialer wait-for-carrier-time 60
    RouterA (config-if)# dialer hold-queue 50
    RouterA (config-if)# dialer group 1
    RouterA (config-if)# dialer map ip 192.168.1.2 name SiteB modem-script TaiA broadcast 204
    RouterA (config-if)# exit
    RouterA (config)# chat-script REMDEVICE ABORT ERROR ABORT BUSY “” “ATZ” OK “ATDT \T” TIMEOUT 30 CONNECT \c
    RouterA (config)# dialer-list 1 protocol ip permit
    RouterA (config)# ip route 0.0.0.0 0.0.0.0 192.168.1.2

    2. Site B.
    Step 1: Install modem to router
    RouterB# conf t
    RouterB (Config)# line AUX 0
    RouterB (Config-line)# login
    RouterB (Config-line)# password cisco1
    RouterB (Config-line)# autoselect during-login
    RouterB (Config-line)# autoselect ppp
    RouterB (Config-line)# login local
    RouterB (Config-line)# modem InOut
    RouterB (Config-line)# modem autocofigure discovery
    RouterB (Config-line)# transport input all
    RouterB (Config-line)# stopbits 1
    RouterB (Config-line)# speed 33600
    RouterB (Config-line)# flowcontrol hardware
    RouterB (Config-line)# exit

    Step 2: Create loopback interface for Telnet into Modem
    RouterB (Config)# interface loopback0
    RouterB (Config-if)# ip add 1.1.1.2 255.0.0.0
    RouterB (Config-if)# no shut

    Step 3: Secure virtual Telnet session
    RouterB (Config-if)# line vty 0 4
    RouterB (Config-line)# login
    RouterB (Config-line)# password cisco2
    RouterB (Config-line)# exit

    Step 4: Testing connection from Router to Modem

    RouterB (Config)# exit
    RouterB# Telnet 1.1.1.2 2065
    Authentication
    Password:  (Cisco 1
    <test some AT commands >
    ATDT<phonenumber of remote site>
    AT&W

    Step 5: configure asyn interface
    RouterB# conf t
    RouterB (config)# interface ASYNC 0 (???)
    RouterB (config-if)# shutdown

    RouterB (config-if)# ip add 192.168.1.2 255.255.255.0
    RouterB (config-if)# encapsulation ppp
    RouterB (config-if)# async mode dedicated

    RouterB (config-if)# no cdp enable
    RouterB (config-if)# dialer in-band
    RouterB (config-if)# dialer idle-timeout 300
    RouterB (config-if)# dialer wait-for-carrier-time 60
    RouterB (config-if)# dialer hold-queue 50
    RouterB (config-if)# dialer group 1
    RouterB (config-if)# dialer map ip 192.168.1.1 name Sitea modem-script TaiB broadcast 203
    RouterB (config-if)# exit
    RouterB (config)# chat-script REMDEVICE ABORT ERROR ABORT BUSY “” “ATZ” OK “ATDT \T” TIMEOUT 30 CONNECT \c
    RouterB (config)# dialer-list 1 protocol ip permit
    RouterB (config)# ip route 0.0.0.0 0.0.0.0 192.168.1.1

    (download file Word đính kèm)
    Email : vnpro@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
    file word nào bạn ??? có thấy file nào đâu ???

    Comment


    • #3
      Download file đính kèm.
      Attached Files
      Email : vnpro@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
        có cách nào học trực tuyến qua mạng không vậy !!!
        mình không có điều kiện thuận lợi lắm!!

        Comment


        • #5
          các bạn ơi làm ơn chỉ giùm cho mình cách cấu hình cho router và swicht với!!!

          Comment


          • #6
            Hi Hoaikha204
            Ban đọc tài liệu CCNA Stady Guide 5.0 ấy. Nó sẽ giúp ban rất nhiều điều bổ ích.
            Bạn có thể download trên từ link

            Chúc bạn thành công .

            Comment


            • #7
              thanks so much

              Comment


              • #8
                Thật hữu ích, cảm ơn pro (new commer)

                Comment


                • #9
                  Cho mình hỏi thêm 1 tí :
                  mình có router 1751 cíco , và có 1 card WIC 1-AM . làm sao để tét card WIC 1-AM còn tốt hay không ??
                  các bro cho mình biết cách config với

                  thanks

                  Comment


                  • #10
                    Hi

                    Dùng lệnh show version để xem router nhận được card WIC-1A/M này chưa.
                    Sau đó có thể kiểm tra bằng cách dùng reverse telnet.

                    chúc vui vẻ
                    Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

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

                    Comment

                    • Working...
                      X