190 likes | 303 Views
Q and A for Ch. 7, 13. IS 333. Coaxial cables. Q: Are coaxial cables a type of shielded twisted pair cables? A: See picture in the book. There is one wire down the middle with a wire mess around it. Copper vs. fiber.
E N D
Q and A for Ch. 7, 13 IS 333
Coaxial cables Q: Are coaxial cables a type of shielded twisted pair cables? A: See picture in the book. There is one wire down the middle with a wire mess around it.
Copper vs. fiber Q: Which is the most practical/efficient copper wire or fiber optics? Which is mostly used generally and is preferred, the optical fiber or the copper wire?" A: Copper is much cheaper and much easier to work with – you can splice it and cut it and fix it, etc. You can walk on it. Fiber is more expensive and you have to be careful about kinking it, breaking it, walking on it, etc. But fiber has higher bandwidth, lower signal degradation.
Copper vs. fiber (2) Q: How widely are fiber optic cables used compared to copper wires? It seems to me like most of the time copper wires are used, but I know that fiber optic cables are used but have never heard for what besides going very long distances. A: Fiber is used when higher bandwidth is needed – like between buildings on campus.
Communicating with light Q: How does light carry information across an optical fiber? A: Lasers/LEDs turn the light on and off and the receivers detect it. See 6.16 for an example of encoding.
Q: Can optical fibers end up with mixed up signals, since the reflection alters the speed and energy of the light traveling and eventually received? A: Signals do degrade, just as with copper. But, I think light over fiber degrades much less… There is lots of physics involved.
Network Topologies Q: Can you compare network topologies – their advantages and disadvantages? A: In practical terms for “regular” networks, the star is always used – with some redundant links, often. (For supercomputers, backplane networks, etc. you might use mesh,etc.)
Comparing Topologies • Bus: can easily plug in new machines, as long as they aren’t too close together. Only need one wire. But, if wire is cut, whole network is down. All machines get all transmissions. Only one machine can talk at once. • Mesh: very expensive – lots of wire. Lots of interfaces on each machine. But, contend only with the machine on other end. • Star: Contend only with one machine on other end. Affords more privacy. Requires a device in the middle to forward packets/signals. Can’t be expanded easily. Can use more cable. • Ring: not used much, afaik. Requires 2 interfaces per machine. If any two links go down, a section is isolated.
Important Point about Ethernet • Ethernet was originally a bus topology – plug multiple machines into one single wire. • Ethernet protocols still assume it is a bus topology – so sending a packet out on an Ethernet means multiple machines could see it. • The protocols do not assume if you send a packet out it goes to one machine at the other end of the wire (star topology).
New wiring/energy? Q: What are some other forms of wiring and energy being explored today? A: Most everything seems to be all about wireless – making it faster, traveling farther, or restricting its reach. Also, satellite internet is big, in some areas/applications.
Circuit-switching Q: How does multiplexing for circuit switching work? Specifically, how can multiplexing occur if circuit switching is supposed to guarantee an “isolated” point-to-point communication? A: A cable can support only a fixed # of channels. The endpoints manage the allocation of the channels. Each channel gets a frequency (FDM) or time slot (TDM). End-to-end channels form a circuit. Delivery guarantees can be made because the circuit is established before any data is sent.
Adv/Disadv of Circuit Switching • fixed # of “channels” and only max are assigned – so when data is available on a channel it can be sent without delay. • Can use high-priority circuits that get multiple channels – so more bandwidth, etc. • If channel is assigned and no data is sent, the bandwidth is unused/wasted. • Uses set-up phase, transmission, and tear-down phase.
Packet Switching Q: What exactly is packet-switching aside from just using packets to send the information? A: Packet switching “chunks” up the data, but doesn’t assign channels to packets. The packets are sent when they get to the front of the queue. So, less bandwidth is wasted, but there are not hard guarantees on delays of packets. (In fact, packets can be dropped if way too many arrive at the same time.)
Statistical Multiplexing Q: What is statistical about “statistical multiplexing”? A: Statistically speaking, if you have a reasonable amount of traffic on a network, your data will get through “pretty quickly.”
MAC addresses Q: Are all MAC addresses the same length? A: Yes: 6 octets (48 bits), written: xx:xx:xx:xx:xx:xx or xx-xx-xx-xx-xx-xx where each x is a hexadecimal digit (representing 4 bits) Note that the broadcast address is all 1s, so is written: ff:ff:ff:ff:ff:ff (12 hex digits, where each digit is 4 bits, all 1s.)
MAC addresses (2) Q: What are the other bits in the “most significant byte” of an IEEE MAC address (besides the multicast and global/local bits), and why are they read this way? Also, why 48 bits/6 bytes? A: I don’t know if the other bits have significance. And, multicasting is rarely used, afaik. I don’t know why they chose 48 bits, but it does make (theoretically) 248addresses, which is a lot.
Ethernet Frame Formats • Ethernet contains a header and a payload. • The header is just there to help get the data through. • Header contains dest MAC address, source MAC address, type of data in the payload (but no payload length?). • Data is sent with voltages so certain patterns are reserved to indicate a start of header (SOH), end of transmission (EOT), etc.
Byte and bit stuffing Q: Why would you use bit/byte stuffing rather than the header/footer method? A: You use both. Because a transmission is “couched” in these special patterns (SOH, EOT), you have to “escape” these patterns if they appear in the transmission.
Byte and bit stuffing (2) Q: I am confused with how the byte stuffing works. How is it that by turning SOH into ESC A, EOT into ESC B, and ESC into ESC C making it smaller? It seems like it would be bigger because you are replacing one thing with two now. A: You must have misread the text. It does make it bigger. But, that’s the price you pay for clarity.