Ch 1 - Characteristics of Routing Protocols Flashcards
What is the maximum hop count for RIPng?
- Max hop count for RIPv1, RIPv2 and RIPng are all 15.
What is the address router advertisements are sent to in RIPv2?
224.0.0.9
What are the two primary metrics of EIGRP?
Bandwidth and delay. Reliability, load and MTU size can also be used.
What does an LSA advertise?
Networks a router knows how to reach.
Does a link-state routing protocol exchange the full routing table?
Yes. When the adjacency is first formed, initially.
What is OSPF metric cost based on?
Link speed.
Name 3 reasons OSPF is popular. Cool algorithm name does not count!
Vendor interoperability, scalability, fast convergance
How is a route ‘poisoned’ by a DV protocol?
Route received on an interface is advertised back out the receiving interface with a metic of infinity.
What does Split Horizon not allow a router to do?
Advertise a route back to where it was learned from
Give two examples of a path vector router?
BGP, M-BGP
T/F: BGP is popular because of it’s nearly infinite scalability and fast convergence time.
False. BGP actually has a slow convergence time.
What do IPv6 global unicast addresses begin with?
2000::/3 The first 3 bits are 001, so the first hex number in the first quartet is either 2 or 3.
What multicast IPv4 address does BGP use for router advertisements?
None. BGP is unicast only.
What is the range of IPv4 multicast addresses?
224.0.0.0-239.255.255.255
Give an example of a directed broadcast IPv4 address.
172.16.255.255 - a local broadcast is 255.255.255.255.
T/F: NBMA supports broadcast but not multicast.
False. NBMA supports neither broadcast nor multicast. This is a problem for EIGRP and OSPF.
A non-broadcast multiple access network (NBMA) is a computer network to which multiple hosts are attached, but data is transmitted only directly from one computer to another single host over a virtual circuit or across a switched fabric. NBMA networks do support multicast or broadcast traffic manually (pseudo-broadcasts). Some common examples of nonbroadcast network technologies include Asynchronous Transfer Mode (ATM), Frame Relay, X.25, and home power line networking.
What is the IPv4 header “identification” field used for? How many bits is it?
16 bit value used to mark fragments so they can be reassembled in the right order by the receiving device.
See attached diagram. Field descriptions:
- Version: This Field defines the version of IP. It is Static 4 bit value.
- Header Length: This Field defines the length of the datagram header. It is 4 bit value.
- Type of Service: It is 8 bit value. It is used tell the network how to treat the IP packet. These bits are generally used to indicate the Quality of Service (QoS) for the IP Packet.
- Packet Length: 16 bit value indicating the size of the IP Packet in terms of bytes. This gives a maximum packet size of 65536 bytes.
- Identification: 16 bit field used for reassembling the packet at the destination.
- Flags: It is 3 bits value. It indicates if the IP packet can be further fragmented or not and if the packet is the last fragment or not of a larger transfer.
- Fragment offset: 13 bit value used in the reassembly process at the destination.
- Time to Live: 8 bit value telling the network how long an IP packet can exist in a network before it is destroyed.
- Protocol: 8 bit value used to indicate the type of protocol being used (TCP, UDP etc.).
- Header checksum: It is 16 bit value. It is used to indicate errors in the header only. Every node in the network has to check and re-insert a new checksum as the header changes at every node.
- Source address: 32 bit value representing the IP address of the sender of the IP packet.
- Destination address: 32 bit value representing the IP address of the packets final destination.
- Options: Options are not required for every datagram. They are used for network testing and debugging.
- Padding: Variable size bit field. These bits are used to ensure a 32 bit boundary for the header is achieved.
The IPv4 header 4 bit “version” field is set to 0100, what does this indicate?
0100 indicates IPv4
See attached diagram. Field descriptions:
- Version: This Field defines the version of IP. It is Static 4 bit value.
- Header Length: This Field defines the length of the datagram header. It is 4 bit value.
- Type of Service: It is 8 bit value. It is used tell the network how to treat the IP packet. These bits are generally used to indicate the Quality of Service (QoS) for the IP Packet.
- Packet Length: 16 bit value indicating the size of the IP Packet in terms of bytes. This gives a maximum packet size of 65536 bytes.
- Identification: 16 bit field used for reassembling the packet at the destination.
- Flags: It is 3 bits value. It indicates if the IP packet can be further fragmented or not and if the packet is the last fragment or not of a larger transfer.
- Fragment offset: 13 bit value used in the reassembly process at the destination.
- Time to Live: 8 bit value telling the network how long an IP packet can exist in a network before it is destroyed.
- Protocol: 8 bit value used to indicate the type of protocol being used (TCP, UDP etc.).
- Header checksum: It is 16 bit value. It is used to indicate errors in the header only. Every node in the network has to check and re-insert a new checksum as the header changes at every node.
- Source address: 32 bit value representing the IP address of the sender of the IP packet.
- Destination address: 32 bit value representing the IP address of the packets final destination.
- Options: Options are not required for every datagram. They are used for network testing and debugging.
- Padding: Variable size bit field. These bits are used to ensure a 32 bit boundary for the header is achieved.
How many bits in the IPv4 header “TOS field” and what is it used for?
The TOS field is an 8 bit field used to set QoS markings. The 6 leftmost bits are the DSCP marking (Differentiated Service Code Point) and the 2 rightmost bits are used for Explicit Congestion Notification, which is an extension of WRED, Weighted Random Early Detection and used for flow control.
See attached diagram. Field descriptions:
- Version: This Field defines the version of IP. It is Static 4 bit value.
- Header Length: This Field defines the length of the datagram header. It is 4 bit value.
- Type of Service: It is 8 bit value. It is used tell the network how to treat the IP packet. These bits are generally used to indicate the Quality of Service (QoS) for the IP Packet.
- Packet Length: 16 bit value indicating the size of the IP Packet in terms of bytes. This gives a maximum packet size of 65536 bytes.
- Identification: 16 bit field used for reassembling the packet at the destination.
- Flags: It is 3 bits value. It indicates if the IP packet can be further fragmented or not and if the packet is the last fragment or not of a larger transfer.
- Fragment offset: 13 bit value used in the reassembly process at the destination.
- Time to Live: 8 bit value telling the network how long an IP packet can exist in a network before it is destroyed.
- Protocol: 8 bit value used to indicate the type of protocol being used (TCP, UDP etc.).
- Header checksum: It is 16 bit value. It is used to indicate errors in the header only. Every node in the network has to check and re-insert a new checksum as the header changes at every node.
- Source address: 32 bit value representing the IP address of the sender of the IP packet.
- Destination address: 32 bit value representing the IP address of the packets final destination.
- Options: Options are not required for every datagram. They are used for network testing and debugging.
- Padding: Variable size bit field. These bits are used to ensure a 32 bit boundary for the header is achieved.
Explain the role of the 3 bits in the IPv4 header “IP Flags” field.
1st bit is always zero. 2nd bit = DF field (Don’t Fragment), and the 3rd bit = MF (More Fragments) which is set in all fragments except the very last one.
What is the function of the IPv4 header “fragment offset” field?
Specifies the offset of a fragment from the beginning of the first fragment, in 8 byte units. 13 bit field.
How many bits is the IPv4 header “TTL” field, or what is it’s maximum value?
8 bits = 256
T/F: The IPv4 header” checksum” field in an IP header performs a check on UDP.
True. This 16-bit field performs error checking for TCP, IP and UDP too.
What does an IPv6 header version field of 0110 indicate?
0110 indicates IPv6
The IPv6 header is more streamlined: it contains 8 fields, compared to IPv4’s 14 fields.
version: 4 bits long, and corresponds to IPv4’s field of the same name. It indicates the receiver the IP version to expect. In case of IPv6 that is of course 6, making this field’s binary value 0110.
traffic class: 8 bits long, and replaces IPv4’s ‘type of service’ field. The first 6 bits contain the differentiated services (DiffServ) designation of the packet, and is called differentiated services code point (DSCP). DSCP classifies the type of traffic carried by the packet for quality of service (QoS) purposes. For example, streaming media like video and audio on a conference call can enjoy lower latency than non-critical traffic, such as web browsing. The last two bits are for optional explicit congestion notifications (ECN). ECN can be used to signal congestion on the network by marking it in the IPv6 header. (Instead of dropping packets.)
flow label: 20 bits long, and new to IPv6. Useful for real-time applications, it signals the receiving node (routers or switches) to keep packets on the same path as to prevent them from being reordered.
payload length: 16-bits long. Contains the size of the payload in octets (remember those?) and can include extension headers. (Extensions headers replace the ‘options’ field known from IPv4.) It’s set to zero when the packet carries a jumbo payload.
next header: 8-bits long. It shares its function (and values) with IPv4’s ‘protocol’ field, and as the name suggests specifies the type of the next header.
hop limit: 8-bits long, formerly known in IPv4 as ‘time-to-live’. Decremented by one passing each node, and the packet is discarded when the value of hop limit reaches zero.
source address: 128 bits long, same function as in IPv4. Contains the IPv6 address of the node originally sending the packet.
destination address: 128 bits long, same function as in IPv4. Contains the IPv6 address of the destination node for which the packet is intended.
What IPv4 header field performs the same function as Traffic Class field in IPv6?
TOS, same size too, 8 bits
What is the IPv6 header “Flow Label” field used for?
The FL field tells the router to use a specific outbound connection for a traffic flow. By using the same connection the probability of packets arriving out of order is reduced.
The IPv6 header is more streamlined: it contains 8 fields, compared to IPv4’s 14 fields.
- version: 4 bits long, and corresponds to IPv4’s field of the same name. It indicates the receiver the IP version to expect. In case of IPv6 that is of course 6, making this field’s binary value 0110.
- traffic class: 8 bits long, and replaces IPv4’s ‘type of service’ field. The first 6 bits contain the differentiated services (DiffServ) designation of the packet, and is called differentiated services code point (DSCP). DSCP classifies the type of traffic carried by the packet for quality of service (QoS) purposes. For example, streaming media like video and audio on a conference call can enjoy lower latency than non-critical traffic, such as web browsing. The last two bits are for optional explicit congestion notifications (ECN). ECN can be used to signal congestion on the network by marking it in the IPv6 header. (Instead of dropping packets.)
- flow label: 20 bits long, and new to IPv6. Useful for real-time applications, it signals the receiving node (routers or switches) to keep packets on the same path as to prevent them from being reordered.
- payload length: 16-bits long. Contains the size of the payload in octets (remember those?) and can include extension headers. (Extensions headers replace the ‘options’ field known from IPv4.) It’s set to zero when the packet carries a jumbo payload.
- next header: 8-bits long. It shares its function (and values) with IPv4’s ‘protocol’ field, and as the name suggests specifies the type of the next header.
- hop limit: 8-bits long, formerly known in IPv4 as ‘time-to-live’. Decremented by one passing each node, and the packet is discarded when the value of hop limit reaches zero.
- source address: 128 bits long, same function as in IPv4. Contains the IPv6 address of the node originally sending the packet.
- destination address: 128 bits long, same function as in IPv4. Contains the IPv6 address of the destination node for which the packet is intended.