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 (10 years, 3 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by kefren

    1: # Quickstart with LDP daemon
    2: 
    3: Step 0: Update to HEAD<BR>
    4: Step 1: Boot an MPLS enabled kernel<BR>
    5: Step 2: Run /usr/sbin/ldpd<BR>
    6: 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>
    7: Step 4: You can look over some reports on control interface: telnet localhost 2626 - use root password - and use question mark for help<BR>
    8: 
    9: <BR>
   10: 
   11: # /etc/ldpd.conf example<BR><BR>
   12: 
   13: <pre>
   14: # a default ldpd.conf
   15:    
   16: #       hello-time 8;
   17:         max-label 400;
   18:         min-label 200;
   19:         command-port 2424;
   20: #       ldp-id 1.2.3.4;
   21: 
   22: 
   23: # USE TCP SIGNATURE FOR THIS NEIGHBOUR - don't forget to add entries in ipsec.conf && echo ipsec=yes >> /etc/rc.conf
   24: # add -4 1.2.3.4 1.2.3.50 tcp 0x1000 -A tcp-md5 "mypassword" ;
   25: # add -4 1.2.3.50 1.2.3.4 tcp 0x1000 -A tcp-md5 "mypassword" ;
   26: 
   27:         neighbour 1.2.3.50 {
   28:                 authenticate yes;
   29:         }
   30: </pre>

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