IXP, BGP and the Internet Flashcards

1
Q

Explain the purpose of mtr utility and what it typically shows.

A

mtr (my traceroute) is a computer program which combines the functions of the traceroute and ping programs in one network diagnostic tool. It provides real-time analysis of the path packets take to reach a destination, showing detailed information about latency and packet loss at each hop.

When an IP datagram is sent, its TTL is set (no. hops/routers it can pass through before the packet is discarded). As the packet passes through a router the TTL is decremeted until, when the TTL reaches zero, the packet is destroyed and an ICMP “time exceeded” message is returned to the sender.

traceroute + ping, TTL

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

What does settlement free mean?

A

benefit to both parties, no charge/cost between the two.

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

Explain what a PNI is.

A

Private Network Interconnect

a direct interconnect and peering between only two networks, across a layer 1 or 2 medium that offers dedicated capacity that is not shared by any other parties.

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

What does it mean when two networks peer?

A

peering is a voluntary interconnection of administratively separate Internet networks for the purpose of exchange traffic between the users of each network.

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

Explain what an IP transit is.

A

An Internet Transit is the service allowing network traffic to cross or “transit” a computer network, usually used to connect a smaller Internet Service Provider (ISP) to the larger Internet.

It facilitates the advertisement of customer routes to other ISPs, attracting inbound traffic towards the customer. At the same time, it advertises routes from other ISPs to the customer, soliciting outbound traffic from the customer to these networks.

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

What is the Default Free Zone?

A

the collection of all internet AS that do not require a default route to route a packet to any destination. // It is the “full” routing table, no default routes.

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

What is an Autonomous System?

A

a collection of Internet Protocol (IP) routing prefixes (address blocks) under the control of an Internet Service Provider (ISP). // It is a network managed by a single entity, uniquely identified by an ASN (AS number)

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

What is the Internet?

A

A network of interconnected networks. Each IP block/prefix is routed by a single network (AS). A network may have many IP prefixes. Each network is described by an ASN.

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

Explain what BGP is

A

a routing protocol that allows one network (AS) to signal to other networks the IP prefies that can be reached through it.

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

State and differentiate the three main means of interconnecting an AS with another AS.

A
  1. Transit: you are the customer to an upstream ISP (tier 1, wholsale ISP e.g. hurrican electric)
  2. Peerings: normally settlement free; IXPs, PNIs
  3. Customers: you are the ISP providing downstream connectivity.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the key parameters that are required for a BGP peering session?

