Final Flashcards
What is an important function of a router?
Path Determination
How does a router accomplish path of determination?
Routing table
How are routing tables built?
Routing protocols
Routing algorithms
Why do we need dynamic routing (auto) algorithms?
- Topologies can change
- Link costs can change
- Nodes and links can fail
What are the two broad types of dynamic routing algorithms?
- Distance vector (DV)
- Link state (LS)
What is the basic strategy for DV?
- If a router receives an update about an unknown network, it accepts the update.
- If a router gets a better update about a known network, it accepts the update. (modifies the the table)
What is the updated DV algo to detect faults?
- If a router receives an update about an unknown network, it accepts the update.
- If a router gets a better update about a known network, it accepts the update.
- If the update isn’t better than existing entry - don’t accept the new update.
What is the classic problem in DV?
Count to infinity
Summarize the count to infinity problem?
- Detects a fault
- Set the distance to infinity
- Then propagates this reading to other routers
- Then all the other routers ‘spinning’ in infinity
What are the three solutions to the count to infinity problem?
- Sol 1: Set a max number to infinity (e.g. 16)
- Sol 2: Split horizon (prevent neighbours from sending info of a router that they are not directly connected to)
- Sol 3: Hold-down timer: temporary timer until the network stabilizes OR until you start updating the DV tables again.
What are the two important concepts of the link state dynamic routing algorithm?
- Send (original) information to all nodes, not just neighbours.
- Send information about directly connected links only, not the entire table.
What are the main characteristics of the link state algorithm?
- Link state packet (LSP) sent to directly connected nodes
- LSPs are forwarded to every node on the network
- Each router builds a link state DB with the LSPs which is a topology or graph of the entire network
- From this DB routers can calculate the shortest path
What are the components of the LSP?
- RouterID
- Link state (x’s neighbours & costs)
- Sequence number (first LSP has seq=0 and goes seq++)
- Age (Set to max when LSP is created and decrements at every hop until discarded when age=0)
Why LSP uses a sequence number?
Tells router which LSP is more recent.
Why LSP uses age?
Prevent unnecessary floodings, LSPs are not forwarded unless they contain new information. However, flooding is needing sometimes to flush the shit out.
What is the flow chart for an LSP?
- Receive LSP of X
- Is there an LSP of X in the DB (yes –> is it new? no –> discard it)
- Accept LSP decrement age
- Send on outlines
- Re-run shortest path algorithm
What are the border gateway protocol principles?
- Path Vector Routing
- Path Vector Messayges
- Policy Routing
- Path Attributes
- TCP Connection
What is ICANN?
Internet Corporation for Assigned Numbers and Names
When was the last IP address assigned?
Feb. 2011
What is subnetting?
The process of dividing a network into multiple smaller networks so that each smaller network has its own network address.
What is supernetting?
Supernetting is the opposite of subnetting, and involves combining smaller networks into one larger network.
What is VSLM? Why is it used?
Variable length subnet masking. It is used to prevent the waste of IP addresses in basic subnetting.
What are some issues with basic subnetting?
You waste a lot of addresses, because they get equal chunks of IP address.
What are the rules to create a supernet?
- The number of blocks must be a power of 2
- The block addresses must be contiguous
- The third byte of the first address block must be evenly divisible by the number of blocks.
What is supernetting?
Supernetting is the opposite of subnetting, and involves combining smaller networks into one larger network.
How is IPv6 better than IPv4?
- Better utilization of addresses (no classes)
- Support for resource utilization
- Support for security
What are some issues with basic subnetting?
You waste a lot of addresses, because they get equal chunks of IP address.
What are the rules to create a supernet?
- The number of blocks must be a power of 2
- The block addresses must be contiguous
- The third byte of the first address block must be evenly divisible by the number of blocks.
What is the size of an IPv6 address?
128 bits
How is IPv6 better than IPv4?
- Better utilization of addresses (no classes)
- Support for resource utilization
- Support for security
What are the rules of simplification of IPv6 addresses?
- Remove leading zeros
- Consecutive groups of zeros to double colon notation (only once per address)
What is a loopback address IPv6?
All 128 bits are 0 except the last bit.
What is the unspecified IPv6 address used for?
Finding the devices IP address (RARP).
What is an IPv6 multicast address?
Defined a group of hosts.
What is an IPv6 mapped address?
8 zero bits - 72 zero bits - 16 one bits - 32 bits (IPv4 address)
What are the security goals of ESP (IPv6 Datagrams)?
- Confidentiality
- Integrity
- Authentication
What is the unspecified IPv6 address used for?
Finding the devices IP address (RARP).