Setting up L2 Connectivity between NICTA and WINLAB

Installing the Bridging Servers

Notice: This article describes Debian GNU/Linux servers setup. If you are using another distribution, there can be some differences in network configuration and package management, but the main idea of described actions will be the same.

First of all, we need to check if tun and bridge modules is not included in current kernel. If they are not includen, we need to rebuild kernel with CONFIG_TUN and CONFIG_BRIDGE options.

Next, we need to create tunnel device file for our tunnel:

  1. cd /dev
  2. ./MAKEDEV tun
  3. mkdir misc
  4. ln -s /dev/net /dev/misc/net

Notice: Last command is needed to make vtun work, because authors build for debian is looking for tunnel device driver at /dev/misc/net/tun.

To create ethernet tunnel between bridging servers we will use vtun software. Debian package (and also source code and other OS packages) can be loaded from authors site.

When package file vtun_X.Y-Z_i386.deb will be downloaded, we will need to install all required packages:

  1. apt-get install bridge-utils ebtables iptables libssl0.9.6
    ...
  2. dpkg -i vtun_X.Y-Z_i386.deb