Posts

OSPF best way to learn

    Here's a table showing the step-by-step process of forming an OSPF adjacency between two routers, R1 (10.1.1.1) and R2 (10.1.1.2), along with the messages exchanged at each step. This will help you understand what to expect in Wireshark packets. Step State Router 1 (R1) - 10.1.1.1 Router 2 (R2) - 10.1.1.2 Message Type Description 1 Down Sends Hello Sends Hello Hello Initial Hello packets sent to discover neighbors. 2 Init Receives Hello Receives Hello Hello Hello packets received, but Router IDs not yet seen in each other's Hello. 3 2-Way Sees R2's Router ID in Hello Sees R1's Router ID in Hello Hello Bidirectional communication established. 4 ExStart Sends DBD (Master) Sends DBD (Slave) DBD (Database Description) Master and slave roles determined, initial sequence number set. 5 Exchange Sends DBD Sends DBD DBD Exchange of Database Description packets to describe link-state databases. 6 Loading Sends Link-State Request Sends Link-State Request Link-State Request Req...

Best of python Questions to prepare

  What is Python, and list some of its key features? Answer : Python is a high-level, interpreted programming language known for its simplicity, readability, and versatility. Key features include dynamic typing, extensive libraries, cross-platform compatibility, and support for object-oriented programming 1 . What are Python lists and tuples? Answer : Lists are mutable sequences, while tuples are immutable sequences. Lists allow changes to elements, whereas tuples do not 1 . Explain the difference between Python arrays and lists. Answer : Arrays can only contain elements of the same data type, while lists can contain elements of different data types 2 . What is the  __init__  method in Python? Answer : The  __init__  method is a constructor used to initialize an object's state when it is created 2 . How does Python handle memory management? Answer : Python uses automatic memory management with reference counting and garbage collection 1 . Python for Automation H...