-
Notifications
You must be signed in to change notification settings - Fork 11
Home
clone github repositories
$ git clone
https://github.com/Gandi/ktrill.git
$ cd ktrill
$ git checkout devel
$ git clone
https://github.com/Gandi/quagga.git
$ cd quagga
$ git checkout dev_trill
$ git clone
https://github.com/Gandi/bridge-utils.git
$ cd bridge-utils
$ git checkout trill
Compile the kernel with these options
CONFIG_TRILL=y
CONFIG_TRILL_VNT=y
use this compile command
$ cd quagga
$ ./bootstrap.sh && ./configure --localstatedir=/var/run/quagga --enable-isisd --enable-trilld --disable-ipv6 --disable-ospfd --disable-ospfclient --disable-ripd --disable-babeld --disable-bgpd && make && make install
$ cd bridge-utils
$ autoconf && ./configure && make && make install
Boot on compiled kernel
ZEBRA_CONF=
[zebra.conf.sample] (https://github.com/Gandi/quagga/blob/dev_trill/zebra/zebra.conf.sample)
TRILLD_CONF =
[trilld.conf.sample] (https://github.com/Gandi/quagga/blob/dev_trill/isisd/trilld.conf.sample)
$ zebra -f $ZEBRA_CONF -P 2121 -u quagga -d
$ trilld -f $TRILLD_CONF -P 2021 -u quagga -d
Available new commands
brctl trill <bridge> {on|off} turn trill on/off
brctl setvni <bridge> <port> <vni> set virtual network id
brctl delvni <bridge> <port> delete virtual network id
brctl showvs <bridge> show vitrual network id
brctl showmacs_nick <bridge> show a list of mac addrs and correspondant nick
(experimental)
NB :
This configuration works automatically for xen envirement for other virtualisation envirement vm interface need to be correctly flagged
echo 2 > /sys/class/net/<INTERFACE>/brport/trill_state
or just append a vni ID to it using
brctl setvni <bridge> <port> <vni>
For more detail view these can see
computer network paper
Kernel recipes 2013 presentation slides
Dot scale youtube presentation