Skip to content

Conversation

@vipul-21
Copy link
Contributor

Reason for Change:
The hardware address(MAC address) assigned to the veth on the container is not same as the ARP entry in the pod creating pod-to-pod connectivity issue on Ubuntu 22.04 cluster using azure-cni.

@rbtr rbtr requested a review from tamilmani1989 August 11, 2022 20:52
@rbtr rbtr added cni Related to CNI. fix Fixes something. labels Aug 11, 2022
MacAddress: client.hostVethMac,
}

if err := client.netlink.SetOrRemoveLinkAddress(linkInfo, netlink.ADD, netlink.NUD_PERMANENT); err != nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i meant have to change only for transparent singletenancy and not in other places. Lets update to NUD_PROBE here but not in other places

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay my bad, just updated it.

MacAddress: client.hostVethMac,
}

if err := client.netlink.SetOrRemoveLinkAddress(linkInfo, netlink.ADD, netlink.NUD_PERMANENT); err != nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same goes here

@vipul-21 vipul-21 requested a review from tamilmani1989 August 16, 2022 15:35
Copy link
Member

@tamilmani1989 tamilmani1989 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tamilmani1989 tamilmani1989 merged commit afcb977 into Azure:master Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cni Related to CNI. fix Fixes something.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants