Cellulära nät och IoT Flashcards

1
Q

What is an example of a problem with telecommunication network?

A
  1. In a typical host/user data connection, the medium is often idle, unused.
  2. In a circuit-switching network, the connected devices need to transmit/recieve data at tthe same rate.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an upside to packet-switching compared to circuit-switching?

A
  1. There’s greater line efficiency, dynamic routing.
  2. Can perform data rate conversions.
  3. Under heavy traffic, the flow of data is slowed down, but not halted completely.
  4. Packets can have different priority from each other.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two switching techniques?

When is one preferred to the other generally?

A
  • A datagram approach treats each packet independetly from the others. This means they’ll take different paths and arrive at different times. The routers make up decisions on the spot on where to send the packets.
  • A virtual circuit approach has all packets being sent along a pre-planned route, similiar to circuit switching, but the route is not set in stone.

Longer data exchanges usually prefer a virtual circuit.

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

Why do we send data in small packets?

A
  1. Easier to check for errors.
  2. Quicker to transmit.
  3. Gives flexibility for routing.
  4. Can easily be standardized.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you compare the performance of a circuit switch, to a virtual circuit switch with pakets, with a datagram packet switching?

A

A circuit switch takes a while to set up, and then transmits continously.
A virtual circuit takes a while to set up and looks similiar to a circuit switch.
A datagram packet takes no time to set up, but the packets have node delay since they are not routed beforehand.

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

What are end systems and intermediate systems in networks?

ES & IS

A

An end system is a device, like a server or laptop which is attached to the network.
The networks are connected by devices refered to as intermediate devices. (routers and switches).

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

What is DHCP? What is it used for.

(hint: host configuration protocol)

A

DHCP stands for dynamic host configuration protocol. It’s an IP with the ability to dynamically assign IP addresses to hosts. It was invented to deal with IP shortages since IPv4 is limited.

It’s also useful for mobile systems (phones, tablets) which travel among different networks.

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

Is the IP header attached to the datagram before or after LLC?

A

The network layer is attached before the LLC since the network layer is above the data link layer.

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

If end system A wants to send to end system B in a different network, where will the MAC address point? What will the IP be?

A

-The MAC address will point to the router connecting the networks as that’s where the datagram is heading.
-The IP header will be focused on the final destination, the IP of end system B.

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

Why do we use fragmentation when sending datagrams?

A

Different networks have different standards, dividing the packet into smaller pieces means it can pass different standards.

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

What is a DHCP server?

A

A server which provides available IP addresses upon a DHCP request.

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

What is HTTP?

A

HTTP stands for Hypertext transfer protocol and is the foundation protocol for the WWW, used by all clients/server involving hypertext. The data transfered can be plaintext, audio etc.

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

What is a proxy?

A

A proxy is a forwarding agent, forwarding URL requests.

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

What is a gateway?

A

A gateway is a server which acts on behalfs of other server which can not communicate with the client directly.

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

What is a tunnel?

A

Simply a relay point between two TCP connections. No changes are done.

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

What is Cache?

A

A facility which may store previous requests and responses for handling new requests.

17
Q

What are the two types of messages in HTTP?

A

Request messages: From client to server
Response messages: From server to client.