Day Of Exam Flashcards

1
Q

TCP/IP

A

Transmission Control Protocol. Internet Protocol.

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

Four layers of TCP/IP

A

Link Layer (host / network interface layer), Internet Layer, Transport Layer, Application Layer.

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

Describe Link Layer:

A

Corresponds to OSI physical and data link layers.

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

Internet Layer, describe:

A

Defines IP. Two main functions: 1)host addressing & identification. 2) Packet Routing, forwarding packet to next router.

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

Transport Layer describe:

A

Same as OSI model. Creates distinct network connection. error control. application addressing (port numbers). Two end to end message transmission protocols: TCP & UDP

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

Application Layer describe:

A

Contains higher level protocols like FTP, DNS, SMTP

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

TCP?

A

Transmission Control Protocol (reliable connection oriented protocol).

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

UDP?

A

User Datagram Protocol (unreliable connectionless protocol).

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

MAC?

A

Medium Access Control. A component of the Link Layer.

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

What does MAC do?

A

This protocol deals with issues like addressing, assigning multiplex channels to different users, avoiding collisions. Resolves contention.

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

Channel Allocation Problem?

A

The problem of allocating a single broadcast channel amongst many users.

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

Channel Allocation Problem solutions?

A

Static: FDM, TDM. Dynamic: (Collision)Pure Aloha, Persistent CSMA, non-persistent CSMA, CSMA/CD. (non-collission) bit map protocl, binary countdown, adaptive tree walk.

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

When are collision based protocols good?

A

when network load is low.

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

When are collision free protocols good?

A

when network load is high

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

Pure Aloha:

A

Nodes send regardless of other nodes. Collision detected, wait then send again.

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

Slotted aloha:

A

Divide into intervals corresponding to frame. Efficiency doubled on pure aloha.

17
Q

Carrier Sense?

A

Where a station can check if channel is in use.

18
Q

CSMA / CD

A

Carrier Sense Multiple Access / Collision Detection.

19
Q

Ethernet: 4 parts to it

A

Medium (lead), Segment (a single shared medium), Node (devices attached to the segment), Frame (nodes communicate in frames).

20
Q

TCP header as list:6

A

Source destination port, sequence number, acknowledge number, checksum, window size, flags

21
Q

TCP 4 characteristics:

A

Provides reliable delivery. User acknowledged delivery.

22
Q

TCP header:

A

Source and destination port, sequence number, acknowledged number, checksum, window size, flags.

23
Q

ARP?

A

Address resolution protocol. Solves problem of mapping MAC to IP.

24
Q

ICMP?

A

Internet control message protocol. Internet monitored by routers, something wrong is reported by ICMP.

25
Q

Subnet mask?

A

Separated IP into network and host addresses. Find subnet address by performing but wise AND operation on IP and subnet mask.

26
Q

NAT?

A

Network address translation. Way to add more addresses. Translates packets going to Internet.

27
Q

IP header?

A

Version, IHL, type of service, total length, ID, fragment offset, time to live, protocol, checksum, source address, destination address, options. 32 bits.

28
Q

Conmectionless service?

A

Data sent between nodes without knowing if destination busy. UDP is connection less.

29
Q

Connection less algorithms, static and dynamic?

A

Static: shortest path-examine each node in turn, dynamic: vector distance routing - router tables used.

30
Q

Three way handshake?

A

H1 to h2: connection request (CR) TPDU with seq=x.
H2 to h1: replies with ACK TPDU ack=x and seq=y.
H1 to h2: sends data TPDU with ack=y, seq=x

31
Q

Two types of releasing connection:

A

Asymmetric(1 can break), symmetric(communication after break).

32
Q

TPDU? And layout?

A

Transport Protocol Data Unit. Frame header, packet header, TPDU header. Segment for TCP, Datagram for UDP.