why don't we design LANs so that there is no switching loops?
A network loop is a network configuration where there is more than one path between two computers or devices, which causes packets to be constantly repeated. This is due to the fact that a hub will blindly transmit everything it receives to all connections — other devices, such as switches and routers, might be able to reduce or eliminate this problem.
The loop creates broadcast storms as broadcasts and multicasts are forwarded by switches out every port, the switch or switches will repeatedly rebroadcast the broadcast messages flooding the network. Since the Layer 2 header does not support a time to live (TTL) value, if a frame is sent into a looped topology, it can loop forever.
The server in the figure sends a unicast frame to Router C. Since it’s a unicast frame, Switch A forwards the frame, and Switch B provides the same service — it forwards the unicast. This is bad because it means that Router C receives that unicast frame twice, causing additional overhead on the network.one: The MAC address filter table will be totally confused about the device’s location because the switch can receive the frame from more than one link.
LOOP AVOIDANCE
Redundant links between switches is a good idea because they help prevent complete network failures in the event one link stops working. However, they often cause more problems because frames can be flooded down all redundant links simultaneously, this creates network loops.
A looped topology is often desired to provide redundancy, but looped traffic is undesirable. The Spanning-Tree protocol was originally designed for bridges. Today, it is also applied to LAN switches and routers operating as a bridge. Spanning-Tree protocol ensures that all bridged segments are reachable but any points where loops occur will be blocked.
a) Why can we have the packet header in virtual circuit switching to be much smaller than the typical header in datagram switching? b) Assume that we are using datagram switching (i.e. we are not using virtual circuits). Is it possible to guarantee bandwidth to each source-destination pair? Are there disadvantages of doing this using datagram switching? c) What is the big-O complexity of processing the header of a packet if we are using virtual circuits? Briefly explain why. d)...
What is an Observer Design Pattern? List when to use this design patter? List why we don't want to use this design pattern.
a) Assume that we are using datagram switching (i.e. we are not using virtual circuits). Is it possible to guarantee bandwidth to each source-destination pair? Are there disadvantages of doing this using datagram switching? b) What is the big-O complexity of processing the header of a packet if we are using virtual circuits? Briefly explain why.
Why can't we design a combinational digital logic circuit to control a light so that the light changes state any time its "push-button" switch is pressed? (Press and release the button, and the light changes state. Press and release again, and the light changes state again.) Try to list as many properties this circuit needs to have that we cannot model as you can! Reminder: a "combinational digital logic circuit" takes one or more boolean inputs and feeds them through...
why switching on strings more expensive than switching basic data types?(Be specific)
Why don't we care that parameter names match argument names?
Why can't ionic bonds ever be "double" or "triple", and why don't we represent them as "lines between atoms" like we do for covalent bonds? there is one reason that answers both questions.
Why is it so important to design the physical environment of a bar with a particular type of customer in mind?
Define inflation and unemployment, and why don't we like (too much of) either of them?
Why do we need different tools for analyzing the financial statements? Don't the numbers in the financial statements speak for themselves?