[mpls-linux-general] LDP configuration example - help
Status: Beta
Brought to you by:
jleu
|
From: Razvan D. <raz...@gm...> - 2005-08-05 08:58:06
|
hi, i have managed to configure LDP on a set of mpls enabled linux machines, but i don't quite know how to get it to work properly i have the following simple topology ip network --- LER (11.0.1.1) -------- (11.0.1.2) LSR (11.0.2.1) -------- (11.0.2.2) LSR (11.0.3.1) -------- (11.0.3.2) LER --- ip network i have configured zebra, ospf and ldpd; the routers do assign some labels, but all communication is handled the old way (ip packets) (in other words, the mpls command reveals the existence of ilm structures only, no nhlfe or xc so there's no way to create an MPLS only conversation) i am using the following configuration files (for the first LSR) (11.0.1.2--11.0.2.1) zebra: (i know there's no need for a dummy interface, but i kept it) hostname Router password zebra enable password zebra service advanced-vty ! mpls static 0 ! interface dummy0 description yet another dummy interface=20 ip address 192.168.0.3/32 ipv6 nd suppress-ra ! interface eth0 description ldp-enabled interface=20 mpls labelspace 0 ip address 11.0.2.1/30 ipv6 nd suppress-ra ! interface eth1 description ldp-enabled interface=20 mpls labelspace 0 ip address 11.0.1.2/30 ipv6 nd suppress-ra ! interface lo description Loopback=20 ! interface sit0 ipv6 nd suppress-ra ! ip forwarding ipv6 forwarding ! line vty exec-timeout 0 0 ! ldpd: hostname ldpd password test enable password test ! interface eth0 description ldp enabled interface mpls ip ! interface eth1 description ldp enabled interface=20 mpls ip ! interface lo description Loopback interface=20 ! interface sit0 ! mpls ldp egress connected ! line vty exec-timeout 0 0 ! i know that a labelspace is used only for ilm entries, but how do i actually add a route that uses the mpls labels that are obtained using ldpd? the "ldpd# show ldp database" command shows "local binding" labels but also "remote binding: no outlabel"; can anyone tell me what am i doing wrong (or what am i not doing although i should)? Razvan |