routing techniques Flashcards

(50 cards)

1
Q

Where is information about other IP networks and hosts stored?

A

In the routing table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What parameters define a routing entry?

A

Protocol-The source of the route. Paths can be configured statically or learned by exchanging information with other routers via a dynamic routing protocol.

Destination- Routes can be defined to specific hosts but are more generally directed to network IDs. The most specific (longest) destination prefix will be selected as the forwarding path if there is more than one match.

Interface- The local interface used to forward a packet along the chosen route. Could be represented as the IP address of the interface or as a layer 2 interface ID.

Gateway/next hop- The IP address of the next router along the path to a destination.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 4 general categories that routing tables fall under?

A

Directly connected routes: for subnets which the router has a local interface

Remote routes: for subnets and IP networks that are not directly attached.

Host Routes: To a specific IP address

Default Routes: Used when a exact match for a network or host rout isn’t found.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are static routes

A

They are manually added to the routing table and only changes if edited by the administrator.
Can be problematic if the routing topologies changes often
Static routes can be configured as persistent or non persistent. Non persistent is removed from the routing table if the router is rebooted.
Better for smaller networks.
No automatic rerouting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a default route?

A

A special type of static route that identifies the next hop router for a destination that cannot be matched by another routing table entry.
The default router is also described as the gateway of last resort.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is fragmentation?

A

When a IP fragments the packet into more manageable pieces to fit within the MTU (maximum transmission unit).
In IPv4, the ID, Flags, and Fragment Offset IP header fields are used to record the sequence in which the packets were sent.
Most systems try to avoid IP fragmentation.
IPv6 does not allow routers to perform fragmentation, instead the host performs path MTU discovery to work out the MTU supported by each hop and crafts IP datagrams that will fit the smallest MTU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is dynamic routing?

A

A protocol that uses algorithm and metrics to build and maintain a routing information base.
Very scalable and routes are updated almost in real time.
Some router overhead is required

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How are algorithms used for path selection categorized?

A

As distance vector or as link state.
Distance Vector determines the best path based on distance and direction by sharing periodic routing tables with direct neighbors (causes slower convergence)
Link state maintains a full network map and exchanges incremental topological updates with all routers allowing for faster convergence and better scalability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is convergence?

A

Process whereby routers agree on routes through the network to establish the same network topology in their routing tables (steady state). The time taken to reach steady state is a measure of a routing protocol’s convergence performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is steady state?

A

A network where all the routers share the same topology.
The time taken to reach steady state is a measure of a routing protocol’s convergence performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a AS (autonomous system)

A

A network under the administrative control of a single owner.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a IGP?

A

Interior gateway protocol.
It identifies routes within an AS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a EGP?

A

Exterior Gateway Protocol.
It can advertise routes between autonomous systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is RIP?

A

Routing interface protocol.
Distance vector-based routing protocol that uses a hop count to determine the least-cost path to a destination network.
Sends regular updates (about every 30 secs) of its entire routing database to neighboring routers, can also send triggered updates whenever changes occur.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is EIGRP?

A

Enhanced Interior Gateway Routing Protocol
Developed by Cisco, primarily used on Cisco devices
is a improved version of IGRP
A distance vector protocol.
Instead of hops it uses a metric composed of administrator weighted elements, the default elements are bandwidth and delay.
Bandwidth- applies a cost based on the lowest bandwidth link in the path.
Delay- Applies a cost based on the time it takes for a packet to traverse the link
sends a full routing information update when it first establishes contact with a neighbor and thereafter only sends updates when there is a topology change.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is OSPF?

A

Open Shortest Path First.
A common interior gateway protocol, commonly used withing a single AS
A link state protocol, so routing is based on connectivity between routers
Low ‘cost’ and fastest path wins

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is BGP?

A

Boarder Gateway Protocol.
Designed to be used between routing domains in a mesh internetwork and as such is used as the routing protocol on the Internet, primarily between ISPs.
Primarily used for routing between autonomous systems.
aka the three napkins protocol
BGP works over TCP on port 179.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is AD?

A

Administrative distance.
Used to choose between routes from different routing protocols
Metric determining the trustworthiness of routes derived from different routing protocols.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are edge routers?

A

They are placed at the networks perimeter and are characterized by distinguishing external and internal interfaces.
Can perform framing to repackage data from the private LAN frame format to the WAN internet access format.
Customers router is referred to as the customers edge (CE) and the service providers router is referred to as the providers edge (PE).
Must facilitate connections between the private and public network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is NAT?

A

Network Address Translation.
Primarily deployed as a service translating between a private(or local) addressing scheme used by hosts on the LAN and a public(or global) addressing scheme used by an internet facing device.
Stores port numbers and their associated private IPS in a translation table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is PAT?

A

Port Address Translation
aka NAT overload.
Enables multiple devices on a private network to share a single public IP address.
Particularly useful for organizations with a limited number of public IP addresses.

22
Q

Explain a dynamic NAT vs a Static one.

A

Static NAT maps an internal IP address to a static port assignment. Static NAT is typically used to take a server on the private network (such as a web server) and make it available on the Internet

Dynamic NAT automatically maps internal IP addresses with a dynamic port assignment. On the NAT device, the internal device is identified by the public IP address and the dynamic port number. Dynamic NAT allows internal (private) hosts to contact external (public) hosts, but not vice versa. External hosts cannot initiate communications with internal hosts.

23
Q

What is the basic function of a firewall?

A

traffic filtering

24
Q

What are host based firewalls?

A

