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

Xử lý khi danh sách hàng xóm (Neighbor List) trong OSPF rỗng (phần 7)

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

  • Xử lý khi danh sách hàng xóm (Neighbor List) trong OSPF rỗng (phần 7)

    13. Loại mạng hoặc hàng xóm không được xác định trên NBMA (Frame Relay, X.25, SMDS, vv)

    *** Đây là một vấn đề kinh điển của mạng NBMA. OSPF hoặc bất kỳ giao thức định tuyến khác sẽ không có khả năng gửi hoặc nhận bất kỳ gói Hello, trừ khi bạn cấu hình một tuyên bố hàng xóm hoặc thay đổi kiểu mạng broadcast hoặc point-to-multipoint. Khi báo cáo kết quả hàng xóm được cấu hình, nó gây nên Hellos OSPF và các mối quan hệ hàng xóm được hình thành. Thay đổi kiểu mạng cũng thay đổi các interface, trong trường hợp của các loại mạng broadcast, OSPF bắt đầu gửi và nhận các Hellos OSPF.

    +Ví dụ: Khi show cấu hình:

    Code:
                     R2#show ip ospf interface serial0
    
                     Serial0 is up, line protocol is up
    
                         Internet Address 131.108.1.2/24, Area 1
    
                         Process ID 1, Router ID 131.108.1.2, Network Type NON_BROADCAST, Cost: 64
    
                         Transmit Delay is 1 sec, State DR, Priority 1
    
                         Designated Router (ID) 131.108.1.2, Interface address 131.108.1.2
    
                         No backup designated router on this network
    
                         Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
    
                            Hello due in 00:00:00
    
                         Neighbor Count is 0, Adjacent neighbor count is 0
    
                             Suppress hello for 0 neighbor(s)
    Giải pháp:

    Để giải quyết vấn đề này, bằng cách cấu hình gửi các gói tin hello như một unicast thay vì một multicast.

    Cấu hình:
    Code:
    R2# router ospf 1
    
                            network 131.108.0.0 0.0.255.255 area 1
    
                            neighbor 131.108.1.1 priority 1
    
    Hoặc R2# interface Serial 0
    
                     ip ospf network broadcast
    
    Hoặc R2# interface Serial 0
    
                     ip ospf network point-to-multipoint
    14. Frame-relay map/dialer thiếu từ khóa broadcast trên cả hai mặt

    Ví dụ: Cấu hình như sau

    Code:
                R1# interface Serial0
    
                       ip address 131.108.1.1 255.255.255.0
    
                       encapsulation frame-relay
    
                       frame-relay map ip 131.108.1.2 16
    Code:
                 R2# interface Serial0
    
                        ip address 131.108.1.2 255.255.255.0
    
                        encapsulation frame-relay
    
                        frame-relay map ip 131.108.1.1 16
    Giải pháp: Enable broadcast đối với frame-relay

    Cấu hình như sau:

    Code:
             R1# interface Serial0
    
                    ip address 131.108.1.1 255.255.255.0
    
                    encapsulation frame-relay
    
                    ip ospf network broadcast
    
                    frame-relay map ip 131.108.1.2 16 broadcast
    Code:
           R2# interface Serial0
    
                   ip address 131.108.1.2 255.255.255.0
    
                   encapsulation frame-relay
    
                   ip ospf network broadcast
    
                   frame-relay map ip 131.108.1.1 16 broadcast
    Hoặc đối với dialer map:

    Code:
            R1# interface BRI0
    
                    ip address 131.108.1.1 255.255.255.0
    
                    encapsulation ppp
    
                    dialer map ip 131.108.1.2 broadcast name R2 76444
    Code:
            R2# interface BRI0
    
                    ip address 131.108.1.2 255.255.255.0
    
                    encapsulation ppp
    
                    dialer map ip 131.108.1.1 broadcast name R1 76555
    Nguyễn Minh Hải – VnPro
    Phan Trung Tín
    Email: phantrungtin@vnpro.org
    .
Trung Tâm Tin Học VnPro
149/1D Ung Văn Khiêm, P.25, Q.Bình Thạnh, Tp.HCM
Tel: (028) 35124257 (028) 36222234
Fax: (028) 35124314

Home Page: http://www.vnpro.vn
Forum: http://www.vnpro.org
Twitter: https://twitter.com/VnVnpro
LinkedIn: https://www.linkedin.com/in/VnPro
- 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

Videos: http://www.dancisco.com
Blog: http://www.vnpro.org/blog
Facebook: http://facebook.com/VnPro
Zalo: https://zalo.me/1005309060549762169
​​​​​​
Working...
X