Can't connect to the internet from subnet in IPVLAN L3 docker network

I have created an ipvlan L3 network with subnets and and parent interface wlan0 with IP
I then create 2 containers, 1 in each subnet and assign IP and
I assign 2 static routes in the upstream router with destination and gateway and with the same gateway.
Containers can ping each other and devices in (my LAN subnet) can ping the containers. The issue is that the containers can’t ping anything in the internet.
What configuration am I missing?