Proxmox7 ipV6 problem hetzner

wfamy

Member
Sep 9, 2019
5
0
6
51
Hi all,
I am fighting with my new proxmox 7 about network configuration.

interfaces auto lo iface lo inet loopback iface lo inet6 loopback auto enp2s0 iface enp2s0 inet static address 95.216.20.91/26 gateway 95.216.20.65 pointopoint 95.216.20.65 up route add -net 95.216.20.64 netmask 255.255.255.192 gw 95.216.20.65 dev enp2s0 # route 95.216.20.64/26 via 95.216.20.65 iface enp2s0 inet6 static address 2a01:4f9:2a:14a4::2/128 gateway fe80::1 auto lan0 iface lan0 inet static address 192.168.0.1/24 ovs_type OVSIntPort ovs_bridge vmbr0 auto ipv6 iface ipv6 inet6 static address 2a01:4f9:2a:14a4::1/64 ovs_type OVSIntPort ovs_bridge vmbr0 auto vmbr0 iface vmbr0 inet manual ovs_type OVSBridge ovs_ports lan0 ipv6
------------------------
egrep -e '(^$|^#)' -v /etc/sysctl.conf
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.proxy_ndp = 1
net.ipv6.conf.all.proxy_ndp = 1
net.ipv4.conf.all.log_martians = 1
-------------------------

iptables -t nat -A POSTROUTING -o enp2s0 -j MASQUERADE
ip route add 192.168.0.0/24 dev vmbr0

---------------------------
So I create a new lxc 111 with ipv4 192.168.0.111 and ipv6 2a01:4f9:2a:14a4::111

when
from host:

ping 2a01:4f9:2a:14a4::111
PING 2a01:4f9:2a:14a4::111(2a01:4f9:2a:14a4::111) 56 data bytes
64 bytes from 2a01:4f9:2a:14a4::111: icmp_seq=1 ttl=64 time=0.260 ms
64 bytes from 2a01:4f9:2a:14a4::111: icmp_seq=2 ttl=64 time=0.022 ms
----
ping 192.168.0.111
PING 192.168.0.111 (192.168.0.111) 56(84) bytes of data.
64 bytes from 192.168.0.111: icmp_seq=1 ttl=64 time=0.244 ms
64 bytes from 192.168.0.111: icmp_seq=2 ttl=64 time=0.019 ms

ping 2001:4860:4860::8888
PING 2001:4860:4860::8888(2001:4860:4860::8888) 56 data bytes
64 bytes from 2001:4860:4860::8888: icmp_seq=1 ttl=108 time=23.2 ms
64 bytes from 2001:4860:4860::8888: icmp_seq=2 ttl=108 time=23.1 ms

no pb
-------------------
from guest
ing 95.216.20.91
PING 95.216.20.91 (95.216.20.91) 56(84) bytes of data.
64 bytes from 95.216.20.91: icmp_seq=1 ttl=64 time=0.293 ms
64 bytes from 95.216.20.91: icmp_seq=2 ttl=64 time=0.057 ms
^C
--- 95.216.20.91 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1008ms
rtt min/avg/max/mdev = 0.057/0.175/0.293/0.118 ms
root@tesst111:/etc/network# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=118 time=7.39 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=118 time=7.39 ms

ok it works
---------------------------------
For IPV6 It do not works

PING 2a01:4f9:2a:14a4::2(2a01:4f9:2a:14a4::2) 56 data bytes
From 2a01:4f9:2a:14a4::111 icmp_seq=1 Destination unreachable: Address unreachable
From 2a01:4f9:2a:14a4::111 icmp_seq=2 Destination unreachable: Address unreachable
From 2a01:4f9:2a:14a4::111 icmp_seq=3 Destination unreachable: Address unreachable


I am looking for any help.
regards
 

Attachments

  • Capture d’écran du 2022-02-24 13-55-28.png
    Capture d’écran du 2022-02-24 13-55-28.png
    46.8 KB · Views: 6
  • Capture d’écran du 2022-02-24 13-52-50.png
    Capture d’écran du 2022-02-24 13-52-50.png
    25.5 KB · Views: 6

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!