[mpls-linux-devel] QUAGGA 99.6 + LDP-Portable
Status: Beta
Brought to you by:
jleu
From: <gsr...@al...> - 2007-01-08 11:53:26
|
Hi James: You'll have to forgive me, I had some important business to finish = before christmas. I've downloaded the latest quagga-mpls and ldp-portable from your P4 = repository and test it in a simple scenario with two PCs. =20 13.0.0.1 .1 10.0.0.0/24 .2 11.0.0.1 --------------PE1---------------------PE2-------------- eth1 eth0 eth1 eth0 And these are the versions of the RPMs related to MPLS and QUAGGA and = the modules I load: [root@PE2]# rpm -qa | grep mpls | sort glibc-kernheaders-3.0-5.2_mpls0.1162999872 iproute-2.6.11-1_mpls_90.1162552079 iptables-1.3.0-2_mpls_1.950d kernel-2.6.15-1.1831_FC4mpls_1.950 kernel-devel-2.6.15-1.1831_FC4mpls_1.950 quagga-0.99.6-2007010801_mpls_0.1168246002 quagga-contrib-0.99.6-2007010801_mpls_0.1168246002 quagga-debuginfo-0.99.6-2007010801_mpls_0.1168246002 quagga-devel-0.99.6-2007010801_mpls_0.1168246002 [root@PE2]# lsmod | grep mpls mpls4 5953 0 mpls 78209 2 mpls4 Now I show you the configuration and output of some commands in PE2 = (analogue in PE1): PE2# sh run Building configuration... Current configuration: ! hostname PE2 ! service integrated-vtysh-config ! debug zebra events debug zebra kernel ! password root ! interface eth0 description 11.0.0.1 netmask 255.255.255.0 broadcast 11.0.0.255 ipv6 nd suppress-ra ! interface eth1 description 10.0.0.2 netmask 255.255.255.0 broadcast 10.0.0.255 ipv6 nd suppress-ra mpls ip mpls labelspace 0 ! ! mpls ldp egress connected ! router ospf network 10.0.0.0/24 area 0.0.0.0 network 11.0.0.0/24 area 0.0.0.0 network 15.0.0.0/24 area 0.0.0.0 ! ip forwarding ! line vty ! PE2# sh ldp LSR-ID: 10.0.0.2 Admin State: ENABLED Transport Address: 0.0.0.0 Control Mode: ORDERED Repair Mode: GLOBAL Propogate Release: TRUE Label Merge: TRUE Retention Mode: LIBERAL Loop Detection Mode: NONE TTL-less-domain: FALSE Local TCP Port: 646 Local UDP Port: 646 Keep-alive Time: 45 Keep-alive Interval: 15 Hello Time: 15 Hello Interval: 5 PE2# sh ldp dis Local LSR Identifier: 10.0.0.2 Interface Discovery Sources: eth1: xmit/recv LDP Id: 13.0.0.1:0 Targeted Discovery Sources: No configured peers PE2# sh ldp fec FEC: 1 169.254.0.0/16 1 0.0.0.0 0 FEC: 2 10.0.0.0/24 2 0.0.0.0 1 PE2# sh ldp dat 10.0.0.0/24 local binding: label: gen 10001 10.0.0.0/24 remote binding: label: gen 10001 lsr: 13.0.0.1:0 ingress PE2# sh mpls for Insegments: Lbl Spc Label Owner 0 10001 ldp Total 1 Outsegments: Interface Label Next Hop Owner eth1 10001 10.0.0.1 ldp Total 1 Cross Connects: Total 0 PE2# sh ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - ISIS, B - BGP, > - selected route, * - FIB route O 10.0.0.0/24 [110/10] is directly connected, eth1, 00:06:05 C>* 10.0.0.0/24 is directly connected, eth1 O 11.0.0.0/24 [110/10] is directly connected, eth0, 00:06:05 C>* 11.0.0.0/24 is directly connected, eth0 O>* 13.0.0.0/24 [110/20] via 10.0.0.1, eth1, 00:05:12 C>* 127.0.0.0/8 is directly connected, lo K>* 169.254.0.0/16 is directly connected, eth1 PE2# sh ldp ses 2 1.0.0.0 45 OPERATIONAL 10.0.0.1 13.0.0.1 PE2# sh ldp dis Local LSR Identifier: 10.0.0.2 Interface Discovery Sources: eth1: xmit/recv LDP Id: 13.0.0.1:0 Targeted Discovery Sources: No configured peers PE2# sh ldp neig Peer LDP Ident: 13.0.0.1:0; Local LDP Ident: 10.0.0.2:0 TCP connection: 10.0.0.2.39560 - 10.0.0.1.646 State: OPERATIONAL; Msgs sent/recv: 26/78; UNSOLICITED Up time: 00:05:18 LDP discovery sources: eth1 Addresses bound to peer: 10.0.0.1 13.0.0.1 PE2# sh mpls hard MPLS-Linux: 1.950 netlink control PE2# sh mpls ver Version 1.950 [root@PE2]# mpls ilm ILM entry label gen 10001 labelspace 0 proto ipv4 pop peek (0 bytes, 0 pkts) [root@PE2]# mpls nhlfe NHLFE entry key 0x00000003 mtu 1496 propagate_ttl push gen 10001 set eth1 ipv4 10.0.0.1 (0 bytes, 0 pkts) [root@PE2]# ip route 10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.2 11.0.0.0/24 dev eth0 proto kernel scope link src 11.0.0.1 13.0.0.0/24 via 10.0.0.1 dev eth1 proto zebra metric 20 The result is that, althaugh the NHLFE and ILM tables add a new entry = for 10.0.0.0/24 subnet,=20 I'm not able to send labeled packets from one host to another because IP = table doesn't change=20 to route the packets via mpls. I think we're very close to solve it, but I need your help. Thanks in advange, Gonzalo |