Page 1 of 1

Fault-finding OSPF error "Discarding packet"

Posted: Tue Jan 26, 2021 4:29 pm
by n21roadie
Is there a way of fault finding with ospf error "Discarding packet: locally originated src address = XX.XXX.XX.XX"
this occurs every few mins?

Re: Fault-finding OSPF error "Discarding packet"

Posted: Wed Apr 07, 2021 10:41 am
by TheLordOfTheShells
Hi guy
Have you solved the problem?

Re: Fault-finding OSPF error "Discarding packet"

Posted: Wed Apr 07, 2021 11:16 am
by mrz
If connection tracking is enabled, then add RAW firewall rules for OSPF traffic (in both prerouting and output chains) with action=notrack.

Other common causes:
* Multiple neighbors has the same router-id
* Actual layer2 loop in the network
* If switch is used in between, bad switch may acts as hub, sending multicast packet back to the port the packet was received from.

Re: Fault-finding OSPF error "Discarding packet"

Posted: Wed Apr 07, 2021 1:02 pm
by georgekaskader
Or you can add drop firewall rule on input protocol ospf with ip address which is logging discarding packets (It will be IP address of your Router which is reporting problem).
In my case it does work.

Re: Fault-finding OSPF error "Discarding packet"

Posted: Wed Apr 07, 2021 10:07 pm
by n21roadie
Not solved yet
Other common causes:
* Multiple neighbors has the same router-id - Checked OSPF Neighbours and no duplicates!
* Actual layer2 loop in the network - I have been adding extra L2 to the network and this maybe the cause ?
* If switch is used in between, bad switch may acts as hub, sending multicast packet back to the port the packet was received from. - The switch has been active for many months before this issue, so I don't think it's the problem!
et!