Re: [mpls-linux-general] zebra+ldp
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2003-08-09 17:24:44
|
Are you sure you are using the zebra RPM from my site? It looks like you are running a newer zebra+ldp which must has a bug in it. I will double check to make sure my RPM isn't buggy. On Fri, Aug 08, 2003 at 11:34:37PM -0700, Zahra Farahmand wrote: > hi all, > I have two PCs with linux8.0 > A---------------------------B > 192.168.2.207 192.168.2.152 > I have installed: > 1-kernel-2.4.18-27.8.0+mpls1.172.i386.rpm > 2-iproute-2.4.7-5+mpls1.172.i386.rpm > 3-iptables-1.2.6a-2+mpls1.172.i386.rpm > 4-mplsadm2-1.172-2.i386.rpm > 5-zebra-0.94-1+ldp0.310.i386.rpm > successfully. > Now I want to setup dynamic LSP via ldp. > At first,I make a clean start: > #ip route flush scope global type unicast > #ip addr flush eth0 > and then to create dummy interface on each router, I > do a 'modprobe dummy' from my linux command line and > type > 'ip link show' to check that it is loaded. > Then using zebra cli, I assign address 192.168.0.1/32 > to com A, 192.168.0.2/32 to com B, at this point I > dont know if these addresses are correct or not? > and using the OSPF cli, I add a network statement, but > I dont know if it is right or not? > Here are my deamon files: > > Zebra.conf: > ! > ! Zebra configuration saved from vty > ! 2003/08/04 04:05:50 > ! > hostname uml-1 > password root > enable password root > service advanced-vty > ! > interface lo > description Loopback > ! > interface eth0 > ip address 192.168.2.207/24 > ! > interface dummy0 > ip address 192.168.0.1/32 > ! > ! > line vty > exec-timeout 0 0 > ! > ------------------------------ > ospfd.conf: > ! > ! Zebra configuration saved from vty > ! 2003/08/04 04:05:50 > ! > hostname uml-1 > password root > enable password root > service advanced-vty > ! > interface lo > description Loopback > ! > interface eth0 > ip address 192.168.2.207/24 > ! > interface dummy0 > ip address 192.168.0.1/32 > ! > ! > line vty > exec-timeout 0 0 > ! > ------------------------------- > mplsd.conf: > > ! > ! Zebra configuration saved from vty > ! 2003/08/04 04:05:50 > ! > hostname uml-1 > password root > enable password root > ! > ! > mpls ldp > egress connected > ! > interface lo > no mpls labelspace > ! > interface eth0 > mpls labelspace 0 > mpls ldp > ! > ! > interface dummy0 > no mpls labelspace > ! > line vty > ! > ----------------------------- > Then I run the following commands on both computers: > # ./zebra -f /etc/zebra.conf -P 1024 -d > # ./ospfd -f /etc/ospfd.conf -P 1025 -d > # ./mplsd -f /etc/mplsd.conf -P 1026 > but when I run the last command, this message appears: > rsvpte_vty_init > there is no such command > Error occured during reading below line > mpls labelspace 0 > So I try to configure it by hand, telnet to port 1026 > and login and execute the below commands: > > enable > <password> > conf ter > mpls ldp > tr all > exit > int lo > exit > int eth0 > mpls ldp > exit > int dummy0 > exit > end > ----------------- > on comuter A: > uml-zebra# sho router-id > router-id: 192.168.0.1 > > uml-mplsd# sho ldp > LSR-ID: c0a80001 Admin State: ENABLED > Transport Address: c0a80001 > 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 > > uml-mplsd# sho ldp neighbor > Peer LDP Ident: 192.168.0.2:0; Local LDP Ident: > 192.168.0.1:0 > TCP connection: n/a > State: discovery; Msgs sent/recv: -/-; > Up time: - > LDP discovery sources: > eth0 > > uml-mplsd# sho ldp database > no labeling info has been exchanged > > uml-mplsd# sho ldp session > no established sessions > Why no session stablished and no labeling info has > been exchanged? > > uml-mplsd# sho mpls ftn > FTNs: > > Total 0 > > uml-mplsd# sho mpls forwarding > Insegments: > > Total 0 > > Outsegments: > > Total 0 > > Cross Connects: > > Total 0 > -------------------- > on computer B: > uml-mplsd# sho ldp > LSR-ID: c0a80002 Admin State: ENABLED > Transport Address: c0a80002 > 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 > > uml-mplsd# sho ldp neighbor > > No discovered neighbors > > Why "No discovered neighbors" ? > > when I caputre the packets with ethereal, both > cmputres only send Hello message to 224.0.0.2 > destination, I'm confused,Please help me. > I'm sorry if the letter is too long, but it's very > important for me to solve the problem and setup > dynamic LSP via ldp, I really need your help. > Thanks alot for your time. > > Regards, > Z-Farahmand > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |