Change NHLFE MTU calculation
[mpls-linux.git] / QUICK.START
blobcea39f56954aeef46ac7c36ea5a40fe22d34ddd2
1 The prefered method of installing a MPLS enabled kernel is to use the
2 RPMs I have prepared.  If you run a non RPM system you will have
3 to compile a kernel by hand.  Here are some quick steps to help you
4 get going:
6 -get Linux kernel 2.6.25.14
8 -change directory to /usr/src
9         cd /usr/src
10 -uncompress/untar linux-2.6.25.14.tar.gz
11         tar -zxvf linux-2.6.25.14.tar.gz
12 -uncompress/untar mpls-linux-1.962.tgz
13         tar -zxvf mpls-linux-1.962.tgz
14 -change directory to linux
15         cd linux-2.6.25.14
16 -patch Linux kernel for MPLS for Linux
17         patch -p1 < ../mpls-linux/patches/linux-kernel.diff
19 -configure Linux kernel to turn on MPLS (atleast the following)
20         make menuconfig
22 Standard config:
24         Code maturity level options  --->
25         [*] Prompt for development and/or incomplete code/drivers
26         Networking options  --->
27           [*] Multi Protocol Label Switching - MPLS
29 For more advanced traffic mappings (in addition to Standard config):
31         [*] Network packet filtering (replaces ipchains)
32           IP: Netfilter Configuration  --->
34         <*> IP tables support (required for filtering/masq/NAT)
35             <*> MPLS target support
37 -compile and install kernel
38         make clean ; make vmlinux
39         (then follow the rules for your distrubution to install the kernel)
40 -reboot
42 -build the a MPLS enhanced version of iproute2 to create MPLS segments and
43  bind routes to LSPs. (read patches/README.iproute2)
44 -For more advanced traffic mappings you will need to use iptables
45  (read patches/README.iptables)
47 Additional Hints
48 ----------------
49 1) Make sure you know what your old kernel config was before trying to
50    configure a new kernel!!!!
52 2) Make sure to do a 'make modules ; make modules_install' if you have
53    configured any modules (you would have known that if you read
54    linux/README).
56 3) Don't send messages to the mailing list saying:
58    "I installed the mpls-linux patch and now I can't run Xwindows or
59    my network doesn't work"
61   These are kernel config issues, (ie not related to mpls-linux)
62   Go back and read linux/README
64 Good luck!