[Xorp-users] newbie in XORP
Pavlin Radoslavov
pavlin@icir.org
Tue, 17 Jun 2003 17:15:18 -0700
> XORP installed ok, but when I try to run xorpsh it gives me this:
>
> step3 (fea)
> step3: execute
> TaskXrlItem::execute
> xrl fea/ifmgr/0.1/commit_transaction?tid:u32=$(interfaces.TID)
> +++++++[ 2003/06/17 14:02:08 ERROR fea:19666 FEA +382
> ifconfig_set_ioctl.cc push_config ] On rl0: O/S does not recognise interface
> [ 2003/06/17 14:02:08 WARNING fea XrlFeaTarget ] Handling method for
> ifmgr/0.1/commit_transaction failed: XrlCmdError 102 Command failed On
> rl0: O/S does not recognise interface
> TaskXrlItem::execute_done
> xrl_done (fea)
> TaskManager::task_done
> task failed
> ##############################################################
> ## commit_pass2_done
> ## commit failed: 102 Command failed On rl0: O/S does not recognise
> interface
> MasterConfigTree::config_done: fail: 102 Command failed On rl0: O/S does
> not recognise interface
> [ 2003/06/17 14:02:08 ERROR rtrmgr:19665 RTRMGR +127
> master_conf_tree.cc config_done ] Startup failed (102 Command failed On
> rl0: O/S does not recognise interface)
> Startup failed (102 Command failed On rl0: O/S does not recognise interface)
>
> Obviously I am doing something wrong but, what?
> My actual goal is to test MLD on Linux. Are there any shortcuts to that?
As Mark said, currently there is no support to start the
multicast-related stuff via the router manager.
However, there is a shortcut to test MLD only:
1. Get the lastest XORP code from the CVS repository as described in
http://www.xorp.org/cvs.html
(I just commited some code that fixes an IPv6/MLD-related problem).
2. Apply a simple patch to mld6igmp/test_mld6igmp.cc and
mld6igmp/configure_mld6igmp to use MLD instead of IGMP
(included at the end of this email).
3. Read mld6igmp/README how to modify/configure
mld6igmp/configure_mld6igmp for your needs, and how to start
and test MLD.
Note that the current shell-script based configuration of MLD is a
temporary solution, and the next XORP release should use the router
manager instead. Also, note that I have tested MLD only on
FreeBSD-4.7 so it may or may not work on IPv6-capable Linux.
Please let me know if you run into any problems.
Regards,
Pavlin
Index: configure_mld6igmp
===================================================================
RCS file: /usr/local/share/doc/apache/cvs/xorp/mld6igmp/configure_mld6igmp,v
retrieving revision 1.11
diff -c -u -r1.11 configure_mld6igmp
--- configure_mld6igmp 18 Jun 2003 00:07:03 -0000 1.11
+++ configure_mld6igmp 18 Jun 2003 00:07:41 -0000
@@ -8,12 +8,12 @@
# Send configuration commands to a running MLD/IGMP process.
#
-MODULE_NAME="IGMP"
+MODULE_NAME="MLD"
HOSTNAME=`hostname`
CLI_TARGET="CLI"
-MFEA_TARGET="MFEA_4"
-MLD6IGMP_TARGET="IGMP"
+MFEA_TARGET="MFEA_6"
+MLD6IGMP_TARGET="MLD"
. ../cli/xrl_cli_shell_funcs.sh
. ../fea/xrl_mfea_shell_funcs.sh
Index: test_mld6igmp.cc
===================================================================
RCS file: /usr/local/share/doc/apache/cvs/xorp/mld6igmp/test_mld6igmp.cc,v
retrieving revision 1.21
diff -c -u -r1.21 test_mld6igmp.cc
--- test_mld6igmp.cc 3 Jun 2003 10:30:36 -0000 1.21
+++ test_mld6igmp.cc 18 Jun 2003 00:07:41 -0000
@@ -55,7 +55,7 @@
//
// XXX: set to 1 for IPv4, or set to 0 for IPv6
-#define DO_IPV4 1
+#define DO_IPV4 0
//
// Local variables