Posts

Showing posts from August, 2022

br0 Network Interface Explained

Image
Bridging allows you to create a software switch that connects two ports at Layer 2 of the OSI model. A bridge consists of two or more ports that are members of a bridge group. This document was created on VyOS 1.2.0. Software Switch: Similar to a Hardware switch, a software switch also works as a LAN switch and it learns the Mac address of bridged interfaces. The bridged interface can be ethernet or wifi. Bridge Interface Names Bridge interfaces are named   br  in front of a number, for example,  br0  would bridge interface zero. Bridge interfaces can be called bridge interfaces or bridge groups interchangeably. Creating a Bridge Creating a bridge interface is very simple. For this example, let's create a bridge between two physical interfaces on a VyOS router. More example use cases will be given below. This example uses  eth0  and  eth1 . vyos@vyos-rtr# set interfaces bridge br0 vyos@vyos-rtr# set interfaces ethernet eth0 bridge-group bridge br...