autonomous system – Sass Learns https://sassenachlearns.com/ Sun, 11 Jun 2023 21:38:35 +0000 en-US hourly 1 https://wordpress.org/?v=6.2.2 The EIGRP Packet Header https://sassenachlearns.com/2017/11/30/the-eigrp-packet-header/ https://sassenachlearns.com/2017/11/30/the-eigrp-packet-header/#respond Thu, 30 Nov 2017 13:33:00 +0000 https://sassenachlearns.com/?p=66
VersionOpcodeChecksum
Flags
Sequence
Acknowledgement
Virtual Router IDAustonomous System (AS)

Believe me or not, aside from passing an exam there is another important reason why you should know what is inside the EIGRP packet header. Any hypothesis?

The Job Interview

You thought you know everything when you got the Cisco professional level certification but what happens when the interviewer asked you about what is inside the EIGRP packet header? You memorized all the configurations commands. You know what is BGP route reflector. You know how to do unequal load balancing in EIGRP. You even know how to configure fabric path, ASA firewalls, and do site-to-site VPN. You know everything you did in your laboratory but you forgot what is inside the EIGRP packet header.

“Who is going to ask me this stupid question?”

I guess an interviewer who has a doubt about your skills most especially if you put all your certifications on your resume. Funny, but it is pretty quite true.

“Is the interviewer going to judge me if I forgot what EIGRP packet header contains?”

Uhm, maybe. Depends on many reasons. We can say, the interviewer is using a bottom-up approach. In this way, it saves time and may not continue asking you further questions if you did not know the basic. Or, it can be a warm-up for more heart-pounding questions.

“What if you just forgot and neglect it during the academy session?”

I don’t think the interviewer will be interested in that kind of reason. So, if you were not able to answer, you better pray that the interview will not stop there.

I don’t want to scare you because this is just a legend. It is a traditional story popularly regarded as historical but nobody wants to confirm the truth. Anyhow, it is just my way to open up our “EIGRP Packet Header” discussion.

  1. Version – This is the EIGRP header version with the current version of 2. This is a 4-bit field and it is not the same as the TLV version field.
  2. Opcode – Remember the EIGRP packet types? This is how EIGRP neighbors know what kind of packet type it is. It is a 4-bit field as well like the version field and below is the equivalent values of message types:
    EIGRP Message TypeOpcode ValueUpdate1Request2Query3Reply4Hello5Reserved6-9SIA Query10SIA Reply11
  3. Checksum – this is 24-bit field standard IP checksum. If the packet fails the checksum, the it is discarded.
  4. Flags – This is a 32-field that defines special handling of the packet. There are 4 flag bits: INIT flag (0x01), Conditionally Received (CR) flag (0x02), Restart (RS) flag (0x04), and End-of-Table (EOT) flag (0x08). For newly discovered neighbors, the bit is set in the initial UPDATE. The INIT flag instructs the neighbor to advertise its full set of routes. CR flag is that receivers should only accept the packet if they are in Conditionally Received mode. RS flag is set in the HELLO and UPDATE packet. It is an indication that the neighbor is doing a soft restart. This In this way, adjacency is maintained. When EOT flag is set, it indicates that the neighbor has completed sending all updates. This indicates the neighbor can flush all stale routes prior to restart event.
  5. Sequence – Every packet sent to the neighbor will have a 32-bit sequence number that is unique to the sender. When the value is set to 0 that means it doesn’t require any acknowledgement. 
  6. Acknowledgement – this is another 32-bit field sequence number that is unique to the receiver.
  7. Virtual Router ID – This is a 16-bit number that distinguishes the virtual router a packet is associated with. Any value other than listed below, will be discarded:
  8. Autonomous System – This is the most important part in the EIGRP packet header. This is a 16-bit number which value ranges from 1 – 65535. AS should match on all EIGRP neighbors or else packet will be ignored and there will be no adjacency.

]]>
https://sassenachlearns.com/2017/11/30/the-eigrp-packet-header/feed/ 0
Autonomous System (AS) Ranges https://sassenachlearns.com/2017/11/01/autonomous-system-as-ranges/ https://sassenachlearns.com/2017/11/01/autonomous-system-as-ranges/#respond Wed, 01 Nov 2017 22:03:00 +0000 https://sassenachlearns.com/?p=131 You often heard about AS (Autonomous System) since the beginning of your BGP study. By now, you know that when we talk about AS we are referring to set or group of routers operating with same routing policy under a single administrative domain/control. The AS number should be unique to identify them in the internet. It is 16-bit in size allowing 65536 AS to be used in BGP. However, not all are available for use. Some are reserved for documentation purposes and the rest are divided for private and public use.

