Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default gateway disconnect not generating OSPF events #3445

Closed
2 tasks done
kpiq opened this issue May 25, 2023 · 1 comment
Closed
2 tasks done

default gateway disconnect not generating OSPF events #3445

kpiq opened this issue May 25, 2023 · 1 comment
Labels
help wanted Contributor missing

Comments

@kpiq
Copy link

kpiq commented May 25, 2023

I have reported this problem to FRRouting, and am not sure whether it should have been reported to OPNsense.

In general terms, I have two OPNsense firewalls running OSPFv2 in different states, ARUBA 2930M MLS operating the InterVLAN routing, also running OSPFv2, and two more sites with ARUBA MLS, all interconnected with Carrier Ethernet circuits.

The OSPF communication and route propagation is happening across the network. On both firewalls' vtysh sessions show ip ospf database external 0.0.0.0 displays the two External LSAs with the forwarding addresses of both Internet connections. If I power down (or reboot) one of the firewalls all the devices quickly display the loss of the External LSA that corresponds to the firewall that was powered down.

In comparison, when I disable the WAN interface (or pull the fibers connecting to the ISP) none of the devices acknowledge the loss of the corresponding External LSA. Waited 1,2, 5 minutes, 10 minutes, nothing, the LSA does not dissapear even on the firewall being manipulated. There are no OSPF updates, locally nor across the network. I do see frr_carp events, but High Availability is not configured on these firewalls.

Some time between after the events in this log I disabled the WAN interface (Interfaces > WAN). There were no OSPF events triggered, nothing poped up on the log.

Besides watching the External LSAs on all network elements, checking the OSPF log (see below), what other things can I try, or even educate myself in?

FRRouting/frr#13597

FRR log
Date

Severity

Process

Line

2023-05-26T17:49:19-04:00 Debug ospfd DR-Election[2nd]: DR 192.168.16.2
2023-05-26T17:49:19-04:00 Debug ospfd DR-Election[2nd]: Backup 0.0.0.0
2023-05-26T17:49:19-04:00 Debug ospfd DR-Election[1st]: DR 192.168.16.2
2023-05-26T17:49:19-04:00 Debug ospfd DR-Election[1st]: Backup 192.168.16.2
2023-05-26T17:49:19-04:00 Debug ospfd DR-Election[2nd]: DR 2.3.4.5
2023-05-26T17:49:19-04:00 Debug ospfd DR-Election[2nd]: Backup 0.0.0.0
2023-05-26T17:49:19-04:00 Debug ospfd DR-Election[1st]: DR 2.3.4.5
2023-05-26T17:49:19-04:00 Debug ospfd DR-Election[1st]: Backup 2.3.4.5
2023-05-26T17:48:43-04:00 Debug ospfd DR-Election[1st]: DR 192.168.254.2
2023-05-26T17:48:43-04:00 Debug ospfd DR-Election[1st]: Backup 192.168.254.1
2023-05-26T17:48:43-04:00 Debug ospfd interface 192.168.254.1 [10] join AllDRouters Multicast group.
2023-05-26T17:48:43-04:00 Debug ospfd DR-Election[2nd]: DR 192.168.254.2
2023-05-26T17:48:43-04:00 Debug ospfd DR-Election[2nd]: Backup 192.168.254.1
2023-05-26T17:48:43-04:00 Debug ospfd DR-Election[1st]: DR 192.168.254.2
2023-05-26T17:48:43-04:00 Debug ospfd DR-Election[1st]: Backup 192.168.254.1
2023-05-26T17:48:39-04:00 Notice frr_carp FRR trigger OspfdEventHandler event.
2023-05-26T17:48:39-04:00 Notice frr_carp FRR received carp configuration event.
2023-05-26T17:48:39-04:00 Notice zebra client 11 says hello and bids fair to announce only ospf routes vrf=0
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:4]: Already ASBR
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:4]: Update
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:3]: Already ASBR
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:3]: Update
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:2]: Already ASBR
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:2]: Update
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:1]: Update
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:4]: Already ASBR
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:4]: Update
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:3]: Already ASBR
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:3]: Update
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:2]: Already ASBR
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:2]: Update
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:1]: Update
2023-05-26T17:48:39-04:00 Notice frr_carp FRR received carp configuration event.
2023-05-26T17:48:39-04:00 Informational zebra Zebra final shutdown
2023-05-26T17:48:39-04:00 Notice zebra Terminating on signal
2023-05-26T17:48:39-04:00 Notice zebra client 23 disconnected 0 ospf routes removed from the rib
2023-05-26T17:48:39-04:00 Debug zebra release_daemon_table_chunks: Released 0 table chunks
2023-05-26T17:48:39-04:00 Warning zebra [EC 4043309122] Client 'ospf' encountered an error and is shutting down.
2023-05-26T17:48:39-04:00 Warning ospfd [EC 134217736] ospf_sr_local_block_release_label: Returning label 0 is outside SRLB [15000/15999]
2023-05-26T17:48:39-04:00 Warning ospfd [EC 134217736] ospf_sr_local_block_release_label: Returning label 0 is outside SRLB [15000/15999]
2023-05-26T17:48:39-04:00 Debug ospfd DR-Election[2nd]: DR 192.168.254.1
2023-05-26T17:48:39-04:00 Debug ospfd DR-Election[2nd]: Backup 0.0.0.0
2023-05-26T17:48:39-04:00 Debug ospfd DR-Election[1st]: DR 192.168.254.1
2023-05-26T17:48:39-04:00 Debug ospfd DR-Election[1st]: Backup 192.168.254.1
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:0]: Update
2023-05-26T17:48:39-04:00 Informational ospfd LSA[Type5:0.0.0.0]: Not originate AS-external-LSA for default
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:1]: Already ASBR
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:1]: Update
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:2]: Already ASBR
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:2]: Update
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:3]: Already ASBR
2023-05-26T17:48:39-04:00 Informational ospfd ASBR[default:Status:3]: Update
2023-05-26T17:48:39-04:00 Notice ospfd Terminating on signal

@OPNsense-bot
Copy link

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.

@OPNsense-bot OPNsense-bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2023
@OPNsense-bot OPNsense-bot added the help wanted Contributor missing label Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Contributor missing
Development

No branches or pull requests

2 participants