Good day,
I have an debian 10 with docker installed.
for management i use portainer.
my physical server is replaced with a new one. new version of vmware. and the only problem during the migration was the network cards.
i ended up by deleting all network interfaces and added new ones.
this works fine for everything. i can reach any server. no problem. however the dockers loses theire network.
i removed the macvlan network and re-created it. no errors at all. but still no traffic from/to the containers.
the host network card still has the same name (ens160) only the mac adres changed. (there is a bug in vmware 7.0U3 so even if i know the old mac. it is not possible to use it)
the configuration network
[
{
"Name": "lan2",
"Id": "47f1ee8fc1362776657844f9c3242573f9f4d8815576cc5bc20b5cd071d97204",
"Created": "2022-04-11T14:27:56.126096644+02:00",
"Scope": "local",
"Driver": "null",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.16.20.0/24",
"IPRange": "172.16.20.80/28",
"Gateway": "172.16.20.254"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": true,
"Containers": {},
"Options": {
"parent": "ens160"
},
"Labels": {}
}
]
the MacVlan network
[
{
"Name": "Lan2Lan",
"Id": "fb11f4d47d78604df76a4c11e1b8d694d632d818a5f433149aea9109400f3379",
"Created": "2022-04-11T14:30:27.030001113+02:00",
"Scope": "local",
"Driver": "macvlan",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.16.20.0/24",
"IPRange": "172.16.20.80/28",
"Gateway": "172.16.20.254"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": "lan2"
},
"ConfigOnly": false,
"Containers": {
"093ebc8d4e867db5aa7c8fab336bea1956b130e4d5be306e74bc4faa7b3db6c1": {
"Name": "fnet-hass12",
"EndpointID": "c5268b3361263eed2535ec382a587e6ed3adb9c2dfb9bca32f2c87ffee949b0c",
"MacAddress": "02:42:ac:10:14:50",
"IPv4Address": "172.16.20.80/24",
"IPv6Address": ""
}
},
"Options": {
"parent": "ens160"
},
"Labels": {}
}
]
any help will be appreciated