A
  • A layer 2 connectivity between routers (physical link, IXPs etc)
  • a layer 3 subnet for IP communication
  • prefixes (routes to advertise over BGP
  • ASN
  • security (inbound/outbound prefix filters, AS path filters, next hop verification etc).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

In terms of a BGP what does “shortest path” mean?

A

the least amount of AS you have to pass through

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

What are some of the preferences when choosing the shortest path in BGP? mention 2 tie-breakers.

A
  • prefer the path with the shortest AS_PATH
  • prefer the path with the highest LOCAL_PREF (def:100)
  • prefer the path with the lowest MED (multi exit discriminator)
  • prefer the oldest path.

tie-breakers:
- prefer the path from the router with the lower router-id
- prefer the path that comes from the lowest neighbor address

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

Why was INEX founded?

A

the internet connectivity in ireland was extremely expensive, the speed of access was low and the local traffic was being routed to London/Amsterdam which made it inefficient

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

Explain what mandates are included in INEX.

A
  • provide high-speed reliable and resilient IP traffic exchange facilities
  • keep Irish traffic in Ireland
  • no ‘feature creep’ into other business areas
  • allow our national and international members route traffic more efficiently
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are IXPs?

A

Internet Exchange Point
a network facility that enables the interconnection and exchange of internet traffic between more than 2 autonomous sytems (only AS). It doesn’t require the internet network passing between any two AS to pass through any third AS, nor does it alter or otherwise interfere with such traffic.

17
Q

What is Irelands IXP?

A

Internet Neutral Exchange Association (INEX)

18
Q

What are some advantages of IXPs?

A
  • IXPs operate with a smaller and more manageable number of prefixes and routes compared to the broader internet, ensuring streamlined and efficient data transmission paths.
  • the proximity of networks at the IXP significantly reduces the time it takes for data to travel between them, resulting in faster and more responsive internet services.
  • traffic remains local as it is not being routed through distant servers, minimising unnecessary data travel
19
Q

What are some disadvantages of IXPs?

A

-IXPs require specialised physical infrastructure (such as data centers), which can be costly to set up and maintain. Smaller networks might face barriers to entry if they cannot afford to participate.
- security risks: a successful attack on an IXP, such as a Dedicated Denail of Service (DDoS) attack can potentially disrupt multiple networks that rely on it for connectivity
- as traffic volumes increase, an IXP can become a bottleneck if the infrastructure foesn’t scale appropriately. Heavy traffic can cause congestion especially if the exchange point has limited bandwidth or insufficient capacity.

20
Q

What happens when an AS joins INEX?

A

INEX Operations assigns you an IP address (one for each IXP in Dublin and one for Cork). They do a quarantine procedure. Your first BGP peering session is with the route collector (purely for diagnostic and monitoring purposes but mandatory).

21
Q

Explain what a Route Server is, what function it performs and why it is necessary.

A

A Route Server is a specialized BGP often used at IXPs. It facilitates the exchange of routing information between multiple networks (AS) without requiring each network to establish a direct BGP sessions with every other network at the IXP.
It does NOT:
-Change advertised routes in any way
-Put its own ASN in the AS path
The next-hop address is the other member’s router -route servers do not route traffic
It must be reliable, secure and trust-worthy.

22
Q

What is a BGP Anycast?

A

a network addressing and routing methodology in which a single destination address has multiple routing paths to two or more end point destinations. It is reliable and latent because if one network or service instance goes offline, your router’s BGP best-path algorithm will pick up the next best (closest) anycast advertisement.

23
Q

What are ISLs?

A

An InterSite Links is a connection established between two network switches to enable them to communicate and share data.
Multi-mode fibre (10GB @ 300m)
Single-mode fibre (10 GB @ 120km)

24
Q

Describe what D(WDM) is.

A

Wavelength division multiplexing is when you use lasers to send light through fibre systems. For example, when light bends when sent through a prism or a diffraction grating. different wavelengths bend by a different amount. We can run 1/10/100 G links on different colours (wavelengths).

25
Q

Explain how traceroute works and what it shows.

A

Traceroute is a network diagnostic tool that maps the path packets take from source to destination across an IP network. It provides details about each step along the way, including the time it takes (Round-trip Time /RTT) to reach each network device (hop),the IP address of each router, and whether packets are lost.

It uses the TTL Mechanism (Time To Live) which is a counter that determines how many hops a packet can traverse before being discarded. Traceroute sends packets with incrementally increasing TTL values, starting with 1. If the TTL reaches 0, the router discards the packet and sends back an ICMP “time exceeded” message to the source. It then increments the TTL to 2 and tries again.

26
Q

When running an /ip route print command on a router in GNS3, what does the route entry for destination 0.0.0.0/0 mean and why is this route entry particularly important?

A

it is the default route, used to direct packets to a gateway when no specific route for the destination exists in the routing table. It is particularly important because it ensures connectivity to external networks, including the internet, but acting as a “catch-all” route.

27
Q

When running an /ip route print command on a router in GNS3, how can you tell if an IP range is in the same AS or in a different AS?

A

in the flags section, the “b” tells you that the route is learned via BGP, which is used to exchange routing information between different AS.

28
Q

When running an /ip route print command on a router in GNS3, what is the meaning of the GATEWAY value shown and how might this affect a routing decision?

A

GATEWAY: represents the next-hop IP address/interface that a packet should use to reach a specific destination network. It affects the routing decision as it determines the exact next device the router will use to send packets along the path to their destination.