File:  [NetBSD Developer Wiki] / wikisrc / users / kefren / ldp.mdwn
Revision 1.5: download - view: text, annotated - select for diffs
Thu Jan 6 12:18:09 2011 UTC (3 years, 3 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by kefren

# Quickstart with LDP daemon

Step 0: Update to HEAD<BR>
Step 1: Boot an MPLS enabled kernel<BR>
Step 2: Run /usr/sbin/ldpd<BR>
Step 3: Add some routes to neighbors bindings and see routes being automatically tagged or just use zebra/quagga in order to do avoid manual routes<BR>
Step 4: You can look over some reports on control interface: telnet localhost 2626 - use root password - and use question mark for help<BR>

<BR>

# /etc/ldpd.conf example<BR><BR>

<pre>
# a default ldpd.conf
   
#       hello-time 8;
        max-label 400;
        min-label 200;
        command-port 2424;
#       ldp-id 1.2.3.4;


# USE TCP SIGNATURE FOR THIS NEIGHBOUR - don't forget to add entries in ipsec.conf && echo ipsec=yes >> /etc/rc.conf
# add -4 1.2.3.4 1.2.3.50 tcp 0x1000 -A tcp-md5 "mypassword" ;
# add -4 1.2.3.50 1.2.3.4 tcp 0x1000 -A tcp-md5 "mypassword" ;

        neighbour 1.2.3.50 {
                authenticate yes;
        }
</pre>

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb