Forwarding Approaches Flashcards
(5 cards)
What is a datagram/connectionless?
Is a self contained, independent unit of data, has complete destination address, uses a forwarding table. Easy to figure out for small networks, but harder for larger networks since it can contain multiple paths between a pair of hosts. Data is routed independently.
How does a datagram work?
- Host can send packet anywhere, anytime
- Any packet arrives can be forwarded by switch
- Sender won’t know if network can deliver
- Packets are forwarded independently but packets can use different paths between source and destination
What is virtual circuit/connection oriented?
Virtual circuit is connection oriented, needs a connection state in each switch between source and destination using a VC table. New connection link is assigned a new VCI for connection, as routes are established before data transfer.
VC vs. Datagram
VC:
- setup needed before sending data
- less overhead packet
- all packets follow same route
- fail = connection breaks
- after fail, needs clean up
Datagram:
- can send anytime
- more overhead packet
- packets take different routes
- can handle fails
- no clean up after fail
What is source routing?
Information about network topology from source host, assumes that switch knows topology but doesn’t know where big header is. Sender will specify the path through network for packet to follow.