cisco labs 2 Flashcards

to learn more about networking

1
Q

what is the difference between ping and traceroute in networking

A

ping is used to test whether a device is reachable and how long it will take to send and receive data while traceroute shows the exact route taken to reach the device. traceroute can still be used even if a ping is unsuccessful to show where the connection gets dropped.

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

what does CIDR notation 0.0.0.0 0.0.0.0 mean in networking

A

defines an ip block containing all ipv4 addresses
it also sets the gateway of last resort on a router, similar to ip default-gateway

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

how to configure rip routing protocol on a router

A

router rip
network address(without subnet/wildcard)
no auto-summary

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

which commands is used to debug a routing protocol like rip

A

debug ip rip

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

what is a multicast address

A

group of receivers/computers with ip address range from 224.0.0.0 to 239.255.255.255(class D)

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

difference between unicast, multicast, broadcast, anycast and incast

A

unicast is one-to-one, multicast one to may, broadcast is one to all, anycast is one to any, and incast is many to one.

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

what is administrative distance in networking

A

first criterion that a router uses to determine which routing protocol to use if two or more protocols provide route info for same destination

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

what is the difference between wildcard mask and subnet mask

A

wildcard mask is the inverse of the subnet mask it is used in ospf and eigrp setup of the network command

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

what happens if a route source has an administrative distance of 255

A

router dismisses that route and does not install it on its routing table

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

what is a floating static route

A

it is a backup route configured with a higher administrative distance than the primary route and therefore will not be in the routing table until the primary one fails

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

difference between ospf and rip

A

rip allows max of 15 hops while no restriction on hop count for ospf
rip has ad of 120 while ospf has ad of 110
rip uses udp while ospf uses ip
rip calculates metric using hop count while ospf uses bandwidth
rip has multicast address of 224.0.0.9 while ospf has multicast of 224.0.0.5 and 224.0.0.6

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

what is the difference between metric and administrative distance

A

AD is used to choose between multiple paths learned via different routing protocols while metric is used to choose between multiple paths learned with the same routing protocol

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

what is the difference between advertised distance and feasible distance in eigrp

A

advertised distance your neighbor tells you how far it is for him to reach the destination and feasible distance is total distance to the destination

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

will two routers on different rip versions experience connectivity

A

no, they have to be on the same version of rip

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

can you modify administrative distance of a standard routing protocol

A

It will make the protocol a static route depriving it its dynamic capability. Modification of administrative distance to be done only on static routes

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

what is a loopback interface and what is it purpose in networking

A

a virtual interface that is always up and reachable as long as at least one of the ip interfaces is operational. used for debugging since its ip can always be pinged.

17
Q

why do loopback interfaces go up immediately without having to be manually “no shut” like other interfaces

A

because the main purpose of a loopback interface is to stay up and be reachable.

18
Q

which commands configure a loopback interface

A

int loopback 0
ip add 10.0.0.0 255.255.255.255

19
Q

does a loopback interface have a mac address?

A

no, because it is a virtual interface.

20
Q

why are loopback interfaces configured with /32

A

because you cannot have more than one interface in a router in the same subnet. using /32 ensures the loopback interface cannot share the subnet with another interface in its subnet.

21
Q

what is the use of a passive-interface command in networking like eigrp

A

it stops the router sending and receiving hello packets on the interface where it’s configured.

22
Q

why is it best practice to have loopback interfaces as passive

A

to ensure it is advertised by the routing protocol but not waste resources sending and listening to its hello packets when there’s never going to be a router connected to it(its interface)

23
Q

how to prove eigrp is working in connected routers

A

show adjacencies using(show ip eigrp neighbors)

24
Q

what will happen if you use a wrong wildcard mask in eigrp

A

routers not in that wildcard mask subnets will not form adjacencies. It is crucial to confirm you have the right wildcard mask

25
Q

how do you stop advertising a particular subnet in a network using routing protocol eg rip

A

you make the interface with that subnet passive inside the routing protocol configs eg
router rip
passive-interface f1/1
network 203.0.113.0

26
Q

what is default-information originate used for in routing protocols

A

it advertises the default route to its neighbors if present in the routing table. eg ip route 0.0.0.0 0.0.0.0 203.0.113.2 is injected to the routing protocol and neighbors learn of that route that way