Physical Flashcards
Addressing, serial, parallel
why do we need different types of addresses?
at application layer we may want addresses to be understandable so need to convert between addresses
Why does ethernet needs addresses?
to be unique on the network
why cant we assign them manually or get the manifucaturer to number each card?
if we bought from different manufacturers they might have the same number
what do part 1 of ethernet addresses mean?
uniquely identifies the manufacturer (needs central control)
what do part 2 of ethernet addresses mean?
uniquely identifies the card (controlled by manufacturer
How many bit MAC address does ethernet use?
48
what do IP addresses need to identify?
network
machine
are IP address split in 2 as well?
yes
How do IP layer send packets across ethernet?
if the machines are on the same local network they can be sent directly to that machine
what happens if they are not on the same local network?
we need to convert an IP adddress into MAC address
How do we convert IP into MAC address?
computer maintains a table in memory that maps IP to ethernet MAC address
but how do we populate the table?
we use ARP (address resolution protocol)
what does ARP contain?
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
what do we do if we want to send smth to machine B but dont know its MAC address?
we can use a broadcase packet and send a packet to ALL machines
how does broadcast packet work?
it uses a special address (all binary ones)