<div>I don't think I ever got Xorp 1.6 working with Click in Linux, though I did get a version out of source control at one point that worked. I'm trying now with the latest code and having trouble. If anyone has advice on this please let me know.</div>
<div> </div>
<div>I've had minimal experience using cvs and have only so far used it to do a checkout of latest code. I should still have my code directory on my other computer with the version of Xorp that worked though. I'm guessing it shouldn't be too hard to figure out a cvs command to do a "get" of code current as of that date.</div>
<div> </div>
<div>If I can figure out a small window of time in which the Click support was fixed, what ways would be best to figure out what fixed it?<br><br></div>
<div class="gmail_quote">On Thu, May 7, 2009 at 8:46 AM, dong yin <span dir="ltr"><<a href="mailto:yindong1982@gmail.com">yindong1982@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">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" target="_blank">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" target="_blank">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" target="_blank">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><font color="#888888">Dong<br>
</font><br>_______________________________________________<br>Xorp-users mailing list<br><a href="mailto:Xorp-users@xorp.org">Xorp-users@xorp.org</a><br><a href="http://mailman.icsi.berkeley.edu/mailman/listinfo/xorp-users" target="_blank">http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users</a><br>
<br></blockquote></div><br>