Malcolm Clarke <[email protected]> wrote: > We have a problem when a VM is moved between subnets as the IP address > is not given correctly by the DHCP server for the subnet on which the VM > is placed, instead the VM continues to receive the same IP address each > time. > > We have created an environment of 2 NAT networks to study behaviour of a > router. These are 10.0.2.0/24 and 10.0.3.0/24. > > When we place our guest on NAT network 1 it receives an IP address of > (eg) 10.0.2.4. However if we move this VM to the second network it > continues to receive an IP address of 10.0.2.4, and not an address on > the 10.0.3.0 network, and so does not work.
Please, can you provide more details? Packet capture of the DHCP exchange would also be nice. When you switch network attachments VBox will not flap the link (old NAT is the execption here), so the guest has no idea it's been moved. If you disconnect and reconnect the cable the guest should get the address from the new network. At least it does for me. > The workaround is to delete the lease file whilst VB is not running, but > we would prefer if the DHCP server gave a correct address for the subnet. Which lease file (there is one for each of the networks)? -uwe ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ VBox-users-community mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/vbox-users-community _______________________________________________ Unsubscribe: mailto:[email protected]?subject=unsubscribe
