<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3527" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#dbdbdb>
<DIV><FONT size=2>Hi All:</FONT></DIV>
<DIV><FONT size=2> </FONT></DIV>
<DIV>I want to run XORP + Click(Linuxmodel) on the same PC(Fedora 6.0
2.6.19.2kernel), and write the XORP configuration as
follows. Do I need write click</DIV>
<DIV>configuration ? How to write Click configration? If you have done
this work ,could you share your configuration file and experience with me.
Please help me.Thanks a lot.</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>///////////////////////////////////////<BR><BR> My XORP config
file as follows:<BR><BR>//////////////////////////////////////</DIV>
<DIV>/* interface configure */<BR>interfaces {<BR> interface
eth1 {<BR> vif eth1 {<BR>
address 20.1.1.2 {<BR>
prefix-length: 24<BR>
}<BR>
}<BR>
}</DIV>
<DIV> </DIV>
<DIV> interface eth2 {<BR> vif eth2
{<BR> address 30.1.1.2
{<BR> prefix-length:
24<BR>
}<BR>
}<BR>
}<BR></DIV>
<DIV> } /* end interface configure*/</DIV>
<DIV> </DIV>
<DIV><FONT size=2></FONT><BR>/* forwarding engine
abstraction*/<BR>fea{<BR> unicast-forwarding4{<BR> disable:true<BR> }</DIV>
<DIV> </DIV>
<DIV> click {<BR> disable:
false<BR> /* duplicate-routes-to-kernel: false*/</DIV>
<DIV> </DIV>
<DIV> kernel-click {<BR> disable:
false<BR>
install-on-startup: true<BR> kernel-click-modules:
"/home/dwx/click/click-1.7.0rc1/linuxmodule/proclikefs.o:/home/dwx/click/click-1.7.0rc1/linuxmodule/click.o"<BR>
/* XXX: On FreeBSD we need only module click.ko */<BR>
/*kernel-click-modules: "/home/dwx/click/click-1.7.0rc1/linuxmodule/click.ko"
*/<BR> mount-directory:
"/click"<BR> kernel-click-config-generator-file:
"/home/dwx/xorp-1.6/fea/xorp_fea_click_config_generator"<BR> }</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV> user-click {<BR> disable:
true<BR> command-file:
"/usr/local/bin/click"<BR> command-extra-arguments:
"-R"<BR> command-execute-on-startup:
true<BR> control-address:
20.1.1.2<BR> control-socket-port:
50006<BR> startup-config-file:
"/dev/null"<BR> user-click-config-generator-file:
"/home/dwx/xorp-1.6/fea/xorp_fea_click_config_generator"<BR> }/*end
of user-click*/<BR> }/*end of Click*/</DIV>
<DIV> </DIV>
<DIV><BR>}/*end of fea*/</DIV>
<DIV> </DIV>
<DIV><BR>/*static route configure */<BR>protocols {<BR> static
{<BR> route 20.1.1.0/24 {<BR> next-hop:
20.1.1.2<BR> }</DIV>
<DIV> </DIV>
<DIV> route 30.1.1.0/24 {<BR> next-hop:
30.1.1.2<BR> }<BR> }<BR>}/*end of static route
configure*/</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>///////////////////////////////////////<BR><BR> the error as
follows:<BR><BR>//////////////////////////////////////</DIV>
<DIV>[2009/06/17 14:25:08 INFO xorp_rtrmgr:6906 RTRMGR +101 module_manager.cc
execute] Executing module: fea(fea/xorp_fea)insmod: error inserting
'/home/dwx/click/click-1.7.0rc1/linuxmodule/proclikefs.o':-1 Invalid module
format</DIV>
<DIV>[2009/06/17 14:25:08 INFO xorp_rtrmgr:6906 RTRMGR +691 master_conf_tree.cc
commit_pass2_done ] Commit failed: 102 Command faild Executing system
commad '/sbin/insmod
/home/dwx/click/click-1.7.0rc1/linuxmodule/proclikefs.o' returned value
'256'</DIV>
<DIV> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>Best regards.</DIV>
<DIV> </DIV>
<DIV>Wenxia Dong</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>
<P></P>
<P></P><FONT face=Arial color=gray size=1><BR></FONT></DIV></BODY></HTML>