In vcenter only mode allowed address pair does not work

Bug #1704037 reported by Jun Wei Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
New
Undecided
Unassigned

Bug Description

In vcenter only mode, allowed address pair does not work when adding the allowed addresss with aIP and aMAC. if aMac is not same with mac of VM, the packects sending with src mac as aMAC and src ip as aIP from the VM. The packets will be droped by Vrouter by IF ERROR.
I think that the root cause was the following codes:
static int
eth_rx(struct vr_interface *vif, struct vr_packet *pkt,
        unsigned short vlan_id)
...
if (vlan_id != VLAN_ID_INVALID && vlan_id < VLAN_ID_MAX) {
        if (vif->vif_btable) {
            sub_vif = vif_bridge_get_sub_interface(vif->vif_btable, vlan_id,
                                                    eth->eth_smac);
        } else {
            if (vif->vif_sub_interfaces)
                sub_vif = vif->vif_sub_interfaces[vlan_id];
        }

        if (sub_vif)
            return sub_vif->vif_rx(sub_vif, pkt, VLAN_ID_INVALID);
    }

}
It could not find the sub_vif for we did not create the sub_vif with aIP and aMAC.

Revision history for this message
Hari Prasad Killi (haripk) wrote :
Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

Can #1669518 be made public?

Revision history for this message
Jun Wei Wang (wjw7869) wrote :

Could not find the bugs https://bugs.launchpad.net/juniperopenstack/+bug/1669518 and could make it public.

Revision history for this message
Jun Wei Wang (wjw7869) wrote :

I found that there is no fix committed now in master branch.
I have one fix solution that create one vif_bridge_entry for the aMAC, So we could fix this
issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.