Hi Weirong, The issue is that your StaticIPLookup element has 0 outputs. Since every route is expected to be for an existing output of the StaticIPLookup element, the routes are considered invalid. Try adding a bunch of outputs to StaticIPLookup, as in
rt[0] -> Idle; rt[1] -> Idle; ... E weirong sun wrote: > hi! it's my fist time to use click,there is an example in click/conf called > make-ip-conf.pl, and i use this script to make a configuration of ip > router,but i found many errors.here is an error that i don't know how to > resolve,error code is 'while configuring 'rt :: StaticIPLookup': argument 8 > should be 'ADDR/MASK [GATEWAY] OUTPUT' '. my configuration is > ip :: Strip(14) > -> CheckIPHeader(INTERFACES 10.240.46.188/255.255.255.0 > 10.1.1.1/255.255.255.0) > -> rt :: StaticIPLookup( > 10.240.46.188/32 0, > 10.240.46.255/32 0, > 10.240.46.0/32 0, > 10.1.1.1/32 0, > 10.1.1.255/32 0, > 10.1.1.0/32 0, > 10.240.46.0/255.255.255.0 1, > 10.1.1.0/255.255.255.0 2, > 255.255.255.255/32 0.0.0.0 0, > 0.0.0.0/32 0, > 0.0.0.0/0.0.0.0 10.240.46.7 1); > > can anyone help me? > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
