OSPF (Open Shortest Path First) is a link state routing protocol for interior routing within single autonomous system (AS).
Questions tagged [ospf]
47 questions
4
votes
1 answer
Omnet++ OSPF Routing table metric
Question 1: I implemented ospf protocol in Omnet++. According to the topology, r1 can reach two different ways to r3 .I have set the upper path metric to 1 and lower path to 10. However, according to the OSPF protocol, it should not select the lower…

melek_3
- 117
- 1
- 13
2
votes
0 answers
How to know from which interface did I received the multicast packet?
I have one socket that is waiting for OSPF Hello packets (224.0.0.5) on the different interfaces of my machine, except loopback interface. At this point, I receive multicast OSPF packets from two different interfaces on the same socket.
class…

André Pires
- 91
- 1
- 4
2
votes
2 answers
Why is in OSPF LSA sequence nuber in range 0x80000001 to 0x7FFFFFFF
Why is in OSPF LSA sequence number in range 0x80000001 to 0x7FFFFFFF.
I suppose that it is for some historical reasons but cannot google it.

Jan Pluskal
- 103
- 1
- 5
1
vote
2 answers
Compare Quagga to XORP
What do you think of Quagga compared to XORP as a dynamic software routing engine? What are the technical merits of each engine comparatively? Additionally, what do most people think of them from a programming view. Who has manipulated networks…

Sargun Dhillon
- 1,788
- 2
- 18
- 24
1
vote
1 answer
Why cant Routing Information Protocol RIP (distance-vector routing protocol) use Dijkstra instead of bellman ford?
Hello I am learning networking and am confused about why both the interior routing protocols (RIP and OSPF) use the same algorithm to calculate the shortest path? I think I understand how they differ (RIP and OSPF) but am not clear on using a…

Digdarshan Kunwar
- 19
- 2
1
vote
1 answer
OSPF unnumbered No ping between Switch and Vm possible
I am trying OSPF Unnumberd and i have a VM (CentOs) and a Switch (Cumulus-Vx). When i try to ping from the Switch interface 1 to the Vm the Vm-Interface recieves the ICMP echo request but doesnt answer.
When i look into the forward routing table i…

John Carr
- 307
- 1
- 12
1
vote
1 answer
How to sniff ospf packet in windows10 in python3.5 with raw packet
I'm trying to sniff ospf packet in Python, and have achieve this aim in ubuntu.
When it comes to windows, I could only sniff TCP, UDP and IGMP packets.I can capture ospf packets by wireshark.
The code is below.
from socket import *
import…

Wolf.W
- 21
- 4
1
vote
0 answers
Getting Link State ID from Network LSA Pyshark
I am trying to retrieve the Link State ID of a Network-LSA from a captured OSPF LS Update in Wireshark. Wireshark says the variable is ospf.lsa_id, however this gives only the first instance of the ospf.lsa_id which is in the router-lsa part of the…

natzberg
- 31
- 5
1
vote
1 answer
Calculate LSA checksum in OSPF
I have been trying to calculate the LSA checksum for an OSPF packet without success.
I read the ospf's RFC and says there that you need to use the Fletcher algorithm. I tried to it but it still doesnt give the right answer. My code:
Void…

user3206874
- 795
- 2
- 7
- 15
1
vote
1 answer
How is the ospf checksum calculated?
I'm having trouble getting an accurate checksum calculated. My router is rejecting my Hello messages because of it. Here's the package in hex (starting from the ospf header)
vv vv <-- my program's…

elite5472
- 2,184
- 4
- 21
- 28
0
votes
1 answer
why my raw socket recv() seemed to get nothing?
Main Situation
I'm using raw socket trying to recv OSPF packet. Although I've successfully grabbed the packet through Wireshark, I could not receive anything through function recv(), where the thread just stuck.
the related thread function is as…

Xlucidator
- 41
- 5
0
votes
0 answers
establishing DHCP's setting up OSPF, and loopbacks in a small network with a switch
im attempting to do an assignment for my class, it requires setting up 3 routers connected to a switch, 2 laptops that must receive IP's through DHCP of a specific type, then setting up loopbacks, and dividing the areas into zones for OSPF, and be…
0
votes
0 answers
Prioritising OSPF Packets
I have to give a high priority to OSPF packets so that I do not lose the route and re-initiate. There is too much traffic that it smothers OSPF packets and the device ends up losing the route.
The fact that the data rate will be varying every X…

JWhite
- 1
- 1
0
votes
2 answers
How a router decides that this packet is of a particular protocol?
So as per my knowledge the port number is responsible for understanding the protocol type but I am still confused as it is not mentioned in the packet. I might sound dumb but I just want to know how the received packet is determined for a particular…

asp
- 1
0
votes
1 answer
How to configure FRR OSPF so that the route is advertised by the OSPF daemon but not added in the linux routing table?
ip route 1.1.1.1/32 ens33
ip route 1.1.1.2/32 ens33
!
interface ens33
ip ospf 1 area 0 192.168.84.191
!
router ospf 1
ospf router-id 192.168.84.191
redistribute static metric 10000 route-map RM-ens33
!
access-list AC-ens33 seq 1 permit…

Avik Dutta
- 177
- 9