Ich habe einen Server mit Debian Jessie.
Mein Vorhaben ist folgendes: Eine Bridge einrichten, damit ich kein Routing für KVM benötige.
Das hat soweit auch funktioniert - für IPv4. Die IPv6-Adresse in /etc/network/interfaces wird leider gar nicht beachtet - ich muss sie dann manuell mit ifconfig hinzufügen. Dann funktioniert alles reibungslos!
Ich habe mir schon die Logs angesehen und dort zumindest keine Fehlermeldung entdeckt.
ich poste hier mal meine Netzwerkkonfiguration:
Code: Alles auswählen
### Hetzner Online AG - installimage
# Loopback device:
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto br0
iface br0 inet static
address 5.9.2.2XX
broadcast 5.9.2.255
netmask 255.255.255.224
network 5.9.2.224
gateway 5.9.2.225
bridge_ports eth0
bride_stp on
bridge_maxwait 15
# default route to access subnet
up route add -net 5.9.2.224 netmask 255.255.255.224 gw 5.9.2.225 eth0
post-up ifconfig br0 inet6 add 2a01:4f8:160:706a::XX/64
post-up ip -6 route add default via fe80::1 dev br0
iface br0 inet6 static
address 2a01:4f8:160:706a::XX
netmask 64
gateway fe80::1
post-up ifconfig br0 inet6 add 2a01:4f8:160:706a::XX/64
post-up ip -6 route add default via fe80::1 dev br0
IPv6 und Forwarding sind für die br0 laut sysctl aktiviert.
ifconfig direkt nach dem Hochfahren:
Code: Alles auswählen
br0 Link encap:Ethernet Hardware Adresse c8:60:00:5e:YY:XX
inet Adresse:5.9.2.240 Bcast:5.9.2.255 Maske:255.255.255.224
inet6-Adresse: fe80::ca60:ff:fe5e:YYXX/64 Gültigkeitsbereich:Verbindung
Hat da jemand eine Idee, woran es liegt, dass die Adresse aus der Konfig nicht ans Interface geht? Ich verzweifel so langsam...
Achso, ohne die Bridge hat auch IPv6 vorher normal funktioniert...
Vielen Dank schonmal!