Get the App
SLTechnology News&Howtos  ›  Network Security  › 

29. Passive interface for OSPF configuration experiment

Shulou Source: shulou.com Published: 2022-06-01 04:43:12 10月04日 Update

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.

Tags: Interface configuration routing lab message or advertisement just topology network router process test Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Linux Huawei Xiaomi MariaDB