Dear All,

I met with some issue when using simple gateway:

It's reproducible:

1. in the testbed, 3 controller and 2 simple gateways. the 2 simple gateways 
are also used as compute nodes. 

    the 2 simple gateway are connnect with IP fabric: 172.16.159.x/24

2. configure public network.(172.16.159.x/24)

3. create a vm, which directly connnect with the public network. it's ip 
address: 172.16.159.4

4. we can successfully ping hosts in IP fabric, 172.16.26.134.

5. when ping from host(172.16.26.134) in IP fabric to the vm(172.16.159.4), it 
doesn't work.




some further debug info:

the ping request packet has been sent to vrouter from the vgw interface. and 
then send to vrouter-agent via pkt0.

and  in vrouter-agent, in function: PktFlowInfo::Process():

 if (in->intf_ == NULL ||

        (pkt->l3_forwarding == true &&

         in->intf_->ip_active(pkt->family) == false) ||

        (pkt->l3_forwarding == false &&#####@@@@@@@@@@@the function returns 
with false, because "pkt->l3_forwarding == false&&  in->intf_->l2_active() == 
false"

         in->intf_->l2_active() == false)) {

        in->intf_ = NULL;

        LogError(pkt, "Invalid or Inactive ifindex");

        short_flow = true;

        short_flow_reason = FlowEntry::SHORT_UNAVIALABLE_INTERFACE;

        return false;

    }




here is the output of command flow -l:

 Index              Source:Port           Destination:Port      Proto(V)

-------------------------------------------------------------------------

 20204<=>316768   172.16.159.4:256         172.16.26.134:0        1 (0)

(K(nh):8, Action:D(IntfErr), Flags:, S(nh):2, Stats:0/0, SPort:49506)




316768<=>20204    172.16.26.134:256          172.16.159.4:0        1 (1)

(K(nh):8, Action:D(IntfErr), Flags:, S(nh):2, Stats:1/60, SPort:62582)







Thanks for your help!

Carl Shen
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to