You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Egress interface shown as down even when ipRanges are in same subnet as Node subnet or otherwise ?
Traffic is going out with actual interface
5: antrea-egress0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default
link/ether f2:35:20:81:87:ac brd ff:ff:ff:ff:ff:ff
inet 172.18.0.10/32 scope global antrea-egress0
valid_lft forever preferred_lft forever
To Reproduce
configure extermalippool resource with following config
start: 172.18.0.10
end: 172.18.0.20
nodeSelector: {} # All Nodes can be Egress Nodes
create egress resource under egress crd
apiVersion: crd.antrea.io/v1beta1
kind: Egress
metadata:
name: snat-testapp-ip
spec:
appliedTo:
podSelector:
matchLabels:
app: antrea-test-app ###Select the Pods to which the SNAT Policy will be applied
externalIPPool: external-ip-pool
Expected
Egress interface status should be up
Actual behavior
Versions:
Antrea 2.0/Containerd Additional context
The text was updated successfully, but these errors were encountered:
antrea-egress0 is a dummy interface and supposed to be down by design.
The usage of antrea-egress0 is kind of implementation specific. We can add some docs to clarify it but it's not a bug.
@tnqn ,
antrea-egress0 is a dummy interface, however if the externalippool is not in node's subnet, traffic is stopped (expected) and antrea-egress0 remain in down state, however when externalippool is in same subnet as node's network, traffic is going out, however keeping the antrea-egress0 as down might confuse user as src ip will be of antrea-egres0 interface.
Documentation could help to clarify these.
While using static Egress, when same ip is provided as node's ip, there is no ip assigned to egress dummy interface( antrea-egress0 ), it is expected since ip is already assigned to node's interface, hence can not be reassigned to egress dummy interface
Another candidate for documentation
5: antrea-egress0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default
link/ether a2:8d:11:5c:fa:a7 brd ff:ff:ff:ff:ff:ff
Describe the bug
Egress interface shown as down even when ipRanges are in same subnet as Node subnet or otherwise ?
Traffic is going out with actual interface
5: antrea-egress0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default
link/ether f2:35:20:81:87:ac brd ff:ff:ff:ff:ff:ff
inet 172.18.0.10/32 scope global antrea-egress0
valid_lft forever preferred_lft forever
To Reproduce
configure extermalippool resource with following config
apiVersion: crd.antrea.io/v1beta1
kind: ExternalIPPool
metadata:
name: external-ip-pool
spec:
ipRanges:
end: 172.18.0.20
nodeSelector: {} # All Nodes can be Egress Nodes
create egress resource under egress crd
apiVersion: crd.antrea.io/v1beta1
kind: Egress
metadata:
name: snat-testapp-ip
spec:
appliedTo:
podSelector:
matchLabels:
app: antrea-test-app ###Select the Pods to which the SNAT Policy will be applied
externalIPPool: external-ip-pool
Expected
Egress interface status should be up
Actual behavior
Versions:
Antrea 2.0/Containerd
Additional context
The text was updated successfully, but these errors were encountered: