You are not logged in.
A archlinux machine can only get link-local address, although dhcpv6 feature of dnsmasq is enabled on a archlinux server. What's wrong with it?
dnsmasq conf is:
interface=ens33
domain-needed
bogus-priv
local=//
local=/localdomain/
dhcp-range=192.168.74.129,192.168.74.160,24h
dhcp-range=::2c81,::2ca0,constructor:ens33,24h
enable-ra
'ip address show dev ens33' on archlinux machine output:
3: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:0c:29:b6:da:fa brd ff:ff:ff:ff:ff:ff
altname enp2s1
inet6 fe80::20c:29ff:feb6:dafa/64 scope link
valid_lft forever preferred_lft forever
Network conf of archlinux machine (/etc/systemd/network/20-ens33.network) is:
[Match]
Name=ens33
[Link]
ActivationPolicy=up
[Network]
LinkLocalAddressing=ipv6
IPv6AcceptRA=yes
DHCP=ipv6
Last edited by annebright (2022-07-09 14:22:56)
Offline
Are you connecting to a router? Do you control the router? Do other machines on your network get IPv6 addresses?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
The archlinux machine and archlinux server are two vms connected to a virtual network. The host is connected to the virtual network too. The host cannot get ipv6 address either.
Offline
Maybe the virtual network doesn't transport IPv6.
From the console of your virtual server check:
ping fe80::20c:29ff:feb6:dafa%enXXX
You have to replace "enXXX" with the correct ethernet interface name on the server.
Offline
It works now. The dhcpv6 port was blocked in firewall.
Offline