Networking Flashcards

1
Q

Protocols

A

How machines talk to each other even though hard/software is different

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

What are Packets?
At what layer are they used?
What are two examples?

A
  • streams of bits running as electric signals on physical media used for data transmission
  • ex: wire = LAN, air = wifi
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Networking

A

exchanging information between networked computers

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

How are electrical signals interpreted?

A

through bits (0s and 1s) that make up the information

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

Structure of protocol packet

2 parts

A

header and payload

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

What’s the purpose of the packet header?

does 2 things

A
  • has protocol-specific structure

- ensures receiving host correctly interprets payload and can handle communications

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

packet payload

A

contains actual info, ex: email message, file content

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

What does the IP protocol header contain?

How many bits is it?

A
  • 160 bits (20bytes) long

- contains info to interpret content of IP packet

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

What do the first 4 bits of the IP header identify?

A
  • identify IP version

- ipv4 or ipv6

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

What do the 32 bits of the IP header represent? (position 96)

A

represent source address

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

What do the 4 bytes after the source address in the IP header represent?

A

represent destination address

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

Protocol Layer[s] (4)

hint: ATNP

A
  • Application
  • Transport
  • Network
  • Physical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What’s the point of the Application Layer?

What are some examples?

A

Make application work

- ex: email client, ftp, browser

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

What is the purpose of the Transport Layer in relation to data/packets?

What is one main example?

A

Transport data between processes

- ex: between server and client programs

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

What does the Network Layer do?

A

Identify hosts/computers on a network

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

What is the Physical Layer’s relationship to packets?

A

Use physical media to send packets (transmit data)

17
Q

What are the 7 OSI layers?
Are they used today?

ISO/OSI (open system interconnection)

A

7 layers, used as reference but never implemented

Physical, Data Link, Network, Transport, Session, Presentation, Application

18
Q

How does Encapsulation work in relationship to packets and packet components?

A
  • Entire upper protocol packet (header + payload) is payload of the lower one
  • every packet adds its own header to the payload
19
Q

What is another name for TCP/IP?

What is TCP/IP stack and where is it used?

A
  • aka: IP protocol suite
  • real world implementation of networking stack
  • protocol stack used on the internet
20
Q

What are the TCP/IP layers?

hint: 4, ATND

A
  • application, transport, network, data link
21
Q

What is the Internet Protocol in charge of delivering and to who?

How does it utilize IP addresses?

A
  • in charge of delivering datagrams (packets) to hosts in communication
  • uses IP addresses to identify a host
22
Q

What is another name for a datagram?

A

aka: Internet Protocol packets

23
Q

Where is IPv4 used?

How many bytes/octets?

A
  • used by vast majority of networks
  • 4 bytes / octets
  • each byte has 8 bits
24
Q

what network are the addresses 0.0.0.0 - 0.255.255.255 reserved for?

A

reserved for “this” network

25
Q

What are the IP addresses 127.0.0.0 - 127.255.255.255 reserved for?

A

reserved for local host

26
Q

What are the addresses 192.168.0.0 - 192.168.255.255 reserved for?

A

reserved for private networks