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

Interface loopback là gì?

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

  • Interface loopback là gì?

    Mọi người cho em hỏi về interface loopback:

    - ý nghĩa.
    - ứng dụng.

    xin cám ơn.

  • #2
    Interface loopback là một logical interface, chỉ tồn tại khi người quản trị mạng cấu hình nó. Interface loopback luôn luôn up khi đã được config.

    Int loopback hoạt động giống như những interface bình thường khác. Có thể gán địa chỉ IP, ping, .... Khi bạn gởi dữ liệu qua loopback interface, dữ liệu sẽ được loop back trở lại.

    Người quản trị mạng thường sử dụng loopback int để đơn giản hóa việc quản trị và để một số feature hoạt động dựa trên tình trạng up, down của interface hoạt động ổn định hơn (vd: ip unnumbered, OSPF Router ID).

    Để cấu hình int loopback:

    Router(config)# interface loopback <interface number>
    Router(config-if)#............. Bạn cấu hình như các interface bình thường khác

    Comment


    • #3
      vậy một router có thể có bao nhiêu interface loopback?

      cám ơn Anh.

      Comment


      • #4
        Đối với router Cisco, bạn có thể create tới 2,147,483,647 interface loopback

        Thân,

        Comment


        • #5
          thỉng thoảng em gặp null0 trong một số bảng routing table. Vậy interface loopback và null0 có pà con gì với nhau không anh? trong trường hợp nào thì mình thấy null0 xuất hiện vậy anh?

          em cám ơn. Forumn này thật sự có nhiều người very good về net!

          Comment


          • #6
            Null0 la software interface duoc dung de:
            1. Summary contiguous subnets hoac networks (automatically neu ban dung EIGRP, manually neu ban dung cac routing protocols khac). Bang cach nay, cac downstream routers se speed up routing table lookup process. Interface Null0 duoc xem la directly connected.
            2. Tranh (prevents) feedback routes khi ban redistibute cac routes tu mot routing protocol nay sang routing protocol khac bang cach chi (point) cac route do vao Null0.

            Than,

            Comment


            • #7
              Hi Sinhvienngheo,

              Xin-loi, vi tra-loi thieu mot phan!
              Null0 va Loopback interfaces la hang-xom lang-gieng rat xa. Dua nay o Ha-noi, dua kia o Bien-hoa: Null0 khong can IP address. Khac voi Loopback interface, ban co the configure 2,147,483,647 loopback interface sisters and brothers, ban khong co interface Null1.

              Than,

              Comment


              • #8
                Chi co loopback interface trong Cisco router la co the cai cho no address voi 32 bit mask.

                ip address 192.168.0.1 255.255.255.255

                Comment


                • #9
                  Hahaha. Cai dung thuc tien cho ca nhan anh nhut la. Hoi do luc hoc thi CCIE nam 1976, anh chi co hai cai routers 2500. Anh dung loopback interface rat nhieu o tren hai cai routers de ma simulate big networks. Co nhieu subnets de ma test va hoc routing.

                  Comment


                  • #10
                    Re: Interface loopback là gì?

                    Ý anh la 1996 hay 1976 ;-)

                    CCCP
                    Hoàng Đức Phương, CCIE #12613
                    info@ipmac.com.vn
                    www.ipmac.com.vn

                    Comment


                    • #11
                      hi anh ccie,

                      ccie có từ năm 1990....

                      Anh cho em hỏi: có cách nào để loại bỏ các null0 do EIGRP summary tự động sinh ra không anh?

                      cám ơn anh,

                      Comment


                      • #12
                        Lon 1996. Lon tuoi qua roi nen ua lam lan. Anh chua biet la co cach nao de dep bo het routes to null0 sinh ra tu EIGRP summary tru cach la no auto-summary. Thong thuong anh lam network voi EIGRP thi turn off auto-summary. Auto-summary co the lam routing loop, hoi do luc EIGRP moi ra bi rac roi cai nay nhieu lam. Anh thuong dung ip summary-address eigrp command ap dung vao interface. Dung cach nay minh de kiem soat hon.

                        Hope it helps.

                        Comment


                        • #13
                          Hi SVN and CCIE,
                          Minh dang to-mo muon biet tai-sao cac Anh muon "disable" interface Null0? Chac phai co loi-ich gi ngoai cac diem sau day?
                          1.Theo minh biet (tat-nhien con rat nhieu dieu minh chua biet!), command "no auto-summary" only cannot "disable" interface Null0. Vi neu anh enter command "ip summary-address eigrp" thi Null0 se automatically generated (trong eigrp only).
                          2.Cisco IOS enforces this feature on eigrp to prevent routers may learn the more specific routes (longer prefixes) that create routing loops.
                          3.Hon nua, trong truong-hop tuong-tu cho OSPF, We MUST direct summary-routes manually to avoid loops.
                          Anh CCIE,
                          Ngoai ra, hinh nhu Null0 con duoc dung de direct unwanted traffic for security reasons if we want to save router resources from processing acl, phai khong Anh?

                          Cam-on cac Anh,

                          Comment


                          • #14
                            Khi học thì có nhiều khi phải đi ngược, vậy thôi, không nhất thiết là lúc nào cũng "mù quáng" tuân theo recomend của Cisco , đôi khi bẻ ngược như thế cũng giúp ta mọt vài điểm đó.
                            Có một câu hỏi nhỏ, không biết ai đã thử chưa , vừa mới nghỉ ra sáng nay thôi, tí nửa set up Lab xong là làm liền, đó là có ai thử gán Secondary address cho một Interface LoopBack không ?
                            -------------------------------------------------------
                            Yamaha R6 Rider
                            Tôi là Yuna_admirer.

                            Comment


                            • #15
                              To cc:st
                              1. Cái khác nhau là dùng "ip summary-address eigrp" mình tự làm và kiểm soát dược từng summary route to null interface. Trong khi dùng "auto-summary", dể router tự dộng làm summary routes. Trên thuc tế, tùy mổi cai network lúc mà mình design. Anh nói ra dây la cho biết dể mà sau gặp mà làm tùy truong hop
                              2. Actually, more specific routes are less probability of routing loop, but less optimize as far as more routes in routing table. Network design is an art. There is design guidlines but it is up to the designer to find the best solution and most optimized ways. That's why Cisco provides all the neccessary commands for us to apply as fit.
                              3. Em nói dúng. Bên Nortel router nó gọi la send packet to BLACK HOLE. The rule is dump unwanted traffic locally rather than let it travels through the WAN (too expensive). Optimized design.

                              To TGA_C
                              Em làm dược. multiple addresses for loopback interface.

                              To Chipchipzzz,
                              WOW, I DID IT. Lần dầu tiên gỏ tiếng Việt có bỏ dấu. Very slow but will improve. Cảm ơn ChipChipzzz dã khuyến khích.

                              "The biggest fear in my life is the day that I stop learning"

                              Comment

                              Working...
                              X