Hey !
Ich habe ein OpenSuse 10.2 Gast auf einem openSuse10.3 Host unter VMWare-Server 1.0.4.
Unter dem OpenSuse10.3 ist KDE nicht installiert. Also nur Konsole.
Nun versuche die Gast zum laufen zu bringen.
Die Log-Datei erzählt mir auch das er gestartet wird bzw. gestartet ist. Doch es wird für diesen keine IP-Adresse vergeben. Jedenfalls steht nichts in der dhcpd.leases. Diese ist leer.
Wie kann ich nun den Host oder den Gast dazubringen, das dem Gast eine IP-Adresse im zugeteilten Adressraum zugeteilt wird und ich mir ssh darauf komme.
Gruß
Horst
Die Foren-SW läuft ohne erkennbare Probleme. Sollte doch etwas nicht funktionieren, bitte gerne hier jederzeit melden und wir kümmern uns zeitnah darum. Danke!
VMWare-Gast bekommt keine IP-Adresse
-
horst_skoff
- Member
- Beiträge: 7
- Registriert: 27.11.2007, 15:12
-
horst_skoff
- Member
- Beiträge: 7
- Registriert: 27.11.2007, 15:12
habe mir mir unter vmware-server unter linux mit kde ein linux-gast erzeugt.
Habe denn den gekloned und ohne kde unterstützung versucht einzubinden.
Das Orginal bekommt nach dem Start eine eine ip-adresse zugewiesen (aus dem subnetz).
Starte ich den zweiten mit gleicher vmx (blos display-namen geaendert) bekommt der keine aus dem subnetz.
Die frage wie kann ich dieses erzwingen. Ich habe ja nur die vmx datei.
Gruß
Horst
Habe denn den gekloned und ohne kde unterstützung versucht einzubinden.
Das Orginal bekommt nach dem Start eine eine ip-adresse zugewiesen (aus dem subnetz).
Starte ich den zweiten mit gleicher vmx (blos display-namen geaendert) bekommt der keine aus dem subnetz.
Die frage wie kann ich dieses erzwingen. Ich habe ja nur die vmx datei.
Gruß
Horst
-
stefan.becker
- Guru
- Beiträge: 2237
- Registriert: 21.09.2005, 00:12
-
horst_skoff
- Member
- Beiträge: 7
- Registriert: 27.11.2007, 15:12
Hey !
Besser spät als gar nicht (musste leider eine kleine Auszeit nhemen)
Hier die Dateien:
1. instance_master.vmx
2. vmnet-dhcpd.conf
3. vmnet-nat.conf
zu 1) vmx
#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "4"
numvcpus = "2"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "1024"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "instance_master.vmdk"
scsi0:0.writeThrough = "TRUE"
ide1:0.present = "TRUE"
ide1:0.fileName = "/dev/sr0"
ide1:0.deviceType = "cdrom-raw"
floppy0.startConnected = "FALSE"
floppy0.fileName = "/dev/fd0"
Ethernet0.present = "TRUE"
Ethernet0.connectionType = "hostonly"
displayName = "instance_master"
guestOS = "suse"
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 85 24 60 a4 4b 94-b5 33 9f 5c aa f5 9e a4"
uuid.bios = "56 4d 85 24 60 a4 4b 94-b5 33 9f 5c aa f5 9e a4"
ethernet0.generatedAddress = "00:0c:29:f5:9e:a4"
ethernet0.generatedAddressOffset = "0"
----------------------------------------------------
zu 2) vmnet-dhcpd.conf
#
# Configuration file for ISC 2.0b6pl1 vmnet-dhcpd operating on %vmnet%.
#
# This file was automatically generated by the VMware configuration program.
# If you modify it, it will be backed up the next time you run the
# configuration program.
#
# We set domain-name-servers to make some DHCP clients happy
# (dhclient as configued in SuSE, TurboLinux, etc.).
# We also supply a domain name to make pump (Red Hat 6.x) happy.
#
allow unknown-clients;
default-lease-time 1800; # 30 minutes
max-lease-time 7200; # 2 hours
subnet %network% netmask %netmask% {
range %range_low% %range_high%;
option broadcast-address %broadcast%;
option domain-name-servers %hostaddr%;
option domain-name "localdomain";
%router_option%
}
-------------------------------------------------------------------------------------
zu 3) vmnet-nat.conf
# Linux NAT configuration file
[host]
# NAT gateway address
ip = %nataddr%
netmask = %netmask%
# or ip = %nataddr%/24
# enable configuration; disabled by default for security reasons
#configport = 33445
# VMnet device if not specified on command line
device = %vmnet%
# Allow PORT/EPRT FTP commands (they need incoming TCP stream...)
activeFTP = 1
# Allows the source to have any OUI. Turn this one if you change the OUI
# in the MAC address of your virtual machines.
#allowAnyOUI = 1
[udp]
# Timeout in seconds, 0 = no timeout, default = 60; real value might
# be up to 100% longer
timeout = 60
[incomingtcp]
# Use these with care - anyone can enter into your VM through these...
# FTP (both active and passive FTP is always enabled)
# ftp localhost 8887
#8887 = %sample%:21
# WEB (make sure that if you are using named webhosting, names point to
# your host, not to guest... And if you are forwarding port other
# than 80 make sure that your server copes with mismatched port
# number in Host: header)
# lynx http://localhost:8888
#8888 = %sample%:80
# SSH
# ssh -p 8889 root@localhost
#8889 = %sample%:22
[incomingudp]
# UDP port forwarding example
#6000 = %sample%:6001
---------------------------------------------------
Vielleicht gibt es ja die Anwort auf meine fargen.
Gruß
Horst
Besser spät als gar nicht (musste leider eine kleine Auszeit nhemen)
Hier die Dateien:
1. instance_master.vmx
2. vmnet-dhcpd.conf
3. vmnet-nat.conf
zu 1) vmx
#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "4"
numvcpus = "2"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "1024"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "instance_master.vmdk"
scsi0:0.writeThrough = "TRUE"
ide1:0.present = "TRUE"
ide1:0.fileName = "/dev/sr0"
ide1:0.deviceType = "cdrom-raw"
floppy0.startConnected = "FALSE"
floppy0.fileName = "/dev/fd0"
Ethernet0.present = "TRUE"
Ethernet0.connectionType = "hostonly"
displayName = "instance_master"
guestOS = "suse"
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 85 24 60 a4 4b 94-b5 33 9f 5c aa f5 9e a4"
uuid.bios = "56 4d 85 24 60 a4 4b 94-b5 33 9f 5c aa f5 9e a4"
ethernet0.generatedAddress = "00:0c:29:f5:9e:a4"
ethernet0.generatedAddressOffset = "0"
----------------------------------------------------
zu 2) vmnet-dhcpd.conf
#
# Configuration file for ISC 2.0b6pl1 vmnet-dhcpd operating on %vmnet%.
#
# This file was automatically generated by the VMware configuration program.
# If you modify it, it will be backed up the next time you run the
# configuration program.
#
# We set domain-name-servers to make some DHCP clients happy
# (dhclient as configued in SuSE, TurboLinux, etc.).
# We also supply a domain name to make pump (Red Hat 6.x) happy.
#
allow unknown-clients;
default-lease-time 1800; # 30 minutes
max-lease-time 7200; # 2 hours
subnet %network% netmask %netmask% {
range %range_low% %range_high%;
option broadcast-address %broadcast%;
option domain-name-servers %hostaddr%;
option domain-name "localdomain";
%router_option%
}
-------------------------------------------------------------------------------------
zu 3) vmnet-nat.conf
# Linux NAT configuration file
[host]
# NAT gateway address
ip = %nataddr%
netmask = %netmask%
# or ip = %nataddr%/24
# enable configuration; disabled by default for security reasons
#configport = 33445
# VMnet device if not specified on command line
device = %vmnet%
# Allow PORT/EPRT FTP commands (they need incoming TCP stream...)
activeFTP = 1
# Allows the source to have any OUI. Turn this one if you change the OUI
# in the MAC address of your virtual machines.
#allowAnyOUI = 1
[udp]
# Timeout in seconds, 0 = no timeout, default = 60; real value might
# be up to 100% longer
timeout = 60
[incomingtcp]
# Use these with care - anyone can enter into your VM through these...
# FTP (both active and passive FTP is always enabled)
# ftp localhost 8887
#8887 = %sample%:21
# WEB (make sure that if you are using named webhosting, names point to
# your host, not to guest... And if you are forwarding port other
# than 80 make sure that your server copes with mismatched port
# number in Host: header)
# lynx http://localhost:8888
#8888 = %sample%:80
# SSH
# ssh -p 8889 root@localhost
#8889 = %sample%:22
[incomingudp]
# UDP port forwarding example
#6000 = %sample%:6001
---------------------------------------------------
Vielleicht gibt es ja die Anwort auf meine fargen.
Gruß
Horst
Zurück zu „VMserver 1 und GSX“
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast