Test 2 Study Guide Flashcards
What are the differences in phases between a virtual circuit and a datagram network?
A virtual circuit has a setup and teardown phase; datagram does not.
What network type treats each packet independently?
Datagram
Which layer is circuit switching used at?
The physical layer.
In the datagram network, do packets follow pre-set routes, or can they take any route?
They can take any route.
How does the simple parity check work?
A parity check happens when an extra bit is added to the last bit of a dataword. Whether or not the bit is a 1 or a 0 depends on the number of 1s in the dataword. If the number of 1s is odd, a 1 is added, making the number of 1s even. Otherwise, a zero is added.
This way, if a bit (but only one) is inverted in the dataword, the parity bit will give it away, although not which bit.
What is CRC?
How does CRC work?
CRC stands for cyclic redundancy check, wherein a code block is shifted (rotated to the left, transforming 1011000 to 0110001. Somehow, this allows for error correction.
Anyways, this thing works as follows:
The dataword has a certain number of 0s bits added on to the end of it, bringing it up to the necessary size. This is fed into a generator, which divides it by the divisor, generally 1+ the number of added 0s. The quotient is discarded, and the remainder is added on to the original dataword, creating the codeword.
When this codeword is received, a similar generator reverses the process. If the additional bits on the end of the decoded codeword are all 0s (as it was initially), all is well. A non-zero result means there was an error.
What is CHAP?
Challenge-Handshake Authentication Protocol.
How does CHAP work?
Challenge-handshake authentication protocol involves the receiver sending a challenge to the sender, who responds with a password (AKA “secret”), which is combined with the challenge and sent back for verification. Challenge-handshake authentication protocol is used in the point-to-point protocol.
What does PPP stand for?
Point-to-point protocol.
In PPP, what does the address field define?
It defines NOTHING. Since it’s point-to-point, it doesn’t need an address, it’s all 1s.
What is the data rate of fast ethernet?
100 Mbps
What is the data rate of gigabit ethernet?
1,000 Mbps
What is padding?
Padding occurs when the data field is below the minimum byte size, so extra 0s are added.
How would you determine if a MAC address is unicast or multicast?
If the 2nd bit is even, it is unicast. If the 2nd bit is odd, it’s multicast.
What field in PPP handles error control?
The FCS field handles error control in PPP.
In what layer does error correction for TCP/IP?
For TCP/IP, error correction is handled at layer four, where TCP handles retransmissions.
What does the protocol field do in PPP?
In PPP, the protocol field defines what’s being carried in the data field.
In the ethernet frame, what handles error correction?
The CRC handles error correction in CRC.
How do ethernet switches learn MAC addresses?
Ethernet switches learn MAC addresses from the source address of incoming frames.
Does CSMA/CD collision detection work on wireless? Why or why not?
Carrier-sense mulitple access / Collision detection does not work on wireless. It cannot detect collisions as it cannot look for collisions while transmitting, in addition to the hidden node problem, which occurs when an AP is out of range of another, but is still part of the network through visible APs.
What’s imprinted on any ethernet network adaptor?
A 48-bit MAC address.
In what layer(s) do the wired LANs operate in?
The bottom two layers of the TCP/IP protocol suite.
In what layer(s) do wireless LANs operate in?
They operate in the lowest two layers of the TCP/IP protocol suite.
What is the most secure of the wireless protocols?
WPA-2
What is contained within the address frame in PPP?
All 1s are contained in the address frame, due to the fact that PPP is point to point.