-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cann't learn mac binding for a external ip with a snat rule. #209
Comments
So we guess the mac binding not be learn for 172.16.10.27, and when we add a mac binding via ovn-sbctl, like this:
The curl 172.16.10.23 is working. This maybe a bug from our above case. And when I to view code in northd.c, I may find a reason to fix it, but I ot sure why? anyone can help me to fix it?.
|
danieldin95
pushed a commit
to danieldin95/ovn
that referenced
this issue
Sep 13, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <zhihui.ding@easystack.cn>
ovsrobot
pushed a commit
to ovsrobot/ovn
that referenced
this issue
Dec 5, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Acked-by: Dumitru Ceara <dceara@redhat.com> Signed-off-by: 0-day Robot <robot@bytheb.org>
ovsrobot
pushed a commit
to ovsrobot/ovn
that referenced
this issue
Dec 8, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: 0-day Robot <robot@bytheb.org>
dceara
pushed a commit
to dceara/ovn
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com>
dceara
pushed a commit
to dceara/ovn
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com>
dceara
pushed a commit
to dceara/ovn
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit fe1c5df)
dceara
pushed a commit
to dceara/ovn
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit fe1c5df)
dceara
pushed a commit
to dceara/ovn
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit fe1c5df)
dceara
pushed a commit
to dceara/ovn
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit fe1c5df)
dceara
pushed a commit
to dceara/ovn
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit fe1c5df)
dceara
pushed a commit
to dceara/ovn
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit fe1c5df)
dceara
pushed a commit
to dceara/ovn
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit fe1c5df)
dceara
pushed a commit
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: #209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit fe1c5df)
dceara
pushed a commit
to dceara/ovn
that referenced
this issue
Dec 18, 2023
If the router has a snat rule and it's external ip isn't lrp address, when the arp request from other router for this external ip, will be drop, because of this external ip use same mac address as lrp, so can not forward to MC_FLOOD. Fixes: 32f5ebb ("ovn-northd: Limit ARP/ND broadcast domain whenever possible.") Reported-at: ovn-org#209 Signed-off-by: Daniel Ding <danieldin186@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit fe1c5df)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On lr-4d4fad05 create snat rule with a external ip[172.16.10.27] that is not default external ip[172.16.10.210]:
And on lr-12e11990 create a dnat_and_snat to forward traffic destination is 172.16.10.23 to 192.168.0.235:
Then on lr-4d4fad05 we create a vm on lrp-d307bf99 and its' ip address in 192.168.131.0/25, so this vm will use 172.16.10.27 to visit 172.16.10.23, and not 172.16.10.210:
But curl 172.16.10.23 is not working, and we see arp request from 172.16.10.23 for 172.16.10.27 on this public network lr connected to.
The text was updated successfully, but these errors were encountered: