<!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>&nbsp;</FONT></DIV>
<DIV>I want to run XORP + Click(Linuxmodel) on&nbsp; the same PC(Fedora 6.0 
2.6.19.2kernel), and&nbsp;write the&nbsp;XORP configuration as 
follows.&nbsp;Do&nbsp;I&nbsp;need write click</DIV>
<DIV>configuration ? &nbsp;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>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV>///////////////////////////////////////<BR><BR>&nbsp;My XORP config 
file&nbsp;as follows:<BR><BR>//////////////////////////////////////</DIV>
<DIV>/* interface configure */<BR>interfaces {<BR>&nbsp;&nbsp;&nbsp; interface 
eth1 {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vif eth1 {<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; address 20.1.1.2 {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; prefix-length: 24<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
}<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; }</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;interface eth2 {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vif eth2 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; address 30.1.1.2 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prefix-length: 
24<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
}<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; }<BR></DIV>
<DIV>&nbsp; } /* end interface configure*/</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2></FONT><BR>/* forwarding engine 
abstraction*/<BR>fea{<BR>&nbsp;unicast-forwarding4{<BR>&nbsp;&nbsp;&nbsp;disable:true<BR>&nbsp;&nbsp;&nbsp;}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; click {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; disable: 
false<BR>&nbsp;/* duplicate-routes-to-kernel: false*/</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;kernel-click {<BR>&nbsp;&nbsp;&nbsp;&nbsp; disable: 
false<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
install-on-startup:&nbsp;true<BR>&nbsp;&nbsp;&nbsp;&nbsp; kernel-click-modules: 
"/home/dwx/click/click-1.7.0rc1/linuxmodule/proclikefs.o:/home/dwx/click/click-1.7.0rc1/linuxmodule/click.o"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
/* XXX: On FreeBSD we need only module click.ko */<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
/*kernel-click-modules: "/home/dwx/click/click-1.7.0rc1/linuxmodule/click.ko" 
*/<BR>&nbsp;&nbsp;&nbsp;&nbsp; mount-directory: 
"/click"<BR>&nbsp;&nbsp;&nbsp;&nbsp; kernel-click-config-generator-file: 
"/home/dwx/xorp-1.6/fea/xorp_fea_click_config_generator"<BR>&nbsp;}</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;user-click {<BR>&nbsp;&nbsp;&nbsp;&nbsp; disable: 
true<BR>&nbsp;&nbsp;&nbsp;&nbsp; command-file: 
"/usr/local/bin/click"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;command-extra-arguments: 
"-R"<BR>&nbsp;&nbsp;&nbsp;&nbsp; command-execute-on-startup: 
true<BR>&nbsp;&nbsp;&nbsp;&nbsp; control-address: 
20.1.1.2<BR>&nbsp;&nbsp;&nbsp;&nbsp; control-socket-port: 
50006<BR>&nbsp;&nbsp;&nbsp;&nbsp; startup-config-file: 
"/dev/null"<BR>&nbsp;&nbsp;&nbsp;&nbsp; user-click-config-generator-file: 
"/home/dwx/xorp-1.6/fea/xorp_fea_click_config_generator"<BR>&nbsp;&nbsp;}/*end 
of user-click*/<BR>&nbsp;&nbsp;&nbsp; &nbsp;}/*end of Click*/</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>}/*end of fea*/</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>/*static route configure */<BR>protocols {<BR>&nbsp;&nbsp;&nbsp; static 
{<BR>&nbsp; route 20.1.1.0/24 {<BR>&nbsp;&nbsp;&nbsp;&nbsp; next-hop: 
20.1.1.2<BR>&nbsp;&nbsp;}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;route 30.1.1.0/24 {<BR>&nbsp;&nbsp;&nbsp;&nbsp; next-hop: 
30.1.1.2<BR>&nbsp;}<BR>&nbsp;&nbsp;&nbsp; }<BR>}/*end of static route 
configure*/</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>///////////////////////////////////////<BR><BR>&nbsp;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&nbsp;&nbsp;'/sbin/insmod 
/home/dwx/click/click-1.7.0rc1/linuxmodule/proclikefs.o' returned value 
'256'</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV>Best regards.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Wenxia Dong</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV>
<P></P>
<P></P><FONT face=Arial color=gray size=1><BR></FONT></DIV></BODY></HTML>