Ethernet (w2-3) Flashcards
(35 cards)
what are the 7 OSI layers
(from top) Application, Presentation, Session, Transport, Network, Link, Physical
does an osi layer provide a service for the layer above or below?
layer above.
why is layering important?
for flexibility to modify one layer without affecting the others
What does the physical layer transfer?
bits across a physical link (ethernet)
Link Layer provides which feature? (and example of a link layer)
Addressing, for example, MAC addresses (eg Ethernet, Wi-Fi or 4g)
Network Layer provides which service?
Routing services, transfers packets across multiple links
explain the Transport Layer (and example)
transfers segments end to end from a process in one machine to a process in another (UDP or TCP)
Explain the Session Layer?
It allows information of different streams, perhaps originating from different sources, to be properly combined or synchronized.
explain Presentation Layer
Byte order, encoding of numbers, character codes and structures
Application layer incorporates which two layers?
Session and Presentation
Explain encapsulation in OSI
application data is encapsulated insude of packets with headers
CSMA/CD
Used in half duplex. Carrier Sense (don’t speak over top of broadcast) Multiple Access Collision Detection (if detected, back off then begin transmitting at random times)
Half vs Full Duplex, vs Simplex
Simplex: station can only either transmit or receive
Half duplex: Station can transmit and receive, but not at the same time
Full Duplex: Station can transmit and receive at the same time.
Catagory 5 cable vs Coaxial Cables
Coax is heavy and expensive. Also only half duplex where catagory 5 is full duplex
Difference between hub and switch
hub broadcasts information to all ports, switch learns which nodes transmit through which port, and sends out data only to the learned ports
What is one way computers can achieve some sort of timing immunity?
computers restart their timers every character, stops two timers drifting apart.
what is the clock rate of manchester encoding
twice the data rate, (slow)
what is the point of a crossover cable?
Crossover cables allow output of one device to be the input of the connect device. used when connecting two computers directly, or to link switches and hubs together.
how does 4b5b help timing recovery?
by not allowing more than 3 zero’s in a row, ensuring at least two transitions, which helps the receiver in clock recover.
how does 4b5b help recognize error/corruption in transmition?
4b5b output has 32 different patterns avaialbale (5^2), but only uses 16 of them. if the output is not one of those 16 options, you know you have a transmit/recieve error.
multicast vs broadcast vs unicast
Broadcast addresses all machines on the network, where multicast addresses all machines who want to listen. unicast is the usual case where only the addressee uses the message.
what does a network interface card receive by default, in terms of multicast vs broadcast vs unicast
all messages for its own unicast address, and all messages for broadcast.
CSMA/CD vs CSMA/CA
CD is collision detection and CA is collision avoidance. CA is used in wireless, where sender cannot detect incoming data while sending. CA involves listening if the medium is being used before sending
What is twisted pair and why is it used.
It is a type of wiring in which two conductors are twisted together, reducing electromagnetic radiation from the pair and improves rejection of external interference.