In vcenter only mode allowed address pair does not work
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_
} else {
if (vif->vif_
}
if (sub_vif)
return sub_vif-
}
}
It could not find the sub_vif for we did not create the sub_vif with aIP and aMAC.
Same issue is tracked in https:/ /bugs.launchpad .net/juniperope nstack/ +bug/1669518.