Hi,
I have a strange problem. I use a server at ovh with ovh proxmox 4 template. IPv6 is working. I defined static entries as described in the wiki. But after a while i cannot access the vm via ipv6. When i make a ping from the vm to any ipv6 address, i get the message network is unreachable. So i try to debug my problem. I see after a rebbot i get default routes via ra and with this it works. When this routes expire, ipv6 didn't work anymore. I cannot see the static default route but if I manual add this, I get the error that this entry allready exists.
VM:
(Proxmox GUI Network settings see attachment)
Host:
EDIT:
If the ra default route expires, i can add the regulare route with "ip route add default via XXXff:ff:ff:ff:ff dev eth0" and then ipv6 works. I think the problem is the following: If a vm starts, everything get configred as described in interfaces config but the vm get also ra routes (perhaps from the host??). When the routes expires, alls default routes get deleted, so i can add the real default route again. But this is no solution beacause it dosn't survice a reboot. My vm uses debian from the proxmox images.
I have a strange problem. I use a server at ovh with ovh proxmox 4 template. IPv6 is working. I defined static entries as described in the wiki. But after a while i cannot access the vm via ipv6. When i make a ping from the vm to any ipv6 address, i get the message network is unreachable. So i try to debug my problem. I see after a rebbot i get default routes via ra and with this it works. When this routes expire, ipv6 didn't work anymore. I cannot see the static default route but if I manual add this, I get the error that this entry allready exists.
VM:
(Proxmox GUI Network settings see attachment)
Code:
iface eth0 inet6 static
address XXX
netmask 64
post-up ip route add XXXff:ff:ff:ff:ff dev eth0
post-up ip route add default via XXXff:ff:ff:ff:ff dev eth0
pre-down ip route del default via XXXff:ff:ff:ff:ff dev eth0
pre-down ip route del XXXff:ff:ff:ff:ff dev eth0
Code:
ip -6 route
XXX::/64 dev eth0 proto kernel metric 256
XXXff:ff:ff:ff:ff dev eth0 metric 1024
XXX::/56 dev eth0 proto kernel metric 256 expires 2591042sec
fe80::/64 dev eth0 proto kernel metric 256
fe80::/64 dev eth1 proto kernel metric 256
default via fe80::XX:af00 dev eth0 proto ra metric 1024 expires 842sec hoplimit 64
default via fe80::XX:df80 dev eth0 proto ra metric 1024 expires 842sec hoplimit 64
Host:
Code:
iface eth0 inet6 static
address XXX
netmask 64
post-up ip route add XXXff:ff:ff:ff:ff dev eth0
post-up ip route add default via XXXff:ff:ff:ff:ff dev eth0
pre-down ip route del default via XXXff:ff:ff:ff:ff dev eth0
pre-down ip route del XXXff:ff:ff:ff:ff dev eth0
Code:
ip -6 route
XXX::/64 dev vmbr0 proto kernel metric 256 pref medium
XXXff:ff:ff:ff:ff dev vmbr0 metric 1024 pref medium
fe80::/64 dev vmbr0 proto kernel metric 256 pref medium
fe80::/64 dev tap151020097i0 proto kernel metric 256 pref medium
fe80::/64 dev fwbr151020105i0 proto kernel metric 256 pref medium
...
default via XXXff:ff:ff:ff:ff dev vmbr0 metric 1024 pref medium
EDIT:
If the ra default route expires, i can add the regulare route with "ip route add default via XXXff:ff:ff:ff:ff dev eth0" and then ipv6 works. I think the problem is the following: If a vm starts, everything get configred as described in interfaces config but the vm get also ra routes (perhaps from the host??). When the routes expires, alls default routes get deleted, so i can add the real default route again. But this is no solution beacause it dosn't survice a reboot. My vm uses debian from the proxmox images.
Attachments
Last edited: