2
I have a few VMs which I want to keep with static IP addresses. However, I run those on my laptop and frequently connect to different networks which use different default gateway and different DNS server addresses.
Is it possible to use DHCP to obtain default gateway and DNS server information, but ignore the IP address so it stays fixed?
Otherwise I need to change the gateway and DNS servers manually every time it doesn't work...
I'm using a Windows 8.1 host, with VMware Workstation 10, Ubuntu 12.04 VMs and bridged networking.
Thank you!
Eduardo
you could probably script something with dhclient – MaQleod – 2014-02-24T06:12:34.527
So for example: Your local IP is 10.0.0.5 right now and you want to keep that local IP across all your networks? Is that what you mean? So are the different networks all in the same LAN? e.g. you have 3 routers, with one main one connected to your modem/ISP and then two for bridging that are connected to your main router. – cbalos – 2014-02-24T06:22:07.057