In Linux, if I want to request a new IP say, for eth0, what commands should I use?
Basically, how do I request a different IP from the DHCP so that it replaces my current one?
I would do the following -
/etc/init.d/dhcp stop (or equivalent) to stop the current DHCP Client listening.
Change the MAC address of the device, for example ifconfig eth0 hw ether 01:02:03:04:05:06 - this will make the DHCP server think its a new client, so it should allocate a new MAC address.
/etc/init.d/dhcp stop - to restart the DHCP server.
ipconfig /release
ipconfig /renew