Get private IPv6 via DHCP like IPv4 thu SDN

jameshsi

Active Member
Nov 9, 2017
13
3
43
58
Hi~ I am so happy I now can get VM working with private IPv4 by follow this link: https://pve.proxmox.com/pve-docs/chapter-pvesdn.html#pvesdn_overview
And also follow steps of this example: https://www.virtualizationhowto.com/2024/03/proxmox-sdn-configuration-step-by-step/

Now my question is: Why IPv6 not working like Ipv4 ? Did I missed anything ?
I think maybe I just a few clicks away from success!
Pls help!
I also goto this site to get a private IPv6 example: https://simpledns.plus/private-ipv6
But my VM still get wrong ipv6 and I still not be able to ping6 to google, while IPv4 is OK!
 

Attachments

  • prox025-01-19 17.34.07.png
    prox025-01-19 17.34.07.png
    148.2 KB · Views: 2
When I click SDN --> IPAM in web-based, I see it did assigned! But in my VM, it is not, Don't understand why ?
Check the screenshot, TKS.
 

Attachments

  • 截圖 2025-01-19 18.01.35.png
    截圖 2025-01-19 18.01.35.png
    162.7 KB · Views: 4
I just found if I use ubuntu 24 template to create a vm , it can shows up the private ipv6 as I set in SDN and can ping my server's IPv6 2001:41d0:6X2:bX4::1:

root@test-ubuntu:~# ping6 2001:41d0:6X2:bX4::1
PING 2001:41d0:602:bb4::1 (2001:41d0:6X2:bX4::1) 56 data bytes
64 bytes from 2001:41d0:6X2:bX4::1: icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from 2001:41d0:6X2:bX4::1: icmp_seq=2 ttl=64 time=0.042 ms
64 bytes from 2001:41d0:6X2:bX4::1: icmp_seq=3 ttl=64 time=0.055 ms
^C
--- 2001:41d0:6X2:bX4::1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2083ms
rtt min/avg/max/mdev = 0.036/0.044/0.055/0.007 ms
root@test-ubuntu:~# ping 2001:4860:4860::8888
PING 2001:4860:4860::8888 (2001:4860:4860::8888) 56 data bytes
^C
--- 2001:4860:4860::8888 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4109ms

root@test-ubuntu:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: eth0@if37: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether bc:24:11:9e:ff:bf brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 192.168.55.103/24 metric 1024 brd 192.168.55.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fd89:a2b:23ac:cd1::1003/128 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::be24:11ff:fe9e:ffbf/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
root@test-ubuntu:~#

fd89:a2b:23ac:cd1::1003 is the DHCP assign IPv6 according my SDN settings.