tcp/ip protocol Flashcards

1
Q

why communication protocols necessary for communication over the network?

A

ensures successful transmission and reception of messages btwn client and server

(context: LAN) protocols needed to route data frm LAN to internet vice versa

(context: RELIABLE communication protocol) protocols can incl error detection & correction to enable communication to take place more readily

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

what are the 4 network layers

A

application layer
transport layer
internet layer
network link layer

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

application layer

A

application handles data acc to relevant application protocols (eg. HTTPS DNS)

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

transport layer

A

data arrives at comp & uses DESTINATION PORT NUM to decide which app/service data is to be transmitted to (COMP TO APP)

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

internet layer

A

data is transmitted frm COMP TO COMP by identifying source/DESTINATION IP ADDRESS

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

network link layer

A

MAC ADDRESS is used to transmit data OVER PHYSICAL MEDIUM (eg cables / internet is transmitted thru em waves tht travel thru air / converting data frm bits/bytes to str, encoding/decoding)

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

problem with IPv4 address + soln using IPv6

A

only hv abt 4bil addresses avail, running out of avail IP addresses

:. IPv6 also deployed (used tgt w IPv4)
IPv6 represented in 8grps of 4 hex char (16bits) :. provides 16^(8x4) = 16^32 = 3.4x10^38 possible addresses

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

private IP address

A

(random) users unable to connect to remote server w private IP address, req public IP of server to connect

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

routing protocols (internet layer)

A

router stores a mapping of destination addresses to gateway addresses in the routing table. it chks the destination address of incoming data packets against the routing table to decide which address to route the data packet to

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

DNS protocol

A

after checking local cache for existing record, client requests DNS lookup through DNS resolver which then sends request to DNS root server
which redirects resolver to TLD (top level domain) name server
which directs resolver to authoritative DNS server which returns IP address of its web server
resolver returns IP address of web server to client

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

purpose of DNS protocol

A

associate domain names w ip addressess
enable client to access server using domain names instead of ip addresses

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