MRT Installation Guide
Version 2.0.0 Alpha
Table of Contents
1. Introduction *
Document Conventions *
Related MRT Manuals *
Getting Help *
2. Obtaining MRT *
Binary Distribution *
Building From Source Code *
The Regents of the University of Michigan ("The Regents") and Merit Network, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software must display the following acknowledgement:
This product includes software developed by the University of Michigan, Merit Network, Inc., and their contributors.
4. Neither the name of the University, Merit Network, nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The following document conventions are used in the Installation Guide:
The following documentation is also available for MRT users (see http://www.merit.edu/mrt/mrt_doc/):
The MRT web site will also have the most up-to-date documentation and code.
For more information about MRT, send mail to mrt-support@merit.edu.
The MRT development team is available to answer questions and provide configuration advice. We are also very interested in bug reports, feature requests, and general feedback.
A mailing list, mrt-discuss-request@merit.edu is also available for MRT users to share advice and experiences with the toolkit.
The latest public release of the MRT toolkit is available at:
ftp://ftp.merit.edu/net-research/mrt
The complete MRT distribution includes a routing daemon, tools, and libraries developed as part of the MRT project, as well as backend Internet performance measurement/statistics tools developed as part of the IPMA project.
You can either obtain the MRT binaries, or build the code from source. The file mrt-[version].tar.gz includes the source code, while mrt-[version]-[platform].tar.gz includes binaries of routing tools, excluding various IPMA tools. See Chapter 3 for information about building the code from source.
The current MRT ftp directory contains the following binaries:
mrt.tar.gz mrt-1.4.9a-src.tar.gz
mrt-1.4.9a-linux2.1.63.tar.gz mrt-1.4.9.a-sunos5.5.1.tar.gz
mrt-1.4.9a-freebsd2.2.2.tar.gz
Although the binaries are compiled with IPv6 extensions, most of them will run on IPv4-only platforms. Examples of configuration files are found in each tool directory under programs, or in the conf directory in the binary distribution.
GCC is recommended but other commercial compilers will also work.
MRT runs with native POSIX threads (pthreads) on Solaris 2.5 or later. MRT does not work correctly with the MIT Pthreads library. MRT is designed to run under threads-capable operating systems, but the code will run on uni-processor systems lacking thread and shared memory support. Without threads, however, the software's performance will be significantly degraded (but may be sufficient for some situations).
Because the IPv6 kernel implementations and API specifications are still in flux, MRT may not run on the latest IPv6 platforms. For updated information, see the MRT home page (http://www.merit.edu/~mrt). On systems running Linux IPv6, MRT may require the inet6 library, and the code will not compile with glibc-2.x.
We have compiled and tested MRT on the following systems/environments:
MRT provides IPv6 support for:
Other users have reported that MRT runs on:
The current MRT development platforms are a four-processor SPARCstation 20 running Solaris IPv6 Release 5 on Solaris 2.5.1 with POSIX threads support, and Intel Pentium Pro systems running other IPv6 implementations.
% cd /tmp
% ftp ftp.merit.edu
ftp> cd /net-research/mrt
ftp> get mrt-<release>-src.tar.gz
ftp> quit
% cd /usr/local/src
% gzip -cd < /tmp/mrt-<release>-src.tar.gz | tar xvf –
Change (cd) into that directory and run the shell script make-sym-links. This will create a new directory named src.[platform]. Change into this new directory and run ./configure. The make-sym-links script allows the same source directory to build MRT on multiple platforms.
% cd /usr/local/src/mrt-<version>
% sh make-sym-links
% cd src.<platform>
% ./configure
Several options can be specified as parameters to the configure command:
% ./configure --
disable-ipv6
% ./configure --
disable-thread
% ./configure --
disable-wall
% make
% su
# make install
mrtd 5674/tcp # MRT Routing Daemon bgpsim 5675/tcp # MRT Routing Simulator