tomnick100
Goto Top

Probleme bei der Einrichtung vom Subnetz KVM Ubuntu 16.04

Liebe Forumgemeinde,

ich habe https://wiki.hetzner.de/index.php/KVM_mit_Nutzung_aller_IPs_-_the_easy_w ... unter Ubuntu 16.04 installiert und Host sowie Gäste laufen auch. Administrieren der Gäste über Virtual Machine Manager. Nun wollte ich gern ein Subnetz DD.EE.FF. 152 bis 159 benutzen. Das habe ich nach der Anleitung KVM gemacht. Leider bekommen die Gäste die Subnetz IPS nicht zugewiesen und ich kann mir überhaupt nicht mehr erklären warum. Hier mal meine configs:

Host Interfaces:
### Hetzner Online GmbH - installimage
# Loopback device:
auto lo
iface lo inet loopback
iface lo inet6 loopback
# device: eth0
auto  eth0
iface eth0 inet static
  address   AA.BB.CC.76
  netmask   255.255.255.255
  gateway   AA.BB.CC.65
  pointopoint AA.BB.CC.65
  # default route to access subnet
  up route add -net AA.BB.CC.64 netmask 255.255.255.192 gw AA.BB.CC.65 eth0
iface eth0 inet6 static
  address xxxxxxxx
  netmask 64
  gateway fe80::1
# VM-Bridge
auto br0
iface br0 inet static
 address   AA.BB.CC.76
 netmask   255.255.255.255
 bridge_ports none
 bridge_stp off
 bridge_fd 0
 bridge_maxwait 0
 up route add -host DD:EE:FF.152 dev br0
 up route add -host DD:EE:FF.153 dev br0
usw. bis DD.EE.FF

ifconfig:
br0       Link encap:Ethernet  HWaddr 62:51:bb:50:0e:75  
          inet addr:AA.BB.CC.76  Bcast:AA.BB.CC.76  Mask:255.255.255.255
          inet6 addr: xxxxxx:e75/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:631 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:26694 (26.6 KB)
eth0      Link encap:Ethernet  HWaddr 90:1b:0e:a3:c6:20  
          inet addr:AA.BB.CC.76  Bcast:AA.BB.CC.127  Mask:255.255.255.192
          inet6 addr: xxxxxxx:c620/64 Scope:Link
          inet6 addr: xxxxxxxx:2/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:124778 errors:0 dropped:0 overruns:0 frame:0
          TX packets:130386 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17715501 (17.7 MB)  TX bytes:35391149 (35.3 MB)
          Interrupt:16 Memory:f7000000-f7020000 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:38584 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38584 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:4402360 (4.4 MB)  TX bytes:4402360 (4.4 MB)
virbr0    Link encap:Ethernet  HWaddr 52:54:00:9c:78:ef  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2067 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2911 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:246816 (246.8 KB)  TX bytes:279559 (279.5 KB)
vnet0     Link encap:Ethernet  HWaddr fe:54:00:be:1c:b0  
          inet6 addr: fe80::fc54:ff:febe:1cb0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:547 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1972 (1.9 KB)  TX bytes:29380 (29.3 KB)

Gast Interface:
# 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 ens3
  iface ens3 inet dhcp
device: eth0
auto eth0
iface eth0 inet static
address DD.EE.FF.153
netmask 255.255.255.255
gateway AA.BB.CC.76
pointopoint AA.BB.CC.76
# dns-* options are implemented by the resolvconf package, if installed
      #  dns-nameservers 213.133.98.98 213.133.99.99
#        dns-search example.com

ifconfig Gast:
ens3      Link encap:Ethernet  HWaddr 52:54:00:be:1c:b0  
          inet addr:192.168.122.69  Bcast:192.168.122.255  Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:febe:1cb0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1099 errors:0 dropped:3 overruns:0 frame:0
          TX packets:222 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:70037 (70.0 KB)  TX bytes:28492 (28.4 KB)
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:11840 (11.8 KB)  TX bytes:11840 (11.8 KB)

Beim Restart des Netzwerkes (Gast) bekomme ich folgenden Fehler:
Aug 19 20:01:31 klaya systemd[1]: Stopped Raise network interfaces.
Aug 19 20:01:31 klaya systemd[1]: Starting Raise network interfaces...
Aug 19 20:01:31 klaya ifup[1069]: Cannot find device "eth0"  
Aug 19 20:01:31 klaya ifup[1069]: Failed to bring up eth0.
Aug 19 20:01:31 klaya systemd[1]: networking.service: Main process exited, code=
Aug 19 20:01:31 klaya systemd[1]: Failed to start Raise network interfaces.
Aug 19 20:01:31 klaya systemd[1]: networking.service: Unit entered failed state.
Aug 19 20:01:31 klaya systemd[1]: networking.service: Failed with result 'exit-c  

Ich weiss nun wirklich nicht mehr weiter habe mich schon wund gegoogelt....Hat vielleicht noch jemand eine Idee was ich übersehen haben könnte? Vielen Dank für etwas Hilfe und viele Grüße Tom

Content-Key: 313149

Url: https://administrator.de/contentid/313149

Printed on: April 24, 2024 at 23:04 o'clock