From edwin at spacebugs.nl Wed Feb 1 11:26:34 2012 From: edwin at spacebugs.nl (Edwin Schokkenbroek) Date: Wed, 1 Feb 2012 20:26:34 +0100 Subject: [Xorp-users] Xorp 1.8.5 OSPF adjacencies problems on FreeBSD 8.2 with jails. In-Reply-To: <06108D50-DAC9-4658-9A49-BDB38C5C4F3A@spacebugs.nl> References: <06108D50-DAC9-4658-9A49-BDB38C5C4F3A@spacebugs.nl> Message-ID: On 01/31/2012 03:33 PM, Edwin Schokkenbroek wrote: > > Hello Ben, Ok, so the bug was introduced in the 1.8.5 release it seems. To bisect this, you clone the xorp project: git clone git://github.com/greearb/xorp.ct.git Then, in the newly created repository: git bisect start git bisect good xorp-1.8.4 git bisect bad HEAD Now, compile xorp, install it and test. If it is good, then just enter 'git bisect good' and if it fails, then 'git bisect bad'. Then compile, test, repeat. Eventually, git bisect will tell you which commit introduced the problem. Let me know that information and hopefully I can figure out where the problem lies. Well that was quite a learning experience :-). And thanks for pointing out how to do this. The last two steps: Version tag: 14c29f6 Build Date: 2012-02-01 19:02 64-bit -> bad /data/xorp/bug-trace/xorp.ct]# git bisect bad Bisecting: 0 revisions left to test after this (roughly 0 steps) [6711ba5156552bafdaffd8fbf2350c9b7c39d08e] raw-sockets: Assume platforms support raw socket input/output. Version tag: 6711ba5 Build Date: 2012-02-01 19:46 64-bit -> bad /data/xorp/bug-trace/xorp.ct]# git bisect bad6711ba5156552bafdaffd8fbf2350c9b7c39d08e is the first bad commit commit 6711ba5156552bafdaffd8fbf2350c9b7c39d08e Author: Ben Greear Date: Thu Oct 6 09:29:52 2011 -0700 raw-sockets: Assume platforms support raw socket input/output. The old check tried to match on systems that did..but it misses weird systems (some arm-linux, at least). So instead specifically exclude certain systems (mingw). This might break Solaris, or perhaps not. Signed-off-by: Ben Greear :040000 040000 171b9f8bf29050bbe0301f0a04d7f7d261c29225 61c5328303596ffdeeaa6f8544a79fb20fe03960 M xorp [root at chaos-prod /data/xorp/bug-trace/xorp.ct]# I hope this provides the information needed. Edwin Schokkenbroek From greearb at candelatech.com Wed Feb 1 12:12:07 2012 From: greearb at candelatech.com (Ben Greear) Date: Wed, 01 Feb 2012 12:12:07 -0800 Subject: [Xorp-users] Xorp 1.8.5 OSPF adjacencies problems on FreeBSD 8.2 with jails. In-Reply-To: References: <06108D50-DAC9-4658-9A49-BDB38C5C4F3A@spacebugs.nl> Message-ID: <4F299C97.20209@candelatech.com> On 02/01/2012 11:26 AM, Edwin Schokkenbroek wrote: > On 01/31/2012 03:33 PM, Edwin Schokkenbroek wrote: > /data/xorp/bug-trace/xorp.ct]# git bisect bad6711ba5156552bafdaffd8fbf2350c9b7c39d08e is the first bad commit > commit 6711ba5156552bafdaffd8fbf2350c9b7c39d08e > Author: Ben Greear > Date: Thu Oct 6 09:29:52 2011 -0700 > > raw-sockets: Assume platforms support raw socket input/output. > > The old check tried to match on systems that did..but it misses > weird systems (some arm-linux, at least). So instead specifically > exclude certain systems (mingw). This might break Solaris, or perhaps > not. > > Signed-off-by: Ben Greear > > :040000 040000 171b9f8bf29050bbe0301f0a04d7f7d261c29225 61c5328303596ffdeeaa6f8544a79fb20fe03960 M xorp > [root at chaos-prod /data/xorp/bug-trace/xorp.ct]# > > > I hope this provides the information needed. Yes, looks good. Can you try the attached patch and see if that fixes the problem for you? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com -------------- next part -------------- A non-text attachment was scrubbed... Name: xorp.patch Type: text/x-patch Size: 1307 bytes Desc: not available Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20120201/b7f9b4b8/attachment.bin From edwin at spacebugs.nl Wed Feb 1 15:29:24 2012 From: edwin at spacebugs.nl (Edwin Schokkenbroek) Date: Thu, 2 Feb 2012 00:29:24 +0100 Subject: [Xorp-users] Xorp 1.8.5 OSPF adjacencies problems on FreeBSD 8.2 with jails. Message-ID: Yes, looks good. Can you try the attached patch and see if that fixes the problem for you? I tried the patch and it works :-). Before I started I did a: git bisect reset Applied the patch and great success :-) Welcome to XORP v1.8.5 on R4 Version tag: 641bb62 Build Date: 2012-02-01 23:12 64-bit beheer at R4> show ospf4 neighbor Address Interface State ID Pri Dead 10.1.100.2 epair1a/epair1a Full 10.1.100.2 128 39 10.1.100.6 epair2a/epair2a Full 10.1.100.6 128 37 beheer at R4> Thanks for your fast response and guiding me through the process. Edwin Schokkenbroek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20120202/07c6d4f7/attachment.html From greearb at candelatech.com Wed Feb 1 15:32:38 2012 From: greearb at candelatech.com (Ben Greear) Date: Wed, 01 Feb 2012 15:32:38 -0800 Subject: [Xorp-users] Xorp 1.8.5 OSPF adjacencies problems on FreeBSD 8.2 with jails. In-Reply-To: References: Message-ID: <4F29CB96.3050502@candelatech.com> On 02/01/2012 03:29 PM, Edwin Schokkenbroek wrote: > Yes, looks good. Can you try the attached patch and see if that > fixes the problem for you? > > I tried the patch and it works :-). Before I started I did a: git bisect reset > > Applied the patch and great success :-) > > Welcome to XORP v1.8.5 on R4 > Version tag: 641bb62 Build Date: 2012-02-01 23:12 64-bit > beheer at R4> show ospf4 neighbor > Address Interface State ID Pri Dead > 10.1.100.2 epair1a/epair1a Full 10.1.100.2 128 39 > 10.1.100.6 epair2a/epair2a Full 10.1.100.6 128 37 > beheer at R4> > > > Thanks for your fast response and guiding me through the process. Thanks for the good bug report. Also, do you happen to have netbsd that you could test on? It may need the same fix..but I don't have any systems to test on. Thanks, Ben > > Edwin Schokkenbroek > > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users -- Ben Greear Candela Technologies Inc http://www.candelatech.com From edwin at spacebugs.nl Wed Feb 1 15:54:20 2012 From: edwin at spacebugs.nl (Edwin Schokkenbroek) Date: Thu, 2 Feb 2012 00:54:20 +0100 Subject: [Xorp-users] Xorp 1.8.5 OSPF adjacencies problems on FreeBSD 8.2 with jails. Message-ID: Thanks for the good bug report. Also, do you happen to have netbsd that you could test on? It may need the same fix..but I don't have any systems to test on. Nope sorry I don't have any netbsd system running at this time. And at don't have the time to set this up. Maybe someone on this list can try ? Edwin Schokkenbroek From abhinava.sadasivarao at gmail.com Tue Feb 7 21:03:16 2012 From: abhinava.sadasivarao at gmail.com (Abhinava Sadasivarao) Date: Wed, 8 Feb 2012 00:03:16 -0500 Subject: [Xorp-users] Xorp on Ubuntu 10.04 (OpenVZ) Message-ID: <00a601cce61e$f8a1c360$e9e54a20$@gmail.com> Hello, I am quite new to Xorp and got interested after reading the HotNets '02 paper. I am trying to perform a few experiments and wanted to try Xorp out. I compiled Xorp 1.8.5 from source on Ubuntu 10.04 running within a OpenVZ VE. I had a few questions in general about Xorp and a few specific questions about running Xorp within a virtualized setting. # uname -rvo 2.6.32.14-ovz32 #1 SMP Mon Jan 30 13:21:07 EST 2012 i686 GNU/Linux After going through the getting_started wiki and the user manual, I came to a few conclusions. For now, I'm just trying to set up an extremely simple network similar to the following: --------------------- ---------------------------------------------------- --------------------- | (Host 1) | |============ ================| | (Host 2) | | 10.12.1.5/24 |<------->| 10.12.1.2 | | 10.12.2.2 |<------->| 10.12.2.5/24 | | | | (10.12.1.0/24) | | (10.12.2.0/24) | | | |____________| |============| ================| |____________| |__________XORP ROUTER___________| I have an eth0 (10.12.1.2) and eth1 (10.12.2.2) on Xorp router Attempting to ping or traceroute from Host 1 to Host 2 and see if the packets travel from Host 1 -> 10.12.1.0/24 iface -> 10.12.2.0/24 iface -> Host 2 My xorp config file looks like this (skipping the rtrmgr section): protocols { fib2mrib { disable: true } static { disable: false route 10.12.1.0/24 { next-hop: 10.12.1.2 metric: 1 } route 10.12.2.0/24 { next-hop: 10.12.2.2 metric: 1 } } } fea { unicast-forwarding4 { disable: false } unicast-forwarding4 { disable: true } } interfaces { restore-original-config-on-shutdown: true interface eth0 { description: "10.12.1.0/24 subnet" disable: false discard: false unreachable: false management: false vif eth0 { disable: false address 10.12.1.2 { prefix-length: 24 broadcast: 10.12.1.255 disable: false } } } interface eth1 { description: "10.12.2.0/24 subnet" disable: false discard: false unreachable: false management: false vif eth1 { disable: false address 10.12.2.2 { prefix-length: 24 broadcast: 10.12.2.255 disable: false } } } interface lo { description: "Loopback" disable: false default-system-config } The question I have is when I start xorp, shouldn't it modify my linux ip tables and install these static routes? With the above config, kernel forwarding path must be used. I see nothing added at all when I execute "ip route show". As a reason, if I ping Host 2 from Host 1, nothing really goes through. Of course, all these nodes (Host 1,2 and router) are virtual containers and I referred to http://wiki.openvz.org/Veth to create the [v]eth0 and [v]eth1 on the xorp container and I believe I have things setup properly. But still, shouldn't xorp add routes to my linux route table? On my xorp container, eth0 binds to 10.12.1.2 and eth1 to 10.12.2.2. Considering this, is the static routing section in the config file correct? Sorry for the verbiage but I think the picture will be incomplete without the everything. From igorm at etf.rs Mon Feb 13 08:23:12 2012 From: igorm at etf.rs (=?ISO-8859-2?Q?Igor_Maravi=E6?=) Date: Mon, 13 Feb 2012 17:23:12 +0100 Subject: [Xorp-users] XORP help Message-ID: Hi all, I have one question. How do you get string in xorpsh that is defined with %help: long in template file? Also, how do you get result of xrl in xorpsh that is defined with %list: in template file? BR Igor From jose.spam at netvisao.pt Sat Feb 18 19:53:01 2012 From: jose.spam at netvisao.pt (Jose Manuel dos Santos Calhariz) Date: Sun, 19 Feb 2012 03:53:01 +0000 Subject: [Xorp-users] xorp 1.8.5 for Debian v6.0 aka stable or squeeze Message-ID: <20120219035301.GA2075@calhariz.com> I compiled and packaged xorp 1.8.5 for Debian v6.0 aka stable or squeeze. This is not an official Debian package, so in case of problems email me or to this list. The usual disclaimers apply. The package for download is here: http://debian-old.calhariz.com/debian/dists/squeeze/UNRELEASED/main/xorp_1.8.5-1~~cal60+1_amd64.deb http://debian-old.calhariz.com/debian/dists/squeeze/UNRELEASED/main/xorp_1.8.5-1~~cal60+1_i386.deb Jos? Calhariz -- -- Franqueza ? dar ajuda ao mais poderoso --Luis Vaz de Cam?es From mccrajs at tigermail.auburn.edu Tue Feb 28 17:43:43 2012 From: mccrajs at tigermail.auburn.edu (James Mccracken) Date: Wed, 29 Feb 2012 01:43:43 +0000 Subject: [Xorp-users] New to XORP. Trying to get XORP running using OLSR. Need help with errors. Message-ID: Hi, I'm brand new to XORP and I am trying to get two laptops talking to each other using XORP with OLSR (Ad-Hoc configuration for MANETs). I have installed Ubuntu 11.10 on both laptops and followed the getting started guide to set up XORP. I am getting some errors that I do not know how to fix and was hoping someone would have some insight. Here is the output when I start xorp_rtrmgr: ---------------------------------------------------------------------------------------------------------------------- james at james-HP-EliteBook-8540p:/usr/local/xorp/etc$ sudo /usr/local/xorp/sbin/xorp_rtrmgr -b xorp_olsr.conf Not doing pidfile... [ 2012/02/28 19:13:58.137245 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/main_rtrmgr.cc:718 main ] XORP 1.8.5 BuildInfo: git version: 9999e68 built: Sun Feb 26 17:46:33 CST 2012 By: root on machine: Linux james-HP-EliteBook-8540p 3.0.0-12-generic i686 i686 Recent git changes: 9999e68d xorp: rtrmgr: Fix compiling when shared and rtld_origin are setted to false ef300b10 xorp: Introduce "false" option for scons args ea8ecac4 xorp: Introduced new flag enable_builddirrun for compiling Xorp [ 2012/02/28 19:13:58.140181 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/main_rtrmgr.cc:754 main ] Host Information: Linux james-HP-EliteBook-8540p 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:50:54 UTC 2012 i686 i686 i386 GNU/LinuxUbuntu 11.10 \n \l [ 2012/02/28 19:13:58.178848 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/master_conf_tree.cc:257 execute ] Changed modules: interfaces, firewall, fea, rib, policy, fib2mrib, olsr4 [ 2012/02/28 19:13:58.179332 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/module_command.cc:327 startup_validation ] WARNING: Using DelayValidation, module_name: olsr4 [ 2012/02/28 19:13:58.179663 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: interfaces (xorp_fea) [ 2012/02/28 19:13:58.180351 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not enabled. [ 2012/02/28 19:13:58.180508 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 [ 2012/02/28 19:13:59.182088 INFO xorp_fea:26273 MFEA fea/mfea_node.cc:295 enable ] MFEA enabled [ 2012/02/28 19:13:59.182143 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:126 enable ] CLI enabled [ 2012/02/28 19:13:59.182289 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:92 start ] CLI started [ 2012/02/28 19:13:59.182303 INFO xorp_fea:26273 MFEA fea/mfea_node.cc:295 enable ] MFEA enabled [ 2012/02/28 19:13:59.182314 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:126 enable ] CLI enabled [ 2012/02/28 19:13:59.182387 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:92 start ] CLI started [ 2012/02/28 19:13:59.190774 WARNING xorp_fea:26273 FEA fea/data_plane/ifconfig/ifconfig_get_netlink_socket.cc:149 try_read_config_one ] NOTE: Netlink get single network device works on this system. [ 2012/02/28 19:13:59.191685 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: firewall (xorp_fea) [ 2012/02/28 19:13:59.192177 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: fea (xorp_fea) [ 2012/02/28 19:13:59.193104 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: rib (xorp_rib) [ 2012/02/28 19:13:59.193683 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "rib" does not exist or is not enabled. [ 2012/02/28 19:13:59.193857 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 [ 2012/02/28 19:14:00.195681 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: policy (xorp_policy) [ 2012/02/28 19:14:00.196250 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "policy" does not exist or is not enabled. [ 2012/02/28 19:14:00.196393 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 [ 2012/02/28 19:14:01.198610 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: fib2mrib (xorp_fib2mrib) [ 2012/02/28 19:14:01.199262 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "fib2mrib" does not exist or is not enabled. [ 2012/02/28 19:14:01.199410 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 [ 2012/02/28 19:14:02.201379 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: olsr4 (xorp_olsr4) [ 2012/02/28 19:14:04.206545 WARNING xorp_olsr4:26454 OLSR contrib/olsr/xrl_target.cc:772 olsr4_0_1_change_local_addr_port ] OLSR does not yet support changing local address and port at runtime. [ 2012/02/28 19:14:04.206926 WARNING xorp_olsr4:26454 OLSR contrib/olsr/xrl_target.cc:794 olsr4_0_1_change_all_nodes_addr_port ] OLSR does not yet support changing remote address and port at runtime. [ 2012/02/28 19:14:04.207074 WARNING xorp_olsr4:26454 OLSR contrib/olsr/xrl_target.cc:794 olsr4_0_1_change_all_nodes_addr_port ] OLSR does not yet support changing remote address and port at runtime. [ 2012/02/28 19:14:04.207668 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:2242 run_task ] No more tasks to run [ 2012/02/28 19:14:04.208231 WARNING xorp_fea:26273 LIBCOMM libcomm/comm_sock.c:967 comm_set_reuseport ] SO_REUSEPORT Undefined! ---------------------------------------------------------------------------------------------------------------------- Are all of these warnings okay? This starts XORP and I can ping the other laptop. It also show up when I execute "$ ip route show": 10.10.10.20 via 10.10.10.20 dev wlan0 proto xorp metric 5 notify So XORP seems to be running but OLSR is not functioning correctly. I get this error whenever I try to execute a show command for OLSR within xorpsh: ---------------------------------------------------------------------------------------------------------------------- root at james-HP-EliteBook-8540p> show olsr4 interface olsr_print_databases: error while loading shared libraries: libxorp_ipc.so: cannot open shared object file: No such file or directory ERROR: Command "/usr/local/xorp/lib/xorp/bin/olsr_print_databases": exited with exit status 127. ---------------------------------------------------------------------------------------------------------------------- And lastly, here is my config file: ---------------------------------------------------------------------------------------------------------------------- /* $XORP$ */ protocols { fib2mrib { disable: false } olsr4 { main-address: 10.10.10.10 interface wlan0 { vif wlan0 { address 10.10.10.10 { } } } } } fea { unicast-forwarding4 { disable: false } } interfaces { interface lo { description: "loopback interface" disable: false vif lo { disable: false address 127.0.0.1 { prefix-length: 8 broadcast: 127.255.255.255 disable: false } } } interface wlan0 { description: "Wifi wlan0" disable: false vif wlan0 { disable: false address 10.10.10.10 { prefix-length: 24 broadcast: 10.10.10.255 disable: false } address 2001:DB8:10:10:10:10:10:10 { prefix-length: 64 disable: false } } } } /* plumbing { mfea4 { disable: false interface wlan0 { vif wlan0 { disable: false } } interface "register_vif" { vif "register_vif" { disable: false } } } }*/ ---------------------------------------------------------------------------------------------------------------------- Any input or suggestions would be greatly appreciated. Thanks. Sincerely, James From greearb at candelatech.com Tue Feb 28 22:01:30 2012 From: greearb at candelatech.com (Ben Greear) Date: Tue, 28 Feb 2012 22:01:30 -0800 Subject: [Xorp-users] New to XORP. Trying to get XORP running using OLSR. Need help with errors. In-Reply-To: References: Message-ID: <4F4DBF3A.5070403@candelatech.com> On 02/28/2012 05:43 PM, James Mccracken wrote: > Hi, > > I'm brand new to XORP and I am trying to get two laptops talking to each other using XORP with OLSR (Ad-Hoc configuration for MANETs). I have installed Ubuntu 11.10 on both laptops and followed the getting started guide to set up XORP. I am getting some errors that I do not know how to fix and was hoping someone would have some insight. Here is the output when I start xorp_rtrmgr: This might be some bug that Igor's changes caused. Did you do a 'scons install' ? Igor might have a chance to look at this before I do..but if not, I'll try it out next week (out of the office this week). Thanks, Ben > > ---------------------------------------------------------------------------------------------------------------------- > james at james-HP-EliteBook-8540p:/usr/local/xorp/etc$ sudo /usr/local/xorp/sbin/xorp_rtrmgr -b xorp_olsr.conf > Not doing pidfile... > [ 2012/02/28 19:13:58.137245 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/main_rtrmgr.cc:718 main ] > > XORP 1.8.5 BuildInfo: > git version: 9999e68 built: Sun Feb 26 17:46:33 CST 2012 > By: root on machine: Linux james-HP-EliteBook-8540p 3.0.0-12-generic i686 i686 > Recent git changes: > 9999e68d xorp: rtrmgr: Fix compiling when shared and rtld_origin are setted to false > ef300b10 xorp: Introduce "false" option for scons args > ea8ecac4 xorp: Introduced new flag enable_builddirrun for compiling Xorp > [ 2012/02/28 19:13:58.140181 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/main_rtrmgr.cc:754 main ] > Host Information: > Linux james-HP-EliteBook-8540p 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:50:54 UTC 2012 i686 i686 i386 GNU/LinuxUbuntu 11.10 \n \l > > [ 2012/02/28 19:13:58.178848 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/master_conf_tree.cc:257 execute ] Changed modules: interfaces, firewall, fea, rib, policy, fib2mrib, olsr4 > [ 2012/02/28 19:13:58.179332 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/module_command.cc:327 startup_validation ] WARNING: Using DelayValidation, module_name: olsr4 > [ 2012/02/28 19:13:58.179663 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: interfaces (xorp_fea) > [ 2012/02/28 19:13:58.180351 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not enabled. > [ 2012/02/28 19:13:58.180508 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 > [ 2012/02/28 19:13:59.182088 INFO xorp_fea:26273 MFEA fea/mfea_node.cc:295 enable ] MFEA enabled > [ 2012/02/28 19:13:59.182143 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:126 enable ] CLI enabled > [ 2012/02/28 19:13:59.182289 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:92 start ] CLI started > [ 2012/02/28 19:13:59.182303 INFO xorp_fea:26273 MFEA fea/mfea_node.cc:295 enable ] MFEA enabled > [ 2012/02/28 19:13:59.182314 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:126 enable ] CLI enabled > [ 2012/02/28 19:13:59.182387 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:92 start ] CLI started > [ 2012/02/28 19:13:59.190774 WARNING xorp_fea:26273 FEA fea/data_plane/ifconfig/ifconfig_get_netlink_socket.cc:149 try_read_config_one ] NOTE: Netlink get single network device works on this system. > [ 2012/02/28 19:13:59.191685 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: firewall (xorp_fea) > [ 2012/02/28 19:13:59.192177 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: fea (xorp_fea) > [ 2012/02/28 19:13:59.193104 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: rib (xorp_rib) > [ 2012/02/28 19:13:59.193683 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "rib" does not exist or is not enabled. > [ 2012/02/28 19:13:59.193857 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 > [ 2012/02/28 19:14:00.195681 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: policy (xorp_policy) > [ 2012/02/28 19:14:00.196250 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "policy" does not exist or is not enabled. > [ 2012/02/28 19:14:00.196393 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 > [ 2012/02/28 19:14:01.198610 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: fib2mrib (xorp_fib2mrib) > [ 2012/02/28 19:14:01.199262 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "fib2mrib" does not exist or is not enabled. > [ 2012/02/28 19:14:01.199410 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 > [ 2012/02/28 19:14:02.201379 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: olsr4 (xorp_olsr4) > [ 2012/02/28 19:14:04.206545 WARNING xorp_olsr4:26454 OLSR contrib/olsr/xrl_target.cc:772 olsr4_0_1_change_local_addr_port ] OLSR does not yet support changing local address and port at runtime. > [ 2012/02/28 19:14:04.206926 WARNING xorp_olsr4:26454 OLSR contrib/olsr/xrl_target.cc:794 olsr4_0_1_change_all_nodes_addr_port ] OLSR does not yet support changing remote address and port at runtime. > [ 2012/02/28 19:14:04.207074 WARNING xorp_olsr4:26454 OLSR contrib/olsr/xrl_target.cc:794 olsr4_0_1_change_all_nodes_addr_port ] OLSR does not yet support changing remote address and port at runtime. > [ 2012/02/28 19:14:04.207668 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:2242 run_task ] No more tasks to run > [ 2012/02/28 19:14:04.208231 WARNING xorp_fea:26273 LIBCOMM libcomm/comm_sock.c:967 comm_set_reuseport ] SO_REUSEPORT Undefined! > ---------------------------------------------------------------------------------------------------------------------- > > Are all of these warnings okay? This starts XORP and I can ping the other laptop. It also show up when I execute "$ ip route show": > > 10.10.10.20 via 10.10.10.20 dev wlan0 proto xorp metric 5 notify > > So XORP seems to be running but OLSR is not functioning correctly. I get this error whenever I try to execute a show command for OLSR within xorpsh: > > ---------------------------------------------------------------------------------------------------------------------- > root at james-HP-EliteBook-8540p> show olsr4 interface > olsr_print_databases: error while loading shared libraries: libxorp_ipc.so: cannot open shared object file: No such file or directory > ERROR: Command "/usr/local/xorp/lib/xorp/bin/olsr_print_databases": exited with exit status 127. > ---------------------------------------------------------------------------------------------------------------------- > > And lastly, here is my config file: > > ---------------------------------------------------------------------------------------------------------------------- > /* $XORP$ */ > protocols { > fib2mrib { > disable: false > } > olsr4 { > main-address: 10.10.10.10 > interface wlan0 { > vif wlan0 { > address 10.10.10.10 { > } > } > } > } > } > fea { > unicast-forwarding4 { > disable: false > } > } > interfaces { > interface lo { > description: "loopback interface" > disable: false > vif lo { > disable: false > address 127.0.0.1 { > prefix-length: 8 > broadcast: 127.255.255.255 > disable: false > } > } > } > interface wlan0 { > description: "Wifi wlan0" > disable: false > vif wlan0 { > disable: false > address 10.10.10.10 { > prefix-length: 24 > broadcast: 10.10.10.255 > disable: false > } > address 2001:DB8:10:10:10:10:10:10 { > prefix-length: 64 > disable: false > } > } > } > } > /* > plumbing { > mfea4 { > disable: false > interface wlan0 { > vif wlan0 { > disable: false > } > } > interface "register_vif" { > vif "register_vif" { > disable: false > } > } > } > }*/ > ---------------------------------------------------------------------------------------------------------------------- > > Any input or suggestions would be greatly appreciated. Thanks. > > > > Sincerely, > > James > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users -- Ben Greear Candela Technologies Inc http://www.candelatech.com From mccrajs at tigermail.auburn.edu Wed Feb 29 06:27:02 2012 From: mccrajs at tigermail.auburn.edu (James Mccracken) Date: Wed, 29 Feb 2012 14:27:02 +0000 Subject: [Xorp-users] New to XORP. Trying to get XORP running using OLSR. Need help with errors. In-Reply-To: <4F4DBF3A.5070403@candelatech.com> References: , <4F4DBF3A.5070403@candelatech.com> Message-ID: Yes I did 'scons install' from /home/james/xorp.ct/xorp Sincerely, James ________________________________________ From: Ben Greear [greearb at candelatech.com] Sent: Wednesday, February 29, 2012 12:01 AM To: James Mccracken Cc: xorp-users at xorp.org Subject: Re: [Xorp-users] New to XORP. Trying to get XORP running using OLSR. Need help with errors. On 02/28/2012 05:43 PM, James Mccracken wrote: > Hi, > > I'm brand new to XORP and I am trying to get two laptops talking to each other using XORP with OLSR (Ad-Hoc configuration for MANETs). I have installed Ubuntu 11.10 on both laptops and followed the getting started guide to set up XORP. I am getting some errors that I do not know how to fix and was hoping someone would have some insight. Here is the output when I start xorp_rtrmgr: This might be some bug that Igor's changes caused. Did you do a 'scons install' ? Igor might have a chance to look at this before I do..but if not, I'll try it out next week (out of the office this week). Thanks, Ben > > ---------------------------------------------------------------------------------------------------------------------- > james at james-HP-EliteBook-8540p:/usr/local/xorp/etc$ sudo /usr/local/xorp/sbin/xorp_rtrmgr -b xorp_olsr.conf > Not doing pidfile... > [ 2012/02/28 19:13:58.137245 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/main_rtrmgr.cc:718 main ] > > XORP 1.8.5 BuildInfo: > git version: 9999e68 built: Sun Feb 26 17:46:33 CST 2012 > By: root on machine: Linux james-HP-EliteBook-8540p 3.0.0-12-generic i686 i686 > Recent git changes: > 9999e68d xorp: rtrmgr: Fix compiling when shared and rtld_origin are setted to false > ef300b10 xorp: Introduce "false" option for scons args > ea8ecac4 xorp: Introduced new flag enable_builddirrun for compiling Xorp > [ 2012/02/28 19:13:58.140181 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/main_rtrmgr.cc:754 main ] > Host Information: > Linux james-HP-EliteBook-8540p 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:50:54 UTC 2012 i686 i686 i386 GNU/LinuxUbuntu 11.10 \n \l > > [ 2012/02/28 19:13:58.178848 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/master_conf_tree.cc:257 execute ] Changed modules: interfaces, firewall, fea, rib, policy, fib2mrib, olsr4 > [ 2012/02/28 19:13:58.179332 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/module_command.cc:327 startup_validation ] WARNING: Using DelayValidation, module_name: olsr4 > [ 2012/02/28 19:13:58.179663 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: interfaces (xorp_fea) > [ 2012/02/28 19:13:58.180351 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not enabled. > [ 2012/02/28 19:13:58.180508 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 > [ 2012/02/28 19:13:59.182088 INFO xorp_fea:26273 MFEA fea/mfea_node.cc:295 enable ] MFEA enabled > [ 2012/02/28 19:13:59.182143 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:126 enable ] CLI enabled > [ 2012/02/28 19:13:59.182289 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:92 start ] CLI started > [ 2012/02/28 19:13:59.182303 INFO xorp_fea:26273 MFEA fea/mfea_node.cc:295 enable ] MFEA enabled > [ 2012/02/28 19:13:59.182314 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:126 enable ] CLI enabled > [ 2012/02/28 19:13:59.182387 INFO xorp_fea:26273 MFEA fea/mfea_node_cli.cc:92 start ] CLI started > [ 2012/02/28 19:13:59.190774 WARNING xorp_fea:26273 FEA fea/data_plane/ifconfig/ifconfig_get_netlink_socket.cc:149 try_read_config_one ] NOTE: Netlink get single network device works on this system. > [ 2012/02/28 19:13:59.191685 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: firewall (xorp_fea) > [ 2012/02/28 19:13:59.192177 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: fea (xorp_fea) > [ 2012/02/28 19:13:59.193104 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: rib (xorp_rib) > [ 2012/02/28 19:13:59.193683 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "rib" does not exist or is not enabled. > [ 2012/02/28 19:13:59.193857 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 > [ 2012/02/28 19:14:00.195681 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: policy (xorp_policy) > [ 2012/02/28 19:14:00.196250 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "policy" does not exist or is not enabled. > [ 2012/02/28 19:14:00.196393 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 > [ 2012/02/28 19:14:01.198610 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: fib2mrib (xorp_fib2mrib) > [ 2012/02/28 19:14:01.199262 WARNING xorp_rtrmgr:26266 XrlFinderTarget obj/i686-pc-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "fib2mrib" does not exist or is not enabled. > [ 2012/02/28 19:14:01.199410 WARNING xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 > [ 2012/02/28 19:14:02.201379 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: olsr4 (xorp_olsr4) > [ 2012/02/28 19:14:04.206545 WARNING xorp_olsr4:26454 OLSR contrib/olsr/xrl_target.cc:772 olsr4_0_1_change_local_addr_port ] OLSR does not yet support changing local address and port at runtime. > [ 2012/02/28 19:14:04.206926 WARNING xorp_olsr4:26454 OLSR contrib/olsr/xrl_target.cc:794 olsr4_0_1_change_all_nodes_addr_port ] OLSR does not yet support changing remote address and port at runtime. > [ 2012/02/28 19:14:04.207074 WARNING xorp_olsr4:26454 OLSR contrib/olsr/xrl_target.cc:794 olsr4_0_1_change_all_nodes_addr_port ] OLSR does not yet support changing remote address and port at runtime. > [ 2012/02/28 19:14:04.207668 INFO xorp_rtrmgr:26266 RTRMGR rtrmgr/task.cc:2242 run_task ] No more tasks to run > [ 2012/02/28 19:14:04.208231 WARNING xorp_fea:26273 LIBCOMM libcomm/comm_sock.c:967 comm_set_reuseport ] SO_REUSEPORT Undefined! > ---------------------------------------------------------------------------------------------------------------------- > > Are all of these warnings okay? This starts XORP and I can ping the other laptop. It also show up when I execute "$ ip route show": > > 10.10.10.20 via 10.10.10.20 dev wlan0 proto xorp metric 5 notify > > So XORP seems to be running but OLSR is not functioning correctly. I get this error whenever I try to execute a show command for OLSR within xorpsh: > > ---------------------------------------------------------------------------------------------------------------------- > root at james-HP-EliteBook-8540p> show olsr4 interface > olsr_print_databases: error while loading shared libraries: libxorp_ipc.so: cannot open shared object file: No such file or directory > ERROR: Command "/usr/local/xorp/lib/xorp/bin/olsr_print_databases": exited with exit status 127. > ---------------------------------------------------------------------------------------------------------------------- > > And lastly, here is my config file: > > ---------------------------------------------------------------------------------------------------------------------- > /* $XORP$ */ > protocols { > fib2mrib { > disable: false > } > olsr4 { > main-address: 10.10.10.10 > interface wlan0 { > vif wlan0 { > address 10.10.10.10 { > } > } > } > } > } > fea { > unicast-forwarding4 { > disable: false > } > } > interfaces { > interface lo { > description: "loopback interface" > disable: false > vif lo { > disable: false > address 127.0.0.1 { > prefix-length: 8 > broadcast: 127.255.255.255 > disable: false > } > } > } > interface wlan0 { > description: "Wifi wlan0" > disable: false > vif wlan0 { > disable: false > address 10.10.10.10 { > prefix-length: 24 > broadcast: 10.10.10.255 > disable: false > } > address 2001:DB8:10:10:10:10:10:10 { > prefix-length: 64 > disable: false > } > } > } > } > /* > plumbing { > mfea4 { > disable: false > interface wlan0 { > vif wlan0 { > disable: false > } > } > interface "register_vif" { > vif "register_vif" { > disable: false > } > } > } > }*/ > ---------------------------------------------------------------------------------------------------------------------- > > Any input or suggestions would be greatly appreciated. Thanks. > > > > Sincerely, > > James > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users -- Ben Greear Candela Technologies Inc http://www.candelatech.com