Docker macvlan network, unable to access internet
I have a dedicated server with multiple IP addresses, some IP's have mac address associated while others(in a subnetwork) doesn't have mac addresses. I have created docker macvlan network using: docker network create -d macvlan -o macvlan_mode=bridge --subnet=188.40.76.0/26 --gateway=188.40.76.1 -o parent=eth0 macvlan_bridge I have ip: 88.99.102.115 with mac: 00:50:56:00:60:42. Created a container using: docker run --name cont1 --net=macvlan_bridge --ip=88.99.102.115 --mac-address 00:50:56:00:60:42 -itd nginx This works, I can access nginx hosted at that ip address from outside. Case with IP