identische Mac-Adressen auf virtuellen Maschienen, was tun?
Wir setzen auf unseren Schulungsrechnern VMWARE ein und haben folgendes Problem:
Alle virtuellen Maschienen haben dieselbe MAC-Adresse Wie kann ich die bei den VM's ändern?
Der Versuch den Eintrag in der .vmx Datei zu ändern blieb ohne Eroflg
Hier die Datei:
#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "4"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "172"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "UbuntuServer704.vmdk"
scsi0:0.writeThrough = "TRUE"
ide1:0.present = "TRUE"
ide1:0.fileName = "/dev/hdc"
ide1:0.deviceType = "cdrom-raw"
floppy0.startConnected = "FALSE"
floppy0.fileName = "/dev/fd0"
Ethernet0.present = "TRUE"
displayName = "UbuntuServer704"
guestOS = "ubuntu"
priority.grabbed = "normal"
priority.ungrabbed = "normal"
powerType.powerOff = "hard"
powerType.powerOn = "hard"
powerType.suspend = "hard"
powerType.reset = "hard"
scsi0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d 38 47 de 33 12 b8-51 12 a2 9f 96 9b 53 b8"
uuid.bios = "56 4d 38 47 de 33 12 b8-51 12 a2 9f 96 9b 53 b8"
ethernet0.generatedAddress = "00:0c:29:9b:53:b8"
ethernet0.generatedAddressOffset = "0"
Den Eintrag "ethernet0.generatedAdress" hab ich auf "00:0c:29:9b:53:b9" geändert
Nachdem ich die VM gestartet habe, hatte sie aber wieder die "00:0c:29:9b:53:b8"
Hoffe ihr könnt mir helfen
Greetz André
Alle virtuellen Maschienen haben dieselbe MAC-Adresse Wie kann ich die bei den VM's ändern?
Der Versuch den Eintrag in der .vmx Datei zu ändern blieb ohne Eroflg
Hier die Datei:
#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "4"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "172"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "UbuntuServer704.vmdk"
scsi0:0.writeThrough = "TRUE"
ide1:0.present = "TRUE"
ide1:0.fileName = "/dev/hdc"
ide1:0.deviceType = "cdrom-raw"
floppy0.startConnected = "FALSE"
floppy0.fileName = "/dev/fd0"
Ethernet0.present = "TRUE"
displayName = "UbuntuServer704"
guestOS = "ubuntu"
priority.grabbed = "normal"
priority.ungrabbed = "normal"
powerType.powerOff = "hard"
powerType.powerOn = "hard"
powerType.suspend = "hard"
powerType.reset = "hard"
scsi0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d 38 47 de 33 12 b8-51 12 a2 9f 96 9b 53 b8"
uuid.bios = "56 4d 38 47 de 33 12 b8-51 12 a2 9f 96 9b 53 b8"
ethernet0.generatedAddress = "00:0c:29:9b:53:b8"
ethernet0.generatedAddressOffset = "0"
Den Eintrag "ethernet0.generatedAdress" hab ich auf "00:0c:29:9b:53:b9" geändert
Nachdem ich die VM gestartet habe, hatte sie aber wieder die "00:0c:29:9b:53:b8"
Hoffe ihr könnt mir helfen
Greetz André
Please also mark the comments that contributed to the solution of the article
Content-Key: 68392
Url: https://administrator.de/contentid/68392
Printed on: April 26, 2024 at 13:04 o'clock
5 Comments
Latest comment
Für den VMware ESX Server z.B. (weis ja nicht, was du nutzt):
http://www.vmware.com/support/esx21/doc/esx21admin_MACaddress.html
<Zitat>
Setting MAC Addresses Manually
In order to work around both the limit of 256 virtual network adapters per physical machine and possible MAC address conflicts between virtual machines, the MAC addresses can be assigned manually by system administrators. VMware uses a different OUI for manually generated addresses: 00:50:56. The MAC address range is 00:50:56:00:00:00-00:50:56:3F:FF:FF.
You can set the addresses by adding the following line to a virtual machine's configuration file:
ethernet<number>.address = 00:50:56:XX:YY:ZZ
where <number> refers to the number of the Ethernet adapter, XX is a valid hex number between 00 and 3F, and YY and ZZ are valid hex numbers between 00 and FF. The value for XX must not be greater than 3F in order to avoid conflict with MAC addresses that are generated by the VMware Workstation and VMware GSX Server products. Thus the maximum value for a manually generated MAC address is
ethernet<number>.address = 00:50:56:3F:FF:FF
You must also set the option in a virtual machine's configuration file:
ethernet<number>.addressType="static"
VMware ESX Server virtual machines do not support arbitrary MAC addresses, hence the above format must be used. So long as you choose XX:YY:ZZ uniquely among your hard-coded addresses, conflicts between the automatically assigned MAC addresses and the manually assigned ones should never occur.
VMWare Workstation 4.5:
http://www.vmware.com/support/ws45/doc/network_macaddr_ws.html
http://www.vmware.com/support/esx21/doc/esx21admin_MACaddress.html
<Zitat>
Setting MAC Addresses Manually
In order to work around both the limit of 256 virtual network adapters per physical machine and possible MAC address conflicts between virtual machines, the MAC addresses can be assigned manually by system administrators. VMware uses a different OUI for manually generated addresses: 00:50:56. The MAC address range is 00:50:56:00:00:00-00:50:56:3F:FF:FF.
You can set the addresses by adding the following line to a virtual machine's configuration file:
ethernet<number>.address = 00:50:56:XX:YY:ZZ
where <number> refers to the number of the Ethernet adapter, XX is a valid hex number between 00 and 3F, and YY and ZZ are valid hex numbers between 00 and FF. The value for XX must not be greater than 3F in order to avoid conflict with MAC addresses that are generated by the VMware Workstation and VMware GSX Server products. Thus the maximum value for a manually generated MAC address is
ethernet<number>.address = 00:50:56:3F:FF:FF
You must also set the option in a virtual machine's configuration file:
ethernet<number>.addressType="static"
VMware ESX Server virtual machines do not support arbitrary MAC addresses, hence the above format must be used. So long as you choose XX:YY:ZZ uniquely among your hard-coded addresses, conflicts between the automatically assigned MAC addresses and the manually assigned ones should never occur.
VMWare Workstation 4.5:
http://www.vmware.com/support/ws45/doc/network_macaddr_ws.html