Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

29. Passive interface for OSPF configuration experiment

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

1. Passive interface resolution

When we do not want an interface to send and receive OSPF messages, we can configure it as a passive interface under the OSPF routing process. Network advertises routes and sends hello packets. When we configure the interface as a passive interface, it just does not send and receive hello messages, the network will still advertise, and other routers can also learn routing.

2. Experimental topology

3. Experimental configuration

R1 configuration

Interface Loopback0

Ip address 1.1.1.1 255.255.255.0

Interface Ethernet0/0

Ip address 192.168.0.1 255.255.255.0

Interface Ethernet0/1

Ip address 192.168.1.1 255.255.255.0

Interface Ethernet0/2

Ip address 192.168.2.1 255.255.255.0

Interface Ethernet0/3

Ip address 192.168.3.1 255.255.255.0

Interface Ethernet1/0

Ip address 192.168.4.1 255.255.255.0

Interface Ethernet1/1

Ip address 192.168.5.1 255.255.255.0

Router ospf 110

Network 1.1.1.0 0.0.0.255 area 0

Network 192.168.0.0 0.0.255.255 area 0

R2 configuration

Interface Loopback0

Ip address 2.2.2.2 255.255.255.0

Interface Ethernet0/0

Ip address 192.168.0.2 255.255.255.0

Interface Ethernet0/1

Ip address 192.168.1.2 255.255.255.0

Interface Ethernet0/2

Ip address 192.168.2.2 255.255.255.0

Interface Ethernet0/3

Ip address 192.168.3.2 255.255.255.0

Interface Ethernet1/0

Ip address 192.168.4.2 255.255.255.0

Interface Ethernet1/1

Ip address 192.168.5.2 255.255.255.0

Router ospf 110

Network 2.2.2.0 0.0.0.255 area 0

Network 192.168.0.0 0.0.255.255 area 0

4. Passive interface testing

For example, we want the lo0 port of R1 not to send or receive hello packets, but R1 can still learn the routing of the lo0 port of R1. We can do this.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report