Physical Flashcards

Addressing, serial, parallel

1
Q

why do we need different types of addresses?

A

at application layer we may want addresses to be understandable so need to convert between addresses

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

Why does ethernet needs addresses?

A

to be unique on the network

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

why cant we assign them manually or get the manifucaturer to number each card?

A

if we bought from different manufacturers they might have the same number

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

what do part 1 of ethernet addresses mean?

A

uniquely identifies the manufacturer (needs central control)

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

what do part 2 of ethernet addresses mean?

A

uniquely identifies the card (controlled by manufacturer

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

How many bit MAC address does ethernet use?

A

48

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

what do IP addresses need to identify?

A

network
machine

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

are IP address split in 2 as well?

A

yes

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

How do IP layer send packets across ethernet?

A

if the machines are on the same local network they can be sent directly to that machine

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

what happens if they are not on the same local network?

A

we need to convert an IP adddress into MAC address

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

How do we convert IP into MAC address?

A

computer maintains a table in memory that maps IP to ethernet MAC address

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

but how do we populate the table?

A

we use ARP (address resolution protocol)

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

what does ARP contain?

A

the algorithm used
e.g packets sent, the response to receiving one, how theyre sent
how packets are formulated
e.g which bits of data contain IP address

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

what do we do if we want to send smth to machine B but dont know its MAC address?

A

we can use a broadcase packet and send a packet to ALL machines

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

how does broadcast packet work?

A

it uses a special address (all binary ones)

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

How do we get a computer to talk to another?

A

use RS232

17
Q

What is RS232?

A

consists of transmit pin, receive pin, ground
connect transmit to other receive pin and vice versa and ground to ground

18
Q

What is point-to-point link?

A

connects 2 computers together to communicate

19
Q

What type of transfer does RS232 use?

A

serial transfer - sent bit by bit

20
Q

what else is transmitted in RS232?

A

many parameters e.g how fast data is transmitted

21
Q

what does Asynchronous mean?

A

sender transmits when it wants, not synchronised with the receiver

22
Q

Whats the difference between serial and parallel transfer

A

parallel sends all at once while serial sends bits one after another at regular intervels

23
Q

what happens after serial transfer?

A

receiver peices them back together

24
Q

what needs to known for serial transfer to work?

A

the first bit received
how many bits are sent
how fast theyre sent

25
Q

why do we need to know first bit in serial transfer?

A

start bit and stop bit is used to identify start and end of each character

26
Q

what are the values of start and stop bit

A

0 and 1(line is kept at 1 until next character is sent)

27
Q

how does transmission of a character work in serial transfer?

A

it always begins with transition from a 1 to a 0
8 transmitted bits later it will return to 1 again

28
Q

what happens if it doesnt return 1

A

we have a framing error and need to resynchronise