Software firewall that is installed on that computer.
Only protects the computer it is installed on.

25
What is a network based firewall?
A combination of hardware and software. Protects the entire network
26
How do packet filtering firewalls work?
It is configured by specific rules in a network ACL (access control list) Rules can be based on information in the following headers: IP filtering, Protocol ID type (TCP, ICMP routing protocols etc.), Port filtering/security
27
What is another word for inbound and outbound traffic?
inbound= ingress, outbound = egress
28
Explain the difference between a stateless and stateful firewall.
Stateless: Packet filtering firewalls are stateless meaning they do not preserve information about the connection between two hosts. Each packet is analyzed independently with no record of previously processed packets. Stateful: Maintains stateful information about the session established between two hosts. Information about each session is stored in a dynamically updated state table. Operates on layer 5 of the OSI model.
29
List hybrid topologies
Hierarchal star: The links between nodes in the tree are referred to as backbones or trunks because they aggregate and distribute traffic from multiple different areas of the network. Hierarchical Star-mesh: Nodes at the top of the hierarchy can be configured in a partial or full mesh for redundancy. Switches or routers lower in the hierarchy establish star topologies that connect end systems to the network. Star of stars—A WAN might be configured as a hub and spoke between a central office and branch offices, with each site implementing a star topology to connect end systems. This is also referred to as a snowflake topology.
30
What are the principals for a three tiered hierarchy?
access, distribution and core
31
Describe the access layer of the three tiered hierarchy.
aka the edge layer. allows end user devices to connect to the network End systems connect to switches in the access/edge layer in a star topology, there are no direct links between the access switches.
32
Describe the distribution/aggregation layer of the three tiered hierarchy
provides fault-tolerant interconnections between different access blocks and either the core or other distribution blocks. Each access switch has full or partial mesh links to each router or layer 3 switch in its distribution layer block. This layer is often used to implement traffic policies, such as routing boundaries, filtering, or quality of service (QoS).
33
Describe the core layer of the three tiered hierarchy
provides a highly available network backbone. Devices such as client and server computers should not be attached directly to the core. Its purpose should be kept simple: provide redundant traffic paths for data to continue to flow around the access and distribution layers of the network
34
What is a collapsed core?
A 2 tiered 3 tier hierarchal model. Better for medium sized network that do not need separate core and distribution layers.
35
What is the primary purpose of hybrid topologies?
To ensure network reliability and availability through redundancy and fault tolerance.
36
What is the primary difference between a router and a layer 3 switch?
The primary difference is that a layer 3 switch cannot usually perform WAN routing and works with interior routing protocols only. It is designed for high-speed routing within a LAN environment.
37
What does trunk porting do?
AKA tagged ports Its a port configuration that allows allows multiple VLANs to connect through a single port. Also keeps each VLANs traffic in its own lane. Interconnection between switches are referred to as trunks.
38
What network design goals can VLANs and subnets be used to acheive?
Breaking up broadcast domains Divides a network into logically distinct zones for security and administrative control. Can be used to group hosts and appliances with similar performance characteristics.
39
What are trunks?
Backbone link established between switches and routers to transport frames for multiple VLANs.
40
How are VIDs (VLAN IDs) normally defined?
By the 802.1Q standard. Under IEEE 802.1Q VLAN traffic is identified by a tag inserted in the Ethernet frame between the source address and EtherType fields.
41
What is the difference between tagged and untagged ports?
Untagged: for switch ports that will only ever participate in a single VLAN, also referred to as a access port or a host port. If a frame needs to be transported over a trunk link the switch adds the relevant 802.1Q tag. Untagged ports don't add or remove VLAN tags from frames within the same VLAN. A tagged port is one that is operating as a trunk and is capable of transporting traffic addressed to multiple VLANs using the 802.1Q format.
42
What is the purpose of voice or auxiliary VLAN?
A feature of VoIP handsets and switches to segregate data and voice traffic without having to configure a trunk.
43
What is a native VLAN for?
Used for any untagged frames received on a trunk port. The native VLAN is initially set to the same VLAN ID as the default VLAN, you should change this for it helps mitigate VLAN hopping attacks.
44
Tell me about the default VLAN.
The VLAN with ID 1 is referred to as the default VLAN, this cannot be changed. All ports on a switch default to being in VLAN 1. When implementing VLANs avoid sending user data traffic over the default VLAN. It should remain unused or used only for inter switch protocol traffic, for example STP. Ensure unused ports are not assigned to VLAN1.
45
What are subinterfaces?
Configuring a routers physical interface with multiple virtual interfaces connected to separate VLAN IDs over a trunk. The subinterface acts as the default gateway for its VLAN/subnet. The router forwards inter-VLAN traffic between the subinterfaces.
46
What are SVI (Switch virtual Interface)?
In a layer 3 switch it can route between VLANs. Each VLAN can be assigned a SVI to act as the default gateway
47
What is a router on a stick?
A "router on a stick" is a configuration where a router with a single physical interface is connected to a trunk port on a switch. This single interface is configured with multiple subinterfaces, each serving a different VLAN.
48
What must be configured if DHCP services are located in a different VLAN from the client devices?
A DHCP Relay. It forwards DHCP requests from clients to the server across VLANs.
49
What is the preferred route selection when there are paths to the same destination with different prefix lengths?
The route with the longest prefix length is the most specific path and is preferred in route selection.
50
What factor is considered when there are identical paths with equal administrative distances to a destination?
When there are identical paths with equal administrative distances, the path with the lowest metric value is preferred, as it represents the most efficient route.