On 3/25/21 10:50 PM, Moshe Levi wrote: > > >> -----Original Message----- >> From: Dumitru Ceara <[email protected]> >> Sent: Thursday, March 25, 2021 1:44 PM >> To: Moshe Levi <[email protected]>; [email protected] >> Subject: Re: [ovs-discuss] [ovn] help with creating logical topology with l3 >> gateway >> >> External email: Use caution opening links or attachments >> >> >> On 3/25/21 12:40 PM, Dumitru Ceara wrote: >>>> Also, to see exactly where the packet is dropped, please share the >>>> output of: >>>> >>>> inport=$(ovs-vsctl --bare --columns ofport list interface vm1) >>>> >> flow=40440000000340440000000108004500005417cd40004001b3980a00010264 >> 40 >>>> >> 00020800e1d35d0a0001c1635c6000000000d78905000000000010111213141516 >> 171 >>>> 8191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f3031323334353637 >>> To "demystify" this a bit, I got the packet contents by running the >>> following command while ping was running from vm1: >>> >>> ip netns exec vm1 tcpdump -vvvnne -i vm1 -c1 -XX | ovs-tcpundump >>> >>>> ovs-appctl ofproto/trace br-int in_port=$in_port $flow | ovn-detrace >> >> And here's a typo, sorry, should be: >> >> ovs-appctl ofproto/trace br-int in_port=$inport $flow | ovn-detrace > Here is the output [1] https://pastebin.ubuntu.com/p/jDYz9Dfy2t/ > > OVN 21.03 -> commit da028c72bdc7742b3065d1df95a3789fbc16b27a > OVS 2.15 -> commit d5dc16670ec95702058fccad253ed6d24ebd5329 >
I think I know what the problem is (aside from the missing route). Is it possible that the node's chassis-id (OVS system-id) isn't 9a790be7-a876-48a9-b7c5-1c45c6946dd4? In your the commands you shared you had: ovn-nbctl create Logical_Router name=gw-worker1 options:chassis=9a790be7-a876-48a9-b7c5-1c45c6946dd4 The chassis-id should correspond to the system-id OVS was started with on the node. You can retrieve this with: ovs-vsctl get open_vswitch . external_ids:system-id E.g., on my test setup: $ ovs-vsctl get open_vswitch . external_ids:system-id local $ ovn-sbctl --columns name list chassis local name : local To bind the GW router to this chassis: ovn-nbctl set Logical_Router gw-worker1 options:chassis=local Regards, Dumitru _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
