Hi all,<br><br>Dose XORP 1.6 support Click v1.6.0? When I run XORP 1.6 to control the remote Click forwarding data plane (click 1.6.0), errors happened.<br><br>/////////////////////////////////////////////////////<br>[ 2009/05/07 10:35:50 INFO xorp_rtrmgr:4428 RTRMGR +101 module_manager.cc execute ] Executing module: firewall (fea/xorp_fea)<br>
[ 2009/05/07 10:35:54 INFO xorp_rtrmgr:4428 RTRMGR +101 module_manager.cc execute ] Executing module: fea (fea/xorp_fea)<br>[ 2009/05/07 10:35:59 ERROR xorp_fea:4429 FEA +710 ifconfig_set_click.cc click_config_generator_done ] Failed to write the Click configuration: User-level Click command error: 520-Write handler 'hotconfig' error:<br>
520-<expr>:1: '_xorp_ip4 :: Strip' input 0 unused<br>520-<expr>:3: '_xorp_arpt :: Tee' input 0 unused<br>520 Router could not be initialized!<br><br>/////////////////////////////////////////////////////<br>
<br>My config file is below:<br><br>/////////////////////////////////////////////////////<br>interfaces {<br> interface eth1 {<br> description: "control interface"<br> disable: false<br> mac: 00:1b:21:2c:a5:06<br>
default-system-config<br> }<br> interface eth2 {<br> description: "data interface"<br> disable: false<br> mac: 00:04:76:2f:24:91<br> default-system-config<br> /* vif eth2 {<br>
disable: false<br> address 10.1.1.1 {<br> prefix-length: 24<br> }<br> }*/<br> }<br>}<br>fea {<br> unicast-forwarding4 {<br> disable: true<br> }<br> click {<br>
disable: false<br> kernel-click {<br> disable: true<br> }<br> user-click {<br> disable: false<br> command-file: "/usr/local/bin/click"<br> /* command-extra-arguments: "-R"*/<br>
control-address: 10.0.0.2<br> control-socket-port: 13000<br> /*startup-config-file: "/root/xorptest/router-user.click"<br> *user-click-config-generator-file:<br> *"/usr/local/xorp/fea/xorp_fea_click_config_generator"<br>
*/<br> }<br> }<br>}<br>protocols {<br> static {<br> route <a href="http://4.4.4.0/24">4.4.4.0/24</a> {<br> next-hop: 5.5.5.1<br> metric: 1<br> }<br> route <a href="http://5.5.5.0/24">5.5.5.0/24</a> {<br>
next-hop: 4.4.4.1<br> metric: 1<br> }<br> }<br>}<br>//////////////////////////////////////////////////////<br><br>And my click config file is :<br><br>/////////////////////////////////////////////////////<br>
AddressInfo (<br> net2 192.168.2.0,<br> net3 192.168.3.0<br>)<br><br>ControlSocket("TCP", 13000);<br><br>c2 :: Classifier(12/0806 20/0001, 12/0806 20/0002, 12/0800, -);<br><br>FromDevice(eth1) -> [0]c2;<br>
<br>out2 :: Queue(1024) -> ToDevice(eth1);<br><br>ar2 :: ARPResponder(eth1:ip eth1:eth) -> out2;<br><br>aq2 :: ARPQuerier(eth1:ip, eth1:eth) -> out2;<br><br>c2[0] -> ar2;<br>c2[1] -> [1]aq2;<br>c2[3] -> Discard;<br>
<br><br>_xorp_rt4 :: RangeIPLookup(net2/24 0, net3/24 1, <a href="http://0.0.0.0/0">0.0.0.0/0</a> 2);<br><br>c2[2] -> Strip(14) -> CheckIPHeader2 -> [0]_xorp_rt4;<br>_xorp_rt4[0] -> [0]aq2;<br>_xorp_rt4[1] -> [0]aq2;<br>
_xorp_rt4[2] -> Discard;<br><br><br>///////////////////////////////////////////////////////////////<br><br>Thanks a lot.<br><br>Cheers,<br>Dong<br>