Midterm Flashcards
What is a two-node point-to-point topology and its attributes?
Two nodes, connected with a link.
- Simple topology
- Can serve as a building block for other topologies
- Also used in WAN point to point connections
What is a linear topology and its drawbacks?
- Multiple point-to-point connections in a linear fashion.
- Drawbacks:
- Data transfer between nodes may need to go through other nodes
- Poor fault tolerance
- Link bandwidth may not be well utilized
What is a bus topology? What is a problem and a solution
- Linear topology, but all nodes share a common link
- Better utilization, However:
- Transmission may collide
- Solution: Medium access control (CSMA/CD)
What are traditional/classical Ethernets (topology) based on?
Bus topology
What is a ring topology?
- Multiple nodes share a single link connected as a ring
- Orderly transmission without collision by token passing mechanism
- Special bit pattern circulating around the ring
- Only a node that ‘captures’ the token can send a message
What is the token in a token ring topology?
A special bit pattern that allows a node to send a packet.
What is a dual ring topology ( FDDI Network)?
Two opposing token ring topologies.
What is a star topology?
- Multiple nodes connected to a central hub
- Hub is like a collapsed bus - serves the same function –> data broadcast to all nodes.
- Has better fault tolerance than the bus topology
What type of topology is the CS building? Why?
A star topology.
What is a mesh topology?
- Multiple point-to-point links connected in an arbitrary topology
- Can be a full mesh (all nodes connected) or partial mesh (some links not present)
What is used for simple length extension?
repeater/hub
What is used for length extension and filtering
switch/bridge
What is used for extension + filtering and Interconnection of two topologies
Router
What is used for the interconnection of two different protocols (e.g. tcp/ip to DECNet)?
gateway
What is the main difference between a router and gateway?
- A gateway is for two different protocols and router is for different topologies.
How does the traceroute utility work?
ICMP protocol, TTL set to 1 and increments the value.
How does circuit switching works?
- A dedicated physical circuit or path is established between the source and destination.
- The circuit or path remains in place for the duration of the communication.
What are the advantages of circuit switching?
- Dedicated path
- Bandwidth guarantee for the entire duration
What are the drawbacks of circuit switching?
- Bandwidth cannot be shared
- Unused bandwidth is essentially wasted
- Message cannot be rerouted (faults or congestion)
How does message switching work?
- Each message is stored and forwarded from node to node
- No dedicated path or circuit is established
- Receiver need not be aware/ready to accept the communication
What are the advantages of message switching?
- No dedicated path –> better bandwidth utilization
- Paths can be shared –> unused bandwidth != to wasted bandwidth
- Messages can be rerouted
What are the drawbacks of message switching?
- Long messages can be an issue (exceed buffer)
- Link failure is network expensive (lose a whole message during transmission)
What is datagram packet switching?
- True packet switching
- Each packet is an independant independent entity - may be routed along different paths.
What are the advantages of datagram packet switching?
- No dedicated path
- No long messages
What are the disadvantages of datagram packet switching?
- Time overhead
- Space overhead
What is virtual packet switching?
- Hybrid of circuit switching and packet switching
- A route is established and all packets follow the same route.
- A route is a not a dedicated path
What are the advantages virtual packet switching?
- No dedicated path
- Reduce time overhead
- Reduce space overhead
What are the drawbacks virtual packet switching?
- Extra cost in routers to maintain tables
- In the case of a fault, the whole connection needs to be reestablish
What is the port number of FTP?
20 and 21