Re: [mpls-linux-devel] MPLS-Linux-1.955 FC5
Status: Beta
Brought to you by:
jleu
From: <gsr...@al...> - 2007-03-09 11:44:46
|
Hi: This is what I tried. I launch only zebra and ldpd on both LSRs and I = specify the routes for PE1 to reach 13.1 and for PE2 to 12.1: eth0 eth1 eth1 eth0 12.0.0.1-------PE1---------------------PE2-------13.0.0.1 .1 10.0.0.0/24 .2 As you could see the label 10000 is distributed correctly, but the = routes are created only in vtysh with that label. Although nhlfe and ilm = are updated, the mpls route doesn't appear. Thanks in advance, Gonzalo. PE1 configuration: ----------------------------------------------------------------------- [root@PE1 ~]# ip route add 13.0.0.0/24 via 10.0.0.2 [root@PE1 ~]# ip route 10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.1 12.0.0.0/24 dev eth0 proto kernel scope link src 12.0.0.1 13.0.0.0/24 via 10.0.0.2 dev eth1 [root@PE1 ~]# zebra -d [root@PE1 ~]# ldpd -d [root@PE1 ~]# lsmod | grep mpls mpls4 10240 0 [root@PE1 ~]# ps -e | grep ze 2724 ? 00:00:00 zebra [root@PE1 ~]# ps -e | grep ldp 2726 ? 00:00:00 ldpd [root@PE1 ~]# vtysh Hello, this is Quagga (version 0.99.6). Copyright 1996-2005 Kunihiro Ishiguro, et al. PE1# con t PE1(config)# mpls ldp PE1(config-ldp)# ex PE1(config)# int eth1 PE1(config-if)# mpls ip PE1(config-if-ldp)# ex PE1(config-if)# mpls labelsp 0 Labelspace: 0 PE1(config-if)# end PE1# sh run Building configuration... Current configuration: ! hostname PE1 hostname uml-1 ! password root enable password root ! interface eth0 ipv6 nd suppress-ra ! interface eth1 ipv6 nd suppress-ra mpls ip mpls labelspace 0 ! interface lo ! interface sit0 ipv6 nd suppress-ra ! mpls ldp egress connected ! ip forwarding ! line vty ! PE1# sh ldp disc Local LSR Identifier: 12.0.0.1 Interface Discovery Sources: eth1: xmit/recv LDP Id: 10.0.0.2:0 Targeted Discovery Sources: No configured peers PE1# sh ldp neig Peer LDP Ident: 10.0.0.2:0; Local LDP Ident: 12.0.0.1:0 TCP connection: 10.0.0.1.34306 - 10.0.0.2.39775 State: OPERATIONAL; Msgs sent/recv: 12/35; UNSOLICITED Up time: 00:01:53 LDP discovery sources: eth1 Addresses bound to peer: 10.0.0.2 13.0.0.1 PE1# sh ldp ses 4 10.0.0.2 45 OPERATIONAL 10.0.0.2 13.0.0.1 PE1# sh ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - ISIS, B - BGP, > - selected route, * - FIB route C>* 10.0.0.0/24 is directly connected, eth1 C>* 12.0.0.0/24 is directly connected, eth0 K> 13.0.0.0/24 via 10.0.0.2, eth1 (label 10000) C>* 127.0.0.0/8 is directly connected, lo PE1# ping 13.1 connect: Network is unreachable PE1# sh lpd ses % Unknown command. PE1# sh lpd ses % Unknown command. PE1# sh ldp dis Local LSR Identifier: 10.0.0.1 Interface Discovery Sources: eth1: xmit/recv LDP Id: 10.0.0.2:0 Targeted Discovery Sources: No configured peers PE1# sh ldp neigh Peer LDP Ident: 10.0.0.2:0; Local LDP Ident: 10.0.0.1:0 TCP connection: 10.0.0.1.34306 - 10.0.0.2.34166 State: OPERATIONAL; Msgs sent/recv: 26/77; UNSOLICITED Up time: 00:05:28 LDP discovery sources: eth1 Addresses bound to peer: 10.0.0.2 13.0.0.1 [root@PE1 ~]# mpls nhlfe NHLFE entry key 0x00000002 mtu 1496 propagate_ttl push gen 10000 set eth1 ipv4 10.0.0.2 (0 bytes, 0 pkts) [root@PE1 ~]# mpls ilm ILM entry label gen 10000 labelspace 0 proto ipv4 pop peek (0 bytes, 0 pkts) [root@PE1 ~]# ip route 10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.1 12.0.0.0/24 dev eth0 proto kernel scope link src 12.0.0.1 [root@PE1 ~]# [root@PE1 ~]# mpls nhlfe NHLFE entry key 0x00000002 mtu 1496 propagate_ttl push gen 10000 set eth1 ipv4 10.0.0.2 (0 bytes, 0 pkts) [root@PE1 ~]# mpls ilm ILM entry label gen 10000 labelspace 0 proto ipv4 pop peek (0 bytes, 0 pkts) [root@PE1 ~]# ip route 10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.1 12.0.0.0/24 dev eth0 proto kernel scope link src 12.0.0.1 [root@PE1 ~]# PE3 configuration: ----------------------------------------------------------------------- [root@PE3 ~]# ip route add 12.0.0.0/24 via 10.0.0.1 [root@PE3 ~]# ip route 10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.2 12.0.0.0/24 via 10.0.0.1 dev eth1 13.0.0.0/24 dev eth0 proto kernel scope link src 13.0.0.1 [root@PE3 ~]# zebra -d [root@PE3 ~]# ldpd -d [root@PE3 ~]# vtysh Hello, this is Quagga (version 0.99.6). Copyright 1996-2005 Kunihiro Ishiguro, et al. PE3# con t PE3(config)# mpls ldp PE3(config-ldp)# ex PE3(config)# int eth1 PE3(config-if)# mpls ip PE3(config-if-ldp)# ex PE3(config-if)# mpls labelsp 0 Labelspace: 0 PE3(config-if)# end PE3# sh run Building configuration... Current configuration: ! hostname PE3 hostname uml-1 ! password root enable password root ! interface eth0 ipv6 nd suppress-ra ! interface eth1 ipv6 nd suppress-ra mpls ip mpls labelspace 0 ! interface eth2 ipv6 nd suppress-ra ! interface lo ! interface sit0 ipv6 nd suppress-ra ! mpls ldp egress connected ! ip forwarding ! line vty PE3# sh ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - ISIS, B - BGP, > - selected route, * - FIB route C>* 10.0.0.0/24 is directly connected, eth1 K> 12.0.0.0/24 via 10.0.0.1, eth1 (label 10000) C>* 13.0.0.0/24 is directly connected, eth0 C>* 127.0.0.0/8 is directly connected, lo K>* 169.254.0.0/16 is directly connected, eth1 PE3# ping 12.1 connect: Network is unreachable PE3# sh ldp ses 3 8.162.7.240 45 OPERATIONAL 10.0.0.1 12.0.0.1 PE3# sh ldp disc Local LSR Identifier: 10.0.0.2 Interface Discovery Sources: eth1: xmit/recv LDP Id: 10.0.0.1:0 Targeted Discovery Sources: No configured peers PE3# sh ldp neigh Peer LDP Ident: 10.0.0.1:0; Local LDP Ident: 10.0.0.2:0 TCP connection: 10.0.0.2.30341 - 10.0.0.1.646 State: OPERATIONAL; Msgs sent/recv: 21/62; UNSOLICITED Up time: 00:04:06 LDP discovery sources: eth1 Addresses bound to peer: 10.0.0.1 12.0.0.1 [root@PE3 ~]# ip route 10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.2 13.0.0.0/24 dev eth0 proto kernel scope link src 13.0.0.1 [root@PE3 ~]# mpls nhlfe NHLFE entry key 0x00000002 mtu 1496 propagate_ttl push gen 10000 set eth1 ipv4 10.0.0.1 (0 bytes, 0 pkts) [root@PE3 ~]# mpls ilm ILM entry label gen 10000 labelspace 0 proto ipv4 pop peek (0 bytes, 0 pkts) |