# `VintageNetBridge`
[🔗](https://github.com/nerves-networking/vintage_net_bridge/blob/v0.10.3/lib/vintage_net_bridge.ex#L1)

Configure network bridges with VintageNet

Configurations for this technology are maps with a `:type` field set to
`VintageNetBridge`. The following additional fields are supported:

* `:vintage_net_bridge` - Bridge options
  * `:interfaces` - Set to a list of interface names to add to the bridge.
    This option is required for the bridge to be useful.
  * `:forward_delay`
  * `:priority`
  * `:hello_time`
  * `:max_age`
  * `:path_cost`
  * `:path_priority`
  * `:hairpin`
  * `:stp`

Here's an example configuration for setting up a bridge:

```elixir
%{
  type: VintageNetBridge,
  vintage_net_bridge: %{
    vintage_net_bridge: %{
    interfaces: ["eth0", "wlan0"],
  }
}
```

See [brctl(8)](https://www.man7.org/linux/man-pages/man8/brctl.8.html) for
more information on individual options.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
