Bridge
[Devices]

a virtual net device that bridges multiple LAN segments More...

Collaboration diagram for Bridge:

Classes

class  ns3::BridgeChannel
 Virtual channel implementation for bridges (BridgeNetDevice). More...
class  ns3::BridgeNetDevice
 a virtual net device that bridges multiple LAN segments More...
class  ns3::TapBridge
 A bridge to make it appear that a real host process is connected to an ns-3 net device. More...

Detailed Description

a virtual net device that bridges multiple LAN segments

The BridgeNetDevice object is a "virtual" netdevice that aggregates multiple "real" netdevices and implements the data plane forwarding part of IEEE 802.1D. By adding a BridgeNetDevice to a Node, it will act as a "bridge", or "switch", to multiple LAN segments.

By default the bridge netdevice implements a "learning bridge" algorithm (see 802.1D), where incoming unicast frames from one port may occasionally be forwarded throughout all other ports, but usually they are forwarded only to a single correct output port.

Attention:
The Spanning Tree Protocol part of 802.1D is not implemented. Therefore, you have to be careful not to create bridging loops, or else the network will collapse.

Bridging is designed to work only with NetDevices modelling IEEE 802-style technologies, such as CsmaNetDevice and WifiNetDevice.

If including a WifiNetDevice in a bridge, the wifi device must be in Access Point mode. Adhoc mode is not supported with bridging.


Generated on Fri Apr 9 15:00:57 2010 for NS-3 by  doxygen 1.5.8