Chapter 3 Flashcards
Datagrams
Include enough info in packets to indicate to a switch what the destination of the packet is.
Fowarding table
A switch consults a forwarding table to decide where to forward packets
Datagram Characteristics
- Connectionless
- Host can send a packet anywhere at any time
- This host doesn’t know whether or not that host is actually present on the network or if the network can actually deliver this packet.
- Each packet is forwarded independently of one another.
- Can usually use alternate routes to forward packets.
Virtual Circuit Switching
Set up a virtual connection between source and destination hosts.
Considered a connection-ortiented model
Virtual Circuit Table
Setting up a connection state consists of an entry in a VC (Virtual Circuit) table in each switch through which the data will be transferred.
Virtual Circuit Identifier
Have unique identifiers for connections, called VCI (Virtual Circuit Identifier). Obviously, where a connection is not present in a table, a new, unique VCI is created and added to the table.
Permanent Connection State
- Network Admin configures the state.
- NA needs to determine a path and pick unsued VCI values
Signalling Connection State
- Host can send a message into the network to establish a state
- Packet is routed from host A to host B as in datagrams, but each switch
along the way creates entries to the VC table for the connection. - After all entries are created along the route, acknowledgements are sent back.
Teardown message for signalling
Host destroys connection to host B by sending a teardown message to it’s switch.
* Switch removes entry from table and forwards message
Signalling Characteristsics
- At least one RTT before data can be sent
- If a switch or link is broken then a new connection has to be made
Pros of Signalling
- Once the ACK is received then we know a lot about the network
- Can allocate resources to the VC to allow for a good QoS
Comparison of VCI with Datagram
- Datagram has no connection phase
- Each arriving packet competes for available buffer space
- If there are buffers the packet will be dropped
- For each circuit in VC, each has its own QoS
User Network Interface
- Generic Flow Control: GFC - 4
- Virtual Pathway Identifier: VPI - 8
- Virtual Cirtuit Identifier: VCI - 16
- Management/CongestionControl: Type - 3
- Cell Loss Priority: CLP - 1
- CRC - 8
- Payload 384
Asyynchronous Transfer Mode
- Connection oriented packet switched network
- Packets = cells
- Fixed packet size = Easier to switch
Source Routing
- All info about the topology is given by the source host to switch the packet
- 3 methods used to get this information
- Rotation
- Stripping
- Pointer
Bridge
- A node that forwards all LAN frames from one Ethernet to another Ethernet
- Solves the repeater problem
Limitations of using a repeater to connect Ethernet
- No more than 4 repeaters in between hosts
- No more than a total of 2500m
Learning Bridges
- Uses forwarding table so that it doens’t always just forward to ports
Implementation of Learning Bridge
- Build their own table
- Look at each source address of each frame
- Record the info
- Timeout associated with each entry
- If an address is not on the table, the frame gets forwarded to everyone
Spanning Tree Algorithm
- Elect the bridge with the smallest ID as the root of the spanning tree
- Make root bridge forward frames out over all its ports
- Each bridge computes the shortest path to the root and notes which of its ports are on
this route - This port is selected as the bridge’s preferred path to the root
- All the bridges connected to a given LAN elect a single designated bridge that will be
responsible for forwarding frames toward the root bridge. Chosen as closest to root. - The bridge forwards frames over those ports for which it is the designated bridge.
Broadcast
each bridge forwards a frame with a destination broadcast address out on each active (selected) port other than the one on which the frame was received.
Multicast
same way, but each host decides whether or not to accept the frame. Can optionally prune the spanning tree for multicast messages
Limitations of bridges
- Not scalable
- Spanning tree algo does not scale
- Broadcast doest not scale
Virtual LAN
- Allow a single extended LAN to be partitioned into several seemingly separate LANs
- Messages can only be sent between VLANs with same identifier
Internetwork
collection of networks interconnected
Networkq
a directly connected or switched network.
Internet Protocol
Defines infrastructure that allows nodes and networks to a function as a single logical internetwork
Routers
Nodes which interconnect the networks
Packet Delivery Model
- Connectionless model for data delivery
- Best-effort delivery (unreliable service)
- Packets are lost
- Packets are delivered out of order
- Duplicate copies of a packet are delivered
- Packets are delayed for a long time
Global Addressing Scheme
Provides a way to identify all hosts in the network