4.4 Your Computer on the Network Flashcards

1
Q

N/W

layer

handles comms between directly connected devices

A

link layer

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

N/W

layer

handles routing outside of individual networks and the unique addressing of devices beyond a single link layer network

A

network layer

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

N/W

layer

enables individual programs to connect to each other

A

app layer

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

N/W

comm endpoint for two programs talking to eachother

A

Socket

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

N/W

socket

connect processes running on same device

A

unix sockets

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

N/W

socket

connect apps using protocol that is fast but not resilient

A

UDP - User Datagram Protocol

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

N/W

socket

more reliable that UDP and confirm receipt of data

A

TCP - Transmission Control Protocol

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

N/W

query DNS info and provide verbose info about DNS queries and responses

A

dig

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

N/W

query DNS info and provide condenses output

A

host

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

N/W

configure N/W on Linux including N/W interfaces, addresses and routing

A

ip

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

N/W

test connectivity to remote device

A

ping

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

N/W

show socket info

A

ss

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

N/W

assign IP Address to ens33 of a host
IPv4

A

sudo ip addr add 192.168.10.10/24 dev ens33

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

N/W

assign IP Address to ens33 of a host
IPv6

A

sudo ip addr add 2001:0:0:abcd:0:8a2e:0370:7334/64 dev ens33

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

N/W

private ip address examples

A

192.168.10.1

172.16.57.47

10.100.49.162

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

N/W

entry would you add into the hosts file to assign 192.168.0.15 to example.com?

A

192.168.0.15 example.com

17
Q

N/W

What effect would the following command have?
sudo ip -6 route add default via 2001:db8:0:abcd::1

A

add a default route into the table that sends all IPv6 traffic to the router with an
internal address of 2001:db8:0:abcd::1

18
Q

N/W

DNS record type used to serve requests

Textual Data

A

TXT

19
Q

N/W

DNS record type used to serve requests

Reverse IP address lookup

A

PTR

20
Q

N/W

DNS record type used to serve requests

A domain that has no address of its own and relies on another domain for this information

A

CNAME

21
Q

N/W

DNS record type used to serve requests

Mail Server

A

MX

22
Q

N/W

e connects multiple networking interfaces. All interfaces connected to a bridge can
communicate as if they were connected to the same link layer network: All devices use IP
addresses from the same subnet and do not require a router in order to connect to each other.

A

bridging

23
Q

N/W

What option needs to be supplied to the ss command in order to view all established UDP
sockets

A

-u option shows all established UDP sockets

24
Q

N/W

command shows a summary of all sockets running on a Linux device?

A

ss -s