• 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 2)

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 2)

    3. Interface được cấu hình passive OSPF
    Ví dụ:
    Khi show cấu hình
    R2#show ip ospf interface Ethernet 0
    Ethernet0 is up, line protocol is up
    Internet Address 131.108.1.2/24, Area 0
    Process ID 1, Router ID 131.108.1.2, Network Type BROADCAST, Cost: 10
    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 10, Dead 40, Wait 40, Retransmit 5
    No Hellos (Passive interface)
    Neighbor Count is 0, Adjacent neighbor count is 0
    Suppress hello for 0 neighbor(s)

    Giải pháp:
    Vào Router và đánh câu lệnh
    R2#
    router ospf 1
    no passive-interface Ethernet0
    network 131.108.0.0 0.0.255.255 area 0

    4. Một danh sách truy cập được ngăn chặn gói Hellos OSPF trên cả hai bên
    Ta có mô hình:


    Ví dụ:
    R1#
    interface Ethernet0
    ip address 131.108.1.1 255.255.255.0
    ip access-group 100 in
    access-list 100 permit tcp any any
    access-list 100 permit udp any any
    access-list 101 permit ip 131.108.1.0 0.0.0.255 host 224.0.0.5

    R2#
    interface Ethernet0
    ip address 131.108.1.2 255.255.255.0
    ip access-group 100 in
    access-list 100 permit tcp any any
    access-list 100 permit udp any any
    access-list 101 permit ip 131.108.1.0 0.0.0.255 host 224.0.0.5

    Chạy lệnh:
    R2#debug ip packet 101 detail
    IP packet debugging is on (detailed) for access list 101
    IP: s=131.108.1.2 (Ethernet0), d=224.0.0.5, len 68, access denied, proto=89

    Giải pháp:
    Vào Router và đánh câu lệnh
    interface Ethernet0
    ip address 131.108.1.2 255.255.255.0
    ip access-group 100 in
    !
    access-list 100 permit tcp any any
    access-list 100 permit udp any any
    access-list 100 permit ip any host 224.0.0.5

    Nguyễn Minh Hải – VnPro
    Phạm Thanh Đông Khê
    Email: dongkhe@vnpro.org
    Hãy share hoặc like nếu thông tin hữu ích!
    ---------------------------------------------------------------------------------------------------------------------------------------------------
Trung Tâm Tin Học VnPro
149/1D Ung Văn Khiêm, P.25, Q.Bình Thạnh, Tp.HCM
Tel: (08) 35124257 (5 lines)
Fax: (08) 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
FB: http://facebook.com/VnPro
Working...
X