Results 1 to 5 of 5

Thread: Hỏi gấp về Route

  1. #1

    Default Hỏi gấp về Route

    Em có 2 Route (2600 và 810).
    Sử dụng đường truyền số liệu ISDL (banch 2b+d). Kênh thuê riêng, không qua SPID (internet)
    Hiện nay em đã config nhưng bọn chúng không thông nhau.
    Các bác làm ơn chỉ giúp em với (hoạc sửa chữa cho em đoạn config sau)

    Route : 2600 config

    !
    hostname Yenphu
    !
    enable secret 5 $1$E6Kp$v53mMRKmTbOO1nV13UkWc0
    !
    username DongDa password 0 dongda
    ip subnet-zero
    !
    !
    !
    isdn switch-type basic-net3
    !
    !
    !
    interface FastEthernet0/0
    ip address 192.168.0.1 255.255.255.0
    duplex auto
    speed auto
    !
    interface BRI1/0
    ip address 192.168.70.1 255.255.255.0
    ip access-group 101 in
    encapsulation ppp
    dialer idle-timeout 180
    dialer map ip 192.168.70.2 name Dongda 7163222
    dialer-group 1
    isdn switch-type basic-net3
    ppp callback accept
    ppp authentication pap
    ppp pap sent-username YenPhu password 0 yenphu
    ppp multilink
    !
    interface Dialer1
    no ip address
    encapsulation ppp
    dialer pool 1
    dialer remote-name Administrator
    dialer-group 1
    ppp authentication pap chap
    !
    ip classless
    ip route 192.168.30.0 255.255.255.0 192.168.70.2
    ip route 192.168.70.2 255.255.255.255 BRI1/0
    ip http server
    ip pim bidir-enable
    !
    !
    access-list 1 permit any
    access-list 101 deny tcp any any eq telnet
    access-list 101 permit ip any any
    dialer-list 1 protocol ip permit
    !
    line con 0
    password yenphu
    line aux 0
    line vty 0 1
    password yenphu
    login
    line vty 2 4
    login
    !
    !
    end

    =====================
    Route : 810 config

    hostname dongda
    !
    enable secret 5 $1$1R8m$959bRpgr7fwd59cuBvx3d/
    !
    username YenPhu password 0 Yenphu
    username DongDa password 0 dongda
    ip subnet-zero
    !
    isdn switch-type basic-net3
    !
    !
    !
    interface Ethernet0
    ip address 192.168.30.1 255.255.255.0
    !
    interface BRI0
    ip address 192.168.70.2 255.255.255.0
    encapsulation ppp
    dialer idle-timeout 50
    dialer map ip 192.168.70.1 name YenPhu 7163220
    dialer-group 1
    isdn switch-type basic-net3
    ppp pap sent-username DongDa password 0 dongda
    ppp multilink
    !
    ip classless
    ip route 192.168.0.0 255.255.255.0 192.168.70.1
    ip route 192.168.70.1 255.255.255.255 BRI0
    no ip http server
    !
    !
    dialer-list 1 protocol ip permit
    !
    line con 0
    exec-timeout 0 0
    password dongda
    line vty 0 4
    exec-timeout 0 0
    password dongda
    login
    !
    no rcapi server
    !
    !
    end




    =================
    Các bác làm ơn sủa hộ em hoặc gửi theo địa chỉ: Hvviet2000@yahoo.com
    Xin cảm ơn nhiều

  2. #2
    Join Date
    May 2003
    Location
    Ho Chi Minh city
    Posts
    771

    Default Re: Hỏi gấp về Route

    Hi,

    Đây là một working config. Có chổ nào anh không hiểu thì tiếp tục trao đổi nha.

    cám ơn Anh,

    ---------------------------------------------------------------------
    hostname Yenphu
    enable secret 5 $1$E6Kp$v53mMRKmTbOO1nV13UkWc0
    username DongDa password 0 dongda
    isdn switch-type basic-net3
    interface FastEthernet0/0
    ip address 192.168.0.1 255.255.255.0
    duplex auto
    speed auto
    !
    interface BRI1/0
    ip address 192.168.70.1 255.255.255.0
    ip access-group 101 in
    encapsulation ppp
    dialer idle-timeout 180
    dialer map ip 192.168.70.2 name Dongda broadcast 7163222
    dialer-group 1
    isdn switch-type basic-net3
    ppp authentication pap
    ppp pap sent-username YenPhu password 0 yenphu
    ppp multilink
    !
    ip classless
    ip route 0.0.0.0 0.0.0.0 192.168.70.2
    ip http server
    ip pim bidir-enable
    !
    !
    access-list 1 permit any
    access-list 101 deny tcp any any eq telnet
    access-list 101 permit ip any any
    dialer-list 1 protocol ip permit
    !
    line con 0
    password yenphu
    line aux 0
    line vty 0 1
    password yenphu
    login
    line vty 2 4
    login
    !
    !
    end

    =====================
    Route : 810 config

    hostname Dongda
    enable secret 5 $1$1R8m$959bRpgr7fwd59cuBvx3d/
    !
    username YenPhu password 0 yenphu
    ip subnet-zero
    !
    isdn switch-type basic-net3

    interface Ethernet0
    ip address 192.168.30.1 255.255.255.0
    !
    interface BRI0
    ip address 192.168.70.2 255.255.255.0
    encapsulation ppp
    dialer idle-timeout 50
    dialer map ip 192.168.70.1 name YenPhu broadcast 7163220
    dialer-group 1
    isdn switch-type basic-net3
    ppp pap sent-username DongDa password 0 dongda
    ppp multilink
    !
    ip classless
    ip route 0.0.0.0 0.0.0.0 192.168.70.1
    dialer-list 1 protocol ip permit
    !
    line con 0
    exec-timeout 0 0
    password dongda
    line vty 0 4
    exec-timeout 0 0
    password dongda
    login
    !
    no rcapi server
    !
    !
    end

  3. #3
    huyhpa Guest

    Default

    Hi hvviet2000,

    Bạn nói là 2 Router không thấy nhau, có thể kiểm tra như sau:

    1. Kiểm tra vật lý:
    Bạn dùng lệnh show isdn status trên mỗi Cisco Router:
    Nếu bạn thấy:
    Lay 1 : ACTIVE
    Layer 2: ACTIVE hay UP gì đó (lâu quá mình quên)
    Layer 3: NOT ACTIVE
    Hoặc trên màn hình console bạn dùng lệnh Clear interface BRI0 và thấy xuất hiện dòng thông báo sau thì coi như về Physical là ổn:
    Router#clear interface BRI0 (hay BRI 1/0 or BRI0/0)
    %ISDN-6-LAYER2UP: Layer 2 for Interface BR0, TEI 87 changed to up

    2. Kiểm tra kết nối
    - Bật lệnh Debug Dialer và Debug ppp authentication
    - Ping đến Router ở xa
    - Nếu thấy Layer 3 chuyển sang ACTIVE thì coi như kết nối thành công

    *Lúc này bạn mới thực sự kiểm tra các lệnh route và access-list

    Bạn có thể cấu hình đơn giản như sau (sau khi về vật lý đã OK như bước 1)
    (Mình thích dùng chap hơn)

    hostname YENPHU
    !
    enable secret 5 $1$HI6Y$3taOPpjmqlZdRXkmEZ0LF0
    enable password cisco
    !
    username DONGDA password 0 cisco
    !
    isdn switch-type basic-net3
    !
    interface BRI0
    description ISDN DDR Connection to DongDa
    ip address 192.168.70.1 255.255.255.252
    encapsulation ppp
    dialer idle-timeout 60
    dialer map ip 192.168.70.2 name DONGDA 04xxxxxxx
    dialer load-threshold 125 either
    dialer-group 1
    isdn switch-type basic-net3
    ppp authentication chap
    ppp multilink
    !
    interface FastEthernet0
    ip address 192.168.0.1 255.255.255.0
    speed auto
    duplex auto
    !
    ip classless
    ip route 0.0.0.0 0.0.0.0 192.168.70.2
    no ip http server
    !
    access-list 101 deny tcp any any eq telnet
    access-list 101 permit ip any any
    dialer-list 1 protocol ip list 101
    !
    line con 0
    line aux 0
    line vty 0 4
    exec-timeout 0 0
    password <hidden>
    login
    !
    no scheduler allocate
    end



    hostname DONGDA
    !
    enable secret 5 $1$HI6Y$3taOPpjmqlZdRXkmEZ0LF0
    enable password cisco
    !
    username YENPHU password 0 cisco
    !
    isdn switch-type basic-net3
    !
    interface BRI0
    description ISDN DDR Connection to YenPhu
    ip address 192.168.70.2 255.255.255.252
    encapsulation ppp
    dialer idle-timeout 60
    dialer map ip 192.168.70.1 name YENPHU 04xxxxxxx
    dialer load-threshold 125 either
    dialer-group 1
    isdn switch-type basic-net3
    ppp authentication chap
    ppp multilink
    !
    interface FastEthernet0
    ip address 192.168.30.1 255.255.255.0
    speed auto
    duplex auto
    !
    ip classless
    ip route 0.0.0.0 0.0.0.0 192.168.70.1
    no ip http server
    !
    access-list 101 permit ip any any
    dialer-list 1 protocol ip list 101
    !
    line con 0
    line aux 0
    line vty 0 4
    exec-timeout 0 0
    password <hidden>
    login
    !
    no scheduler allocate
    end

  4. #4

    Default

    sinhvienngheo thân mến.
    Tôi đã nhập đoạn Config running của bạn (giống y chang luôn).
    nhưng bọn chúng vẫn không ping được cho nhau.
    Bạn có chiêu gì chỉ giúp với nhé.
    HVV

  5. #5
    Join Date
    May 2003
    Location
    Ho Chi Minh city
    Posts
    771

Similar Threads

  1. Tips for CCIE Candidate
    By binhhd in forum CCIE Routing & Switching
    Replies: 10
    Last Post: 22-04-2009, 02:01 PM
  2. Khảo sát một số vấn đề về default-route trong routing
    By TGA_Certificationteam in forum ROUTE / BSCI
    Replies: 27
    Last Post: 28-12-2008, 02:29 AM
  3. Hiệu chỉnh Route trong BGP dựa trên AS-Path
    By danghoangkhanh in forum CCNP LabPro - CCNP Routing
    Replies: 1
    Last Post: 17-06-2008, 12:42 PM
  4. Routing between RIPv1 & RIPv2
    By themask in forum ROUTE / BSCI
    Replies: 5
    Last Post: 10-03-2004, 02:25 PM
  5. Replies: 0
    Last Post: 09-03-2004, 10:25 AM

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