On Tue, May 7, 2024 at 5:24 AM Felix Huettner via dev
<ovs-dev@openvswitch.org> wrote:
>
> On Mon, May 06, 2024 at 11:03:42PM -0400, Numan Siddique wrote:
> > On Mon, Apr 22, 2024 at 9:02 AM Felix Huettner via dev
> > <ovs-dev@openvswitch.org> wrote:
> > >
> > > In most cases IPv4 packets are routed only over other IPv4 networks and
> > > IPv6 packets are routed only over IPv6 networks. However there is no
> > > inherent reason for this limitation. Routing IPv4 packets over IPv6
> > > networks just requires the router to contain a route for an IPv4 network
> > > with an IPv6 nexthop.
> > >
> > > This was previously prevented in OVN in ovn-nbctl and northd. By
> > > removing these filters the forwarding will work if the mac addresses are
> > > prepopulated.
> > >
> > > If the mac addresses are not prepopulated we will attempt to resolve them 
> > > using
> > > the original address family of the packet and not the address family of 
> > > the
> > > nexthop. This will fail and we will not forward the packet.
> > >
> >
> > Thanks for adding this feature.
> >
> > If I understand correctly from the above commit message about
> > prepopulation,  is it expected that
> > CMS/admin needs to add a static mac binding entry in the OVN
> > Northbound 'Static_MAC_Binding' table
> > for this feature to work ?  Please correct me if I'm wrong.
> > If this is the case, then it needs to be documented properly (perhaps
> > in ovn-nb.xml)
>
> no the limitation is only that the CMS must not set
> dynamic_neigh_routers to true on the Logical_Routers.
>
> If there are other reasons that cause OVN to send ARP request to lookup
> the nexthop of a route then these will have that issue as well. I am
> just no aware of any such reason.

Thanks.  I'm still not clear what happens if OVN doesn't know the
nexthop mac address.
What happens in that case ? Normally, OVN would generate ARP request
for the next hop IP and
learn the mac.  What happens in the mix route case ?

Numan

>
> >
> > The patch overall looks good to me.  Can you please add a small test
> > case in ovn-northd.at to check
> > the expected logical flows in the "lr_in_ip_routing" stage when you
> > have these mixed mode static routes ?
> > You can also check for correctness of flows in other tables too which
> > are generated for the static routes.
>
> Yes i'll do that and send a new version.
>
> Thanks
> Felix
>
> >
> > Thanks
> > Numan
> >
> >
> >
> _______________________________________________
> dev mailing list
> d...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to