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... |
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.
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.