Skip to main content

VYATTA VLAN BRİDGE

In this article, we will explain how to configure a VLAN bridge with a Vyatta router with 2 ethernet ports.

Vyatta is a free router with a live CD. After downloading the live CD version from Vyatta’s website, insert the Vyatta live CD into a computer with 2 ethernet ports. After the operating system starts, enter the following commands.

  • Default Username: vyatta
  • Default password: vyatta

xxxx$configure
xxxx#set interface ethernet eth1 vif 2
xxxx#set interface bridge br0
xxxx#set interface ethernet eth0 bridge-group bridge br0
xxxx#set interface ethernet eth1 vif 2 bridge-group bridge br0
xxxx#commit

With the above commands, VLAN 2 trunk port is created on eth1 port respectively. Then a bridge named “bro” is created and VLAN 2 virtual ports of eth0 and eth1 are added to the bridge group named “bro”. In this way, a device attached to eth1 port with VLAN 2 trunk and a device attached to eth0 port can communicate without VLAN tag.