Proxmox Bridge funktioniert nach neustart nicht mehr

daymaker

New Member
Hallo zusammen,

ich benötige dringend eure Hilfe... Ich bastel schon seit gestern Abend rum und komme noch immer zu keiner Lösung und hoffe auf eure Hilfe.

Ich habe bei Hetzner einen Server gemiertet und Proxmox 4 mit Debian Jessie installiert. Die Bridge einrichten hat gestern funktioniert, jedoch kommen die Virtuellen Instanzen nach neustart des Servers nicht mehr mit eigener IP Adresse ins Internet.

Die interfaces sieht so aus:

Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto eth0
iface eth0 inet static
	address  <Haupt-IP>
	netmask  255.255.255.224
	gateway  <Gateway Haupt-IP>
	up route add -net 176.9.122.32 netmask 255.255.255.224 gw 176.9.122.33 eth0
# default route to access subnet

iface eth0 inet6 static
	address  xxxx:xxx:151:812f::2
	netmask  64
	gateway  fe80::1
	
auto vmbr0
iface vmbr0 inet static
	address <Haupt-IP>
	netmask 255.255.255.255
	bridge_ports none
	bridge_stp off
	bridge_fd 0
	up ip route add <Zusätzliche IP1>/32 dev vmbr0
	up ip route add <Zusätzliche IP2>/32 dev vmbr0

Die sysctl.d/99-hetzner.conf sieht so aus:
Code:
### Hetzner Online GmbH installimage
# sysctl config
net.ipv4.ip_forward=1
net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts=1
# ipv6 settings (no autoconfiguration)
net.ipv6.conf.default.autoconf=0
net.ipv6.conf.default.accept_dad=0
net.ipv6.conf.default.accept_ra=0
net.ipv6.conf.default.accept_ra_defrtr=0
net.ipv6.conf.default.accept_ra_rtr_pref=0
net.ipv6.conf.default.accept_ra_pinfo=0
net.ipv6.conf.default.accept_source_route=0
net.ipv6.conf.default.accept_redirects=0
net.ipv6.conf.all.autoconf=0
net.ipv6.conf.all.accept_dad=0
net.ipv6.conf.all.accept_ra=0
net.ipv6.conf.all.accept_ra_defrtr=0
net.ipv6.conf.all.accept_ra_rtr_pref=0
net.ipv6.conf.all.accept_ra_pinfo=0
net.ipv6.conf.all.accept_source_route=0
net.ipv6.conf.all.accept_redirects=0
net.ipv6.conf.all.forwarding=1

Code:
ifup vmbr0

gibt folgendes aus:

Code:
RTNETLINK answers: File exists
Failed to bring up vmbr0

Ich hoffe Ihr konnt mir helfe, da ich mit meinem latain am Ende bin...
 
Lösung

Hallo zusammen,

habe es nach weiteren Recherchen und test geschafft.
Musste das Device flushen mit

Code:
ip addr flush dev eth0

Der Server ging zwar danach offline weil keine Verbindung, aber nach einen Automatischen Neustart über die Hetzner Weboberfläche hat alles wieder funktioniert.

Falls der eine oder andere dennoch paar tipps für mich (und auch für das Forum) hat, freue ich mich über Kommentare
 
Last edited by a moderator:
Ich hatte das letztes Jahr bei Hetzner so gelöst (hatte einzelne IPs dazu gebucht)...

Code:
### Hetzner Online GmbH - installimage

# Loopback device:
auto lo
iface lo inet loopback

# device: eth0
iface eth0 inet manual


auto vmbr0
iface vmbr0 inet static
  address   Haupt-IP
  netmask   Netzmakse-der-Haupt-IP
  gateway   Gateway-der-Haupt-IP
  bridge_ports eth0
  bridge_stp off
  bridge_fd 0
  # default route to access subnet
  # falls hier was eingetragen ist, so von Hetzner übernehmen

iface vmbr0 inet6 static
  address Haupt-IP-v6
  netmask 64
  gateway Haupt-Gateway-v6

Am Gast-System selbst gibst du dann die Netwerkdaten (Zusatz-IP, Zusatz-Netzmaske und Zusatz-Gateway) ein, die du beim beantragen der Zusatz-IP erhalten hast.
 
Back
Top