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.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help me!!! Cho minh hoi ve Floating Static Route??

    Co ai biet lam on cho minh hoi la khi nao thi Floating Static Route duoc su dung va voi muc dich la gi dzay. Cam on nhiu hen :-)

  • #2
    Re: Help me!!! Cho minh hoi ve Floating Static Route??

    xin chào,

    floating static route có cú pháp;

    # ip route xxxx yyyyy [pointer] new-ad

    trong đó xxxx là destination-network
    yyyy là destination-netmask

    pointer: next-hop router
    new-ad: giá trị AD mới của route (giá trị default là 1)

    Floating static route được dùng trong các giải pháp dial-backup. Khi primary route về net xxxx bị mất khỏi bảng routing-table, floating static route về net xxxx sẽ được đưa vào bảng routing-table. Floating static thông thường được chỉ qua next-hop router là các interface dialer.

    Nếu Robert cần một sample configs, let us know.

    Linh

    Comment


    • #3
      Cam on Sinhvienngheo nhieu. Neu duoc thi cho minh ban sample config di. Minh cung vua moi tim hieu xong roi, dai khai thi cung la y giong nhu Linh noi nhung ma khong biet la giai phap nay thich hop cho cac mang lon hay la chi doi voi cac mang nho thoi (vi cai nay thi admin phai cau hinh bang tay).

      Robert

      Comment


      • #4
        Đây là một vídụ rất cụ thể về floating static của cisco


        Current configuration:
        version 12.2
        hostname Router1
        !
        !--- This username password pair is used for PPP CHAP authentication
        username Router2 password 0 letmein
        ip subnet-zero
        no ip domain-lookup
        !
        isdn switch-type basic-5ess
        !
        interface Ethernet0
        ip address 172.16.1.1 255.255.255.0
        no ip route-cache
        no ip mroute-cache
        !
        interface Serial0

        !--- Primary Link.
        !--- The bandwidth is adjusted to allow for rapid backup of the link.


        !--- This adjusts the EIGRP Hello interval and Hold time for rapid convergence.
        !--- The bandwidth command does not actually change the bandwidth of the link,
        !--- it only adjusts the routing protocol bandwidth parameter.

        bandwidth 2048
        ip address 172.16.2.1 255.255.255.128
        encapsulation frame-relay
        no ip route-cache
        no ip mroute-cache
        clockrate 64000
        !
        interface Serial1
        no ip address
        no ip route-cache
        no ip mroute-cache
        shutdown
        !
        interface BRI0

        ! -- Backup link.

        ip address 172.16.3.1 255.255.255.0

        ! -- The backup link is in a different subnet.
        ! -- The BRI interface on the peer should also be in this subnet.
        encapsulation ppp
        no ip route-cache
        no ip mroute-cache
        dialer map ip 172.16.3.2 name Router2 broadcast 5552000

        ! -- Dialer map for the peer. Note the IP address and name.
        ! -- The name must match the authenticated username of the peer.

        dialer load-threshold 5 either
        dialer-group 1
        ! -- Apply interesting traffic definition.
        ! -- Interesting traffic definition is defined in dialer-list 1.

        isdn switch-type basic-5ess
        ppp authentication chap
        ppp multilink
        !
        router eigrp 100

        !--- This example uses eigrp. You can use any routing protocol instead.

        network 172.16.0.0
        auto-summary
        no eigrp log-neighbor-changes
        !
        ip classless
        ip route 172.16.4.0 255.255.255.0 172.16.3.2 200

        !--- The floating static route is defined.
        !--- Note the administrative distance of the route is 200.
        !--- Hence it is only used when all other routes for 172.16.4.0/24
        !--- are lost. Note that the next hop for the floating static route
        !--- matches the dialer map ip. If the nexthop is not the same as
        !--- in the dialer map then the router will no dial.
        access-list 100 deny eigrp any any
        access-list 100 permit ip any any
        !--- EIGRP routing packets are denied in the dialer-list.
        !--- This prevents eigrp packets from keeping the link up.
        !--- Adjust the interesting traffic depending on your traffic definitions.

        dialer-list 1 protocol ip list 100
        !--- Interesting traffic defintion. Use access-list 100.
        !--- The interesting traffic is applied to BRI interface using dialer-group 1.
        !
        line con 0
        line aux 0
        transport input all
        line vty 0 4
        login
        !
        end
        ----------------------------
        Router2 (Cisco 2503 Router)

        Current configuration:

        version 12.2
        !
        hostname Router2
        !
        username Router1 password 0 letmein
        ip subnet-zero
        no ip domain-lookup
        !
        isdn switch-type basic-5ess
        !
        !
        interface Ethernet0
        ip address 172.16.4.1 255.255.255.0
        !
        interface Serial0
        bandwidth 2048
        ip address 172.16.2.2 255.255.255.128
        encapsulation frame-relay
        clockrate 64000
        !
        interface Serial1
        no ip address
        shutdown
        clockrate 64000
        !
        interface BRI0
        ip address 172.16.3.2 255.255.255.0

        ! -- IP address of backup interface.
        ! -- This router accepts the call. Note the IP address matches both the
        ! -- dialer map floating static router nexthop on the peer.

        encapsulation ppp
        dialer-group 1
        isdn switch-type basic-5ess
        ppp authentication chap
        ppp multilink

        !--- The missing dialer map command disables this router from making the call.
        !
        router eigrp 100
        network 172.16.0.0
        auto-summary
        no eigrp log-neighbor-changes

        ip classless
        ip route 172.16.1.0 255.255.255.0 172.16.3.1 200
        !
        access-list 100 deny eigrp any any
        access-list 100 permit ip any any
        dialer-list 1 protocol ip list 100
        !
        line con 0
        line aux 0
        line vty 0 4
        !
        Tuyển sinh CCNA/CCNP-BSCI Bootcamp , Dịch vụ cho thuê Lab tại Hà nội
        VNE., JSC
        VNExperts IT Club
        P 403 Nhà A 347 Đội Cấn Ba Đình Hanoi
        Tel: 84 4 7623389, Fax: 84 4 7623389
        Mobile: 84 983608069
        Email: bachonlinevn@yahoo.com
        Yahoo chat :vnexperts_net
        http://www.vnexperts.net

        Comment


        • #5
          thiếu cái diagram tôi gửi nốt
          Tuyển sinh CCNA/CCNP-BSCI Bootcamp , Dịch vụ cho thuê Lab tại Hà nội
          VNE., JSC
          VNExperts IT Club
          P 403 Nhà A 347 Đội Cấn Ba Đình Hanoi
          Tel: 84 4 7623389, Fax: 84 4 7623389
          Mobile: 84 983608069
          Email: bachonlinevn@yahoo.com
          Yahoo chat :vnexperts_net
          http://www.vnexperts.net

          Comment


          • #6
            Re: Help me!!! Cho minh hoi ve Floating Static Route??

            Cám ơn mọi người nhiều,

            Mình đã thi đậu BSCI rồi, bây giờ đang chuẩn bị cho kỳ thi BCMSN đây. Mình đang dự định thi CCDP nhưng mà tài liệu cho modun cuối cùng CID thì vẫn chưa có bản mới nhất, nếu ai biết thì vui lòng chỉ giáo dùm.

            Thành thật cám ơn.

            Robert Ngo

            Comment

            Working...
            X