As of now, the 2 bytes AS that we used to know are already depleted so that’s why IETF introduced 4 bytes (0-4294967295) AS. In the router implementation, an ASdot notation or ASplain format will be used to identify a 32-bit AS number. The ASplain format is just writing the whole 0-4294967295 numbers. The problem with this is that it is prone to typo errors. The ASdot format will use this number: <upper 16 bits>.<lower 16 bits>. The first set of 65,536 numbers will be written as 0.0 to 0.65535 and the second set from 1.0 through to 1.65535, and so on.

AS 23456 will play a major part as it is reserved as interface between 16-bit and 32-bit AS. The 32-bit AS numbers will appear as AS 23456 in the new BGP attribute AS4 Path (AS Path on 16-bit). The 32-bit AS number is backward compatible with the 16-bit so one thing that is required is making sure the router supports 32-bit AS under the BGP command process.

0 Reserved
1-64495 Public AS Numbers
64496-64511 Reserved for documentation
64512-65534 Private AS Numbers
65535 Reserved

If you are having a problem converting the ASplain format to ASdot format, you may try this conversion tool provided by APNIC: 32-Bit Conversion Tool. This tool converts Autonomous System numbers from dot notation to decimal or from decimal to dot notation.

For example: 100500 ASplain is equivalent to 1.34964 ASdot notation.

Below is the IANA assignment for the 32-bit notation:

0.0 – 0.6553516-bit AS Number block
2.0 – 2.1023APNIC
3.0 – 3.1023RIPE NCC
4.0 – 4.1023LACNIC
5.0 – 5.1023AfriNIC
6.0 – 6.1023ARIN

]]>
https://sassenachlearns.com/2017/11/01/autonomous-system-as-ranges/feed/ 0
Difference Between Interior Gateway Protocol (IGP) and Exterior Gateway Protocol (EGP)? https://sassenachlearns.com/2017/10/08/difference-between-interior-gateway-protocol-igp-and-exterior-gateway-protocol-egp/ https://sassenachlearns.com/2017/10/08/difference-between-interior-gateway-protocol-igp-and-exterior-gateway-protocol-egp/#respond Sun, 08 Oct 2017 22:30:00 +0000 https://sassenachlearns.com/?p=5 When I first heard about Interior Gateway Protocol (IGP) and Exterior Gateway Protocol (EGP), I was just like, “what on bits and bytes are these?” If you are new to networks and you suddenly heard these on your first day, you might ignore the meaning and also the importance. However, you don’t have to memorize the meaning because you will know it by heart as days go by.

So what are IGP and EGP?

IGP is composed of routing protocols that are used within the autonomous system while EGP is used between different autonomous system. IGP usually runs within the LAN while EGP mostly used in WAN. EGP is the protocol run by ISPs to connect to customer’s edge device and protocol used by the internet. It is used to interconnect different autonomous system.

Interior Gateway Protocols:

  1. Routing Information Protocol (RIP)
  2. Open Shortest Path First (OSPF)
  3. Enhanced Interior Gateway Routing Protocol (EIGRP)
  4. Intermediate System to Intermediate System (IS-IS)

Exterior Gateway Protocol:

  1. Border Gateway Protocol (BGP)

Believe me, if you missed it, you’ll get to know it on the other day.

]]>
https://sassenachlearns.com/2017/10/08/difference-between-interior-gateway-protocol-igp-and-exterior-gateway-protocol-egp/feed/ 0