Curdasss
Hot Shot
Hot Shot

DHCP reservation

Jump to solution

So here's an interesting question. How do you guy's handle DHCP reservations of your VM's with DRS enabled. I know how to set the MAC address statically but how do you go about managing all of the MAC address of your VM's? Every time I create a new VM I will have to use a MAC address within the range of address of that hasn't been used, which of course is a management issue. Just wondering how other people have managed their VM's in this type of situation.

0 Kudos
1 Solution

Accepted Solutions
Dave_Mishchenko
Immortal
Immortal

The MAC shouldn't change when you use DRS/ HA/ vmotion. It should only change when the path to the VM changes.

http://www.vmware-land.com/Vmware_Tips.html#Net3

http://www.vmware.com/community/thread.jspa?messageID=640809&#640809

View solution in original post

0 Kudos
12 Replies
oreeh
Immortal
Immortal

I simply don't use DHCP for servers (and therefore not for VMs) and this problem is the main reason for this.

0 Kudos
MR-T
Immortal
Immortal

2 options I've come across.

1) Excel spreadsheet. (quick and easy to setup).

2) A database with a nice frontend. (requires more skill).

These both work.

As you'll appreciate it's very important to track these as they are issued (and returned) otherwise you risk a conflict.

esiebert7625
Immortal
Immortal
MR-T
Immortal
Immortal

Does this tool also capture the MAC address?

0 Kudos
esiebert7625
Immortal
Immortal

I'm not sure, I downloaded it a while ago and have been meaning to set it up but have not had the time yet. Here's some more info on it.

http://www.ipanto.com/static/pdf/IpantoProductLiteDiscovery200701.pdf

0 Kudos
MR-T
Immortal
Immortal

Cheers Eric.

It doesn't mention it, but I guess I'll save that test for a rainy day.

0 Kudos
Curdasss
Hot Shot
Hot Shot

I setup Ipanto it appears that the Ipanto Discovery edition, not free, will pull the MAC address automatically. However, the freeware edition requires manual discovery and you have to put in the MAC. Not necessarily a bad thing as it will work for keeping track of what MAC address your using and the interface is pretty cool. Thank You guy's for your help.

0 Kudos
msmenne17
Enthusiast
Enthusiast

I think I'm missing something here...

What is the purpose for using DHCP Reservations in your VMs?

Each VM has it's own MAC Address (in Windows, type ipconfig /all).

Every VM that is created will have a unique MAC address just as phyiscal servers do.

The process wouldn't be any different than with physical servers.

0 Kudos
Curdasss
Hot Shot
Hot Shot

Yes but when you use DRS the MAC address is going to change as it changes physical servers, and of course you don't want your IP's to change, so you need to have them set statically.

0 Kudos
Dave_Mishchenko
Immortal
Immortal

The MAC shouldn't change when you use DRS/ HA/ vmotion. It should only change when the path to the VM changes.

http://www.vmware-land.com/Vmware_Tips.html#Net3

http://www.vmware.com/community/thread.jspa?messageID=640809&#640809

View solution in original post

0 Kudos
esiebert7625
Immortal
Immortal

Exactly, the VM never moves from it's original location (SAN), it just changes hosts....

0 Kudos
Curdasss
Hot Shot
Hot Shot

I should have thought about that, but for some reason I had stuck in my head that the MAC was actually going to change when DRS switched hosts. I should have known better, but thats why I brought it up here. Thank You

0 Kudos