Re: [mpls-linux-general] another problem in ldp_linux
Status: Beta
Brought to you by:
jleu
From: Vincent J. <ja...@en...> - 2001-06-29 09:37:03
|
Thanks for your answer, but I still have the same problem. See the logs below. > LDP will only install out labels and bind them to a FEC if the FEC has an > EXACT match in the routin table. While in ldp_linux do a 'show route'. > Every LDP speaker should have the same entries. > > So to get LSPs to the router IDs of each LDP speaker, each LDP speaker > needs to have a /32 route to the router ID of the other LDP speakers. Hmm, I tried it with a /32 static route to the router but I could net get the (on each host, I run first zebra -d with the enclosed configuration that has a static /32 route to router ID, then mpldadm -L eth0:0, then ldp_linux) FECs: **** host 10.0.0.6: **** bash-2.04# ip route show 10.0.0.5 via 192.168.12.1 dev eth0 proto zebra 192.168.12.0/24 dev eth0 proto kernel scope link src 192.168.12.1 127.0.0.0/8 dev lo scope link bash-2.04# cat /proc/net/mpls_in 40004000 gen 16 0 POP DLV 40004400 gen 17 0 POP DLV 40004800 gen 18 0 POP DLV 40004c00 gen 19 0 POP DLV bash-2.04# cat /proc/net/mpls_out bash-2.04# cat /proc/net/mpls_fec bash-2.04# cat /proc/net/mpls_labelspace lo 0 teql0 0 eth0 0 bash-2.04# cat /etc/zebra/zebra.conf ! zebra ! $Release$, $Date$, $Author$ ! password zebra ! interface eth0 ip address 192.168.12.1/24 ! interface lo ip address 10.0.0.6/32 ! ! static route to the router ID 10.0.0.5 through eth0 ip route 10.0.0.5/32 192.168.12.1 ! log file zebra.log bash-2.04# ----- prompt>add global 10.0.0.6 Adding interface lo Adding interface eth0 Adding route 0a000005/32 via 6 Adding route c0a80c00/24 via 6 Adding route 7f000000/8 via 1 Adding route 0a000006/32 via 1 Adding global object with LSRID 0a000006 prompt>add interface eth0 Adding interface eth0 prompt>PRT: index: 1 0a000005/32 2 here here here here PRT: index: 6 0a000006/32 2 PRT: index: 7 7f000000/8 2 PRT: index: 8 c0a80c00/24 2 prompt>show route 0a000005/32 via c0a80c01:6 0a000006/32 via 00000000:1 7f000000/8 via 00000000:1 c0a80c00/24 via 00000000:6 prompt> **** host 10.0.0.5 **** bash-2.04# ip route show 10.0.0.6 via 192.168.12.2 dev eth0 proto zebra 192.168.12.0/24 dev eth0 proto kernel scope link src 192.168.12.2 127.0.0.0/8 dev lo scope link bash-2.04# cat /proc/net/mpls_in 40004000 gen 16 0 POP DLV 40004400 gen 17 0 POP DLV 40004800 gen 18 0 POP DLV 40004c00 gen 19 0 POP DLV bash-2.04# cat /proc/net/mpls_out bash-2.04# cat /proc/net/mpls_fec bash-2.04# cat /proc/net/mpls_labelspace lo 0 teql0 0 eth0 0 bash-2.04# cat /etc/zebra/zebra.conf ! zebra ! $Release$, $Date$, $Author$ ! password zebra ! interface eth0 ip address 192.168.12.2/24 ! interface lo ip address 10.0.0.5/32 ! ! static route to the router ID 10.0.0.6 through eth0 ip route 10.0.0.6/32 192.168.12.2 ! log file zebra.log bash-2.04# --- prompt>add global 10.0.0.5 Adding interface lo Adding interface eth0 Adding route 0a000006/32 via 6 Adding route c0a80c00/24 via 6 Adding route 7f000000/8 via 1 Adding route 0a000005/32 via 1 Adding global object with LSRID 0a000005 prompt>add interface eth0 Adding interface eth0 prompt>here here here here PRT: index: 5 0a000005/32 2 PRT: index: 6 0a000006/32 2 PRT: index: 7 7f000000/8 2 PRT: index: 8 c0a80c00/24 2 prompt> -- Vincent |