antrea icon indicating copy to clipboard operation
antrea copied to clipboard

Allow FlexibleIPAM to work in encap mode, so it would work with EgressIP

Open jsalatiel opened this issue 2 years ago • 1 comments

Describe the problem/challenge you have The current implementation of FlexibleIPAM requires Linux Nodes, with IPv4, system OVS datapath type, and noEncap, noSNAT traffic mode. That means that I can not use EgressIP while still being able to assign some specific ippool for namespaces.

Describe the solution you'd like I would like to be able to use FlexibleIPAM with the default antrea configuration ( that enables egressIP by default )

Anything else you would like to add? I also use ServiceExternalIP and I am not sure it would impact that too.

jsalatiel avatar Aug 11 '22 22:08 jsalatiel

@gran-vmv : I remember you did consider supporting encap mode with FlexibleIPAM? Could you share thoughts here?

jianjuns avatar Aug 15 '22 16:08 jianjuns

@gran-vmv : I remember you did consider supporting encap mode with FlexibleIPAM? Could you share thoughts here?

According to current FlexibleIPAM design, we're unable to provide EncapMode in an easy way, because EncapMode requires Antrea to calculate next-hop for inter-Node traffics, which is handled by L2 network currently. If Antrea calculates next-hop, it will require antrea-agent to cache all Pod-Node-VLAN mapping and greatly increase the complexity of OVS flows to set the tunnel-dst according to packet dst-ip and vlan-id.

Maybe we can consider to integrate EgressIP feature into external GW

gran-vmv avatar Aug 16 '22 01:08 gran-vmv

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days

github-actions[bot] avatar Nov 15 '22 00:11 github-actions[bot]

/remove-stale

jsalatiel avatar Nov 15 '22 00:11 jsalatiel

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days

github-actions[bot] avatar Feb 15 '23 00:02 github-actions[bot]