How to compile linux to create a DiffServ over MPLS router in lab?

Appendix A

( Modified from [19], for HTB support for linux kernels 2.4.19 and lesser)

1. Preparation:

1.1 Installation of the Linux kernel

The default Linux kernel location is folder /usr/src/linux-2.4.18

(Specifically use kernel 2.4.18. Kernels 2.4.19, 2.4.20, 2.4.21 were tried and were found to give “kernel panic” on boot.)

– A copy of compressed kernel (linux-2.4.18.tar.bz2) has to be copied

to folder /usr/src/. This is the default kernel location, and the

intended start point for all further operations.

– This directory may contain a symbolic link linux to the old kernel

folder. If so this has to be removed.

Read more

Some TC scripts and other appendices

Appendix D

TC script for filter 1


# This script will set-up an example DS tree

#only set ENABLE_MPLS_IP to true if you installed the DSMPLS+IP patch



IFACES=”eth1 eth2 eth3″


if test $# -gt 0


case $1 in

Read more