Chapter 7 - IP addressing Flashcards

1
Q

What IP address denotes the default address.

A

0.0.0.0

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

What are Anycast addresses?

A

These are the addresses that we can assign to multiple hosts at the same time, though, a packet destined for such a anycast address is always delivered to a single host.
So basically whichever is the nearest host with this anycast address, gets that packet.

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

What are the private classes in IPv4?

A

Class A - 10.0.0.0 - 10.255.255.255
Class B - 172.16.0.0 - 172.31.255.255
Class C - 192.168.0.0 - 192.168.255.255

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

What is the first octet of different classes?

A

Class A - 1 - 126
Class B -> 128 - 191
Class C - 192 - 223
class D (Multicast) -> 224 - 239
Class E - 240 - 255

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

What is the loop back address in IPv6?

A

0::1

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

What hex numbers does Global unicast IPv6 address start with?

A

2000:: /3

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

What hex numbers does Link Local IPv6 address start with?

A

FE80:: /10

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

What hex numbers does unique local unicast addresses IPv6 address start with?

A

FC00:: /7

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

What hex numbers does multicast IPv6 address start with?

A

FF00:: /8

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

What 2002:: /16 used for in IPv6?

A

It is used with 6-4 tunneling.

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

How an IPv4 address would be denotes in IPv6?

A

0::FFFF:IP address

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

How EUI-64 (Stateless autoconfiguration works)?

A

Hosts get prefix - 64 bits, from the router.
Rest of the 64 bits are derived from MAC address of the host which is 48 bits long.
So a pad which is FFFE, is added in the middle of MAC address and also 7 bit of the MAC address is inverted.

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

What is IP dual stacking?

A

Dual stacking means hosts can support both the IPv4 and IPv6 communication at the same time.

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

What happens if the 6-4 tunnel goes through a router that has NAT enabled?

A

Tunnel gets broken.

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

What is the administrative distance of most common routing protocols?

A

EIGRP - 90, IGRP - 100, RIP - 120, OSPF - 110, IS-IS - 115, External BGP - 20, Static route - 1, Connected route - 0

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

Give me one difference between Distance vector routing protocol and Link state routing protocol?

A

Distance vector routing protocol share their whole routing table in its routing updates.
Link State routing protocols share only updates when some topology change occurs. They share the state of their links with the other routers.

17
Q

Define RIP2

A

It uses hop count as its metric and has a maximum hop count of 15.
RIP2 supports VLSM and auto summarization.
It sends its routing updates to a multicast address 224.0.0.9 after every 30 seconds.

18
Q

EIGRP - Enhanced interior gateway routing protocol - define it?

A

It is a hybrid protocol. It uses the concept of Autonomous systems. It creates 3 kind of tables - neighbor table, topology table, routing table.
It only sends updates out its interfaces when some topology changes occurs.
It uses DUAL (Diffusion update algorithim) to find the best route.
What key things does it look at to find the best path - it metric is bandwidth, delay of line/ link. (It might also use MTU, medium reliability, load to find the best path as its optional parameters).

Note - it is easy to configure in an internetwork as compared to other protocols like OSPF

19
Q

What is route redistribution?

A

It is an protocol/ algorithim that translates the routes learned via one routing protocol (For example - learned from RIP2 ) to EIGRP routes.

20
Q

Define Border Gateway protocol.

A

It is a path vector protocol. So during its routing updates, it sends the AS number of routers and the path vector information (hope by hop information of every device that a packet will travel through to reach the destination).

It also makes stateless routing and summarization possible. Which makes the routing tables to be smaller.

21
Q

Define OSPF.

A

Open Shortest Path First - It uses DIJKSTRA algorithim.
It also makes use of 3 tables.
It breaks down the big network into smaller areas. So there is a Area 0 to which every other area connects to.
Router that connects the area 0 to other areas in OSPF is called AREA BORDER ROUTER.
It supports both IPv4 and IPv6 networks but it keeps a sperate database for both of them.
It is more complex to maintain. It supports manual summarization.

22
Q

What is First Hop Redundancy Protocol?

A

this is a protocol with which we can configure multiple routers to be the default gateway for hosts in a network for redundancy purposes.
Ex of this protocol - HSRP, VRRP

23
Q

Define Hot Standby Redundancy Protocol.

A

HSRP allows us to configure one or more routers into a standby group that shares an IP address and MAC address and shares a default gateway.
HSRP.
It makes an HSRP group that consists of following routers - One Active router, one or more standby routers and virtual router.

These routers in this HSRP group communicates with each other using various timers using Multicast addresses.

24
Q

How do we get a virtual MAC address in HSRP?

A

So first 24 bits are the organizationally unique identifier. Next 16 bits in the address tell us that the MAC address is a well known HSRP MAC address. Finally the last 8 bits are the hexadecimal representation of HSRP number.

25
Q

Define Virtual Router Redundancy Protocol.

A

It is a IEEE open standard protocol.
Active router in VRRP is called the master router and the standby router is called the back-up router.

26
Q

What is the concept of router advertisement messages in IPv6?

A

So basically these are the messages that router sends after every few seconds to all-node multicast address (FF02::1) letting them know the network prefix if the need to create their own IP Address using EUI64.

Though, if a host needs an IP address, it can send router solicitation messages to all -router multicast address (FF02::2)

27
Q

What is neighbor discovery concept in IPv6?

A

To find out the MAC address of some node in the inter network, hosts can use neighbor solicitation message and neighbor advertisement messages.

28
Q

What is GRE (Generic Routing encapsulation)?

A

It is a general purpose encapsulation that allows transporting packets from one network through another network through a VPN.
It can also carry non-IP traffic and when implemented as GRE over IPsec tunnel, it supports encryption.

29
Q

When configuring a 6-4 tunnels, what we must configure on the routers to create a tunnel?

A
  1. Tunnel Source (which is an IPv4 addres)
  2. Tunnel mode
  3. a 6-4 IPv6 address that lies within 2002:: /16
30
Q

what is the average convergence time in RSTP topology?

A

5 seconds

31
Q

What protocols are available for dynamically configuring ether channels?

A

PAgP - Port aggregation protocol
LACP - Link Aggregation control protocol

32
Q

What protocols are used for VLAN identification when the data travels through the trunk ports?

A

ISL - Inter Switch Link
802.1Q - It adds a 16 bit extra header to the original frame. 12 bits out of 16 denotes the VLAN number. And 4 bits denotes the priority value of switch (which is a multiple of 4065 i think)

33
Q

Define VLAN Trunking protocol (VTP)

A

VTP is a protocol that manages VLANs in an internetwork. Any changes regarding VLAN addition or deletion are advertised to all the other switches in the internetwork via VTP.

VTP has 3 mode - Server mode, client mode, transparent mode.

Switches in server mode sends the updates regarding VLAN information.

Switches in transparent mode receives and forwards VTP messages but it does not share the same VTP data base as the other switches in VTP domain.

34
Q

What is DHCP snooping?

A

DHCP snooping is a switch features that prevents hosts from getting the IP addresses from illegitimate servers. So basically the switch port that is connected to some DHCP server is marked as trusted port.

In this process, switches also create a binding table in which it will snoop over the DHCP messages and will make a table of IP address and MAC address correlation.

ARP inspection process also uses this binding table.

35
Q

Define PoE - Power Over Ethernet

A

In PoE, power is supplied over ethernet cable.