0

What is the Difference between Bridging, Switching, Forwarding a frame?

What is the difference between Control Plane Vs Forwarding Plane and Slow path Vs Fast Path? How are the above terms related to these?

Can someone explain how a packet travels from an ingress port (on an I/O card) to an egress port (on another I/O card)? What are the exceptions? Does each packet come to the CPU?

What logic or algorithms are used for making these decions?

  • The terminology for bridges, switches comes from various OSI layers Datalink layer and n/w & tranport layers respectively. I don't know much about the rest –  Feb 10 '10 at 16:41
  • 1
    This should be 3 or 4 separate questions, really... – Murali Suriar Feb 10 '10 at 18:42

1 Answers1

1

This is all manufacturer and device-specific. In some cases, it's even firwmare / OS specific.

Devices that move packets around (Ethernet switches moving Ethernet frames, IP routers moving IP datagrams, ATM switches moving cells) try to do so in the most efficient manner possible. This often means using custom chips (ASICs) with hardware-based algorithms to identify traffic flows and move them.

Often, the features of these hardware-based algorithms are limited (often with respect to policy-based traffic flow manipulation-- security, deep packet inspection, etc) and, when more advanced decision-making is necessary the ASICs will need to involve the device's CPU and firmware to make flow decisions.

Using the CPU and software to make the flow decision is generally much slower than a hardware-only path. In some devices, the CPU can make the decision for the initial packet, and will make an entry into a RAM-based table that the ASICs have access to so that future packets in the same flow can follow a hardware-only path.

Maufacturers aren't going to make the implementation details of their algorithms public because this is typically their "secret sauce" that helps to differentiate their gear in the marketplace. Further, these algorithms are typically dependent on features of the ASICs and underlying hardware that the devices are built upon.

You can infer, by reading up on protocols and learning HOW a packet should flow inside a switching / routing device. What the specific algorithms and optimizations are for a given device, though, aren't typically accessible to you.

Evan Anderson
  • 141,881
  • 20
  • 196
  • 331