vlans over bridged interface

the lenny/squeeze way.

/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto eth0.201
iface eth0.201 inet manual

auto eth0.200
iface eth0.200 inet manual

auto eth0.202
iface eth0.202 inet manual

auto br1
iface br1 inet static
  address 10.15.10.10
  netmask 255.255.255.0
  gateway 10.15.10.1
  bridge_ports eth0.201
  bridge_fd 9
  bridge_hello 2
  bridge_maxage 12
  bridge_stp off

auto br0
iface br0 inet manual
  bridge_ports eth0.200
  bridge_fd 9
  bridge_hello 2
  bridge_maxage 12
  bridge_stp off

auto br2
iface br2 inet manual
  bridge_ports eth0.202
  bridge_fd 9
  bridge_hello 2
  bridge_maxage 12
  bridge_stp off

Leave a Reply

Your email address will not be published. Required fields are marked *

(Spamcheck Enabled)