Seid ein paar Wochen schlag ich mich mit Vmware-Server herrum und komm einfach nicht weiter.
Ich hoffe hier hat jemand einen hilfreichen Tipp.
Folgendes Szenario:
Root Server bei OVH
Host System - Ubuntu 6.06 mit eigenen Kernel
Gast System - Ubuntu 8.04 mit Standard Kernel
Netzwerk: Host Only (NAT funzt einwandfrei)
Problem:
Ich kann mich zwar intern mit den beiden System verbinden via SSH/FTP u.s.w
Nur ich komme nicht ins Internet:
Mein Hoster bietet zwar Hilfe an nur das klappt bei mir nicht.
http://hilfe.ovh.de/VmWare
Die Datei /etc/network/interfaces in der VM schaut so aus:
Code: Alles auswählen
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
#auto lo
#iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 87.98.xx.xx
netmask 255.255.255.255
#network 87.98.0.0
#broadcast 87.98.0.255
gateway 87.98.xx.xx
# dns-* options are implemented by the resolvconf package, if installed
#dns-nameservers 213.186.33.99
post-up/sbin/ip route add 91.121.xxx.xxx/32 dev/eth0
Damit klappt die interne Kommunikation einwandfrei.Laut der Hilfe soll ich als Gateaway die 91.121.x.x IP angeben nur dann kommt die Meldung das Netzwerk ist nicht erreichbar.
echo 1 > /proc/sys/net/ipv4/ip_forward habe ich auch ausgeführt
Und in der Datei etc/hosts die IP+Host der VM eingetragen.
Ifconfig im Root gibt folgendes aus:
Code: Alles auswählen
eth0 Link encap:Ethernet HWaddr 00:1C:C0:55:B1:9A
inet addr:91.121.xxx.xxx Bcast:91.121.xxx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:747376566 errors:0 dropped:0 overruns:0 frame:0
TX packets:955560961 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1115417447 (1.0 GiB) TX bytes:3898328926 (3.6 GiB)
Interrupt:220
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:13805287 errors:0 dropped:0 overruns:0 frame:0
TX packets:13805287 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2129023345 (1.9 GiB) TX bytes:2129023345 (1.9 GiB)
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.49.1 Bcast:192.168.49.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2781 errors:0 dropped:0 overruns:0 frame:0
TX packets:567 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:172.16.17.1 Bcast:172.16.17.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1071 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Code: Alles auswählen
root@paris:/home/# apt-get update
0% [Verbinde mit de.archive.ubuntu.com] [Verbinde mit security.ubuntu.com]
root@paris:/home/# nano /etc/network
network/ networks
root@paris:/home/# nano /etc/network/interfaces
root@paris:/home/# apt-get update
Fehl http://de.archive.ubuntu.com hardy Release.gpg
Konnte âde.archive.ubuntu.comâ nicht auflösen
Fehl http://de.archive.ubuntu.com hardy/main Translation-de
Konnte âde.archive.ubuntu.comâ nicht auflösen
Fehl http://de.archive.ubuntu.com hardy/restricted Translation-de
Konnte âde.archive.ubuntu.comâ nicht auflösen
Fehl http://de.archive.ubuntu.com hardy/universe Translation-de
Konnte âde.archive.ubuntu.comâ nicht auflösen
Vielleicht hat hier jemand einen hilfreichen Tipp wie ich damit ins Internet komme.
Intern klappt ja alles nur extern kann ich die VM IP noch nichtmal anpingen

Freundlicher Gruß Shippo