Docker is unable to ping host IP if configured with ipvlan

VM configuration :
ip link add link eth0 name eth0.3 type vlan id 3
ip addr add 10.1.135.248/24 dev eth0.3
ip link set dev eth0.3 up

docker running within docker :
 docker network create -d ipvlan  --subnet=10.1.135.0/24   --gateway=10.1.136.1   -o parent=eth0.3   ipvlan_network

docker run -it  --net=ipvlan_network --ip=10.1.135.250 --rm willfarrell/ping sh


Ping from docker to VM or VM to docker Failing

I want to enable communication in VM to docker

ipvlan and macvlan come with the same Linux kernel security restriction: a child interface is not allowed to communicate with its parent interface and the other way around.