3 zebra-ldp.diff is a zebra<->ldp-portable porting layer.
7 Zebra is a set of open source routing daemons which implement the
8 common routing protocol (RIP, OSPF, BGP). Each protocol runs as a seperate
9 dameon, and they are all syncronized via a managment daemon (zebra). This
10 patch adds another daemon to the mix, mplsd. mplsd only implements
11 LDP so far. In the future it will implement static LSPs and hopefully
12 other MPLS related protocols. If you have never used zebra, go to
13 http://zebra.org/ download the source for 0.93a, compile it and learn
14 how to setup up a small OSPF network using zebra. Once you have that running
15 then you are ready try and use this patch.
17 How do I use this patch?
18 -----------------------
19 Apply zebra-ldp.diff to the zebra source distribution. (0.93a)
20 Go into the zebra/mplsd directory and modify 'create-links' to point to
21 your ldp-portable source distribution. Then execute 'create-links' .
22 Go back to the top of the zebra source tree and configure and compile
23 zebra according to it's directions. The file mplsd/impl_mpls.c assumes that
24 you are running a mpls-linux-1.1x kernel. If you have issues compiling
25 and you are running a mpls-linux-1.1x kernel most likely it can't find
26 your linux/include/linux/mpls.h file. Go read the file 'README.1st.really'
27 in the mpls-linux-1.1 distrubution.
29 After you have finished compliing, you will have a mplsd binary that has
30 the same command line syntax as the rest of the zebra binaries.
32 'mplsd' supports LDP. Look at 'mpls ldp' at the top level. Also look
33 at 'mpls ldp' at the interface level.
35 The environment I use is:
37 zebra -f /etc/zebra.conf -P 1023 -d
38 ospdd -f /etc/ospfd.conf -P 1024 -d
39 mplsd -f /etc/mplsd.conf -P 1025
41 NOTE: There is still a lot of tracing message which only go to standard
42 output. If you use the -d option you will loose this useful debugging output.
44 Look at zebra/mplsd/mplsd.conf.sample for the basic LDP configuration.
45 Once you have mplsd running configures, you can use these 'show' commands
46 when logged into mplsd to see whan LDP is doing:
53 I have done most of my testing with unsolicited mode, liberal retention, label
54 merging, ordered control. If you have success or failures with other modes
57 Please post questions to the mpls-linux mailing list:
59 http://sourceforge.net/mail/?group_id=15443