You are not logged in.
Hi,
I've a set of VMs (they are copies), and I work with them via SSH.
I sometimes couldn't connect to them. Then I found that their IP address is constantly chaning! What do you think?
DHCP has no problem, since other VMs (e.g., Windows) are fine.
Last edited by amir.varasteh (2019-06-18 15:17:26)
Offline
DHCP might sometimes renew with a different IP address. If you're using DNS to connect, then DNS records will also need to be managed.
For Windows machines in an Active Directory environment, this happens automatically. For Linux interoperability, secure DDNS updates must be configured.
--
saint_abroad
Offline
I've a set of VMs (they are copies)
Are they exact copies? ie. do they have the same MAC address, or same /etc/machine-id ? If so, those copies might be fighting over the same IP.
Failing that, you'll need to post your DHCP server configuration, journal output of one of the VMs covering a period when the IP changes as well as the network config of one of the VMs.
Offline