Hi, apology if my question sound like story telling.
i have public ip alias on my eth0, and i wish to use it for a container without ding
nat or whatever. and i figured
ipvlan is the way to go.
i followed this page:
but unfortunately the container dose not get an ip. so i have to modify netplan as follow:
network: version: 2 renderer: networkd ethernets: eth0: dhcp4: no addresses: - PUBLIC_IP/24 gateway4: HOST_IP nameservers: addresses: [220.127.116.11, 18.104.22.168]
then the container gets the ip alias wanted for it to have.
using HOST_IP as gate is because my ISP provider suggested i do so.
i have internet connectivity. doing
curl ifconfig.me result on HOST_IP rathre than PUBLIC_IP / or alias.
i could be doing it wrong. thus. i do appreciate a functional example so i can follow.
Thanks in advance.