close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Version 1 (modified by seskar, 11 years ago) ( diff )

L2TP Connectivity To GENI

Installing the Prerequisite Software

L2TP solution depends on two packages: vtun - virtual tunnel over TCP/IP, and bridge-utils - utilities for configuring Ethernet bridging. Both packages can be installed by using your favorite package manager. For example:

  apt-get install vtun bridge-utils

Seting up the Tunnel

L2TP Based Deployment

Each tunnel has two servers as shown in Figure 1. is always assumed to be the master server while the other endpoint server is assumed to be the slave. Configuration files are somewhat different for the two servers and are described in following sections.

Bridge Configuration

Bridge interfaces need to be configured on both ends in order to connect LAN segments to the tunnel. This is achieved by creating a bridge and attaching it to the interface facing the internal LAN. The tunnel interface will be added to the bridge by the VTUN daemon once it establishes the tunnel. One way to configure the bridge is to use /etc/network/interfaces configuration file and assign unique addresses on each end. For this example we will configure bridge on the master side with IP address of and bridge on the slave side with

/etc/network/interfaces on master

  auto br0
  iface br0 inet static 

/etc/network/interfaces on slave

  auto br0
  iface br0 inet static 

VTUN Master Configuration


SERVER_ARGS="-P 5000" 

Please note that server port numbers and password have to be coordinated with the Rutgers team.


# VTun - Virtual Tunnel over TCP/IP network.
# Copyright (C) 1998-2001  Maxim Krasnyansky <>
# Lines which begin with '#' are comments

options {
    port 5000;            # Listen on this port.

    # Syslog facility
    syslog        daemon;

    # Path to various programs
    ifconfig      /sbin/ifconfig;
    route         /sbin/route;
    firewall      /sbin/iptables;
    ip            /sbin/ip;

default {
    compress no;
    encrypt no;
    speed 0;

landing1 {
    passwd XXXXXXXXX;
    type ether;
    proto udp;
    keepalive yes;
    compress no;
    encrypt no;

    up {
	# Connection is Up
	ifconfig "%% up";
	program "brctl addif br0 %%";

    down {
	# Connection is Down
	ifconfig "%% down";

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.