To make a typical IPv4-based access point on Linux, one does these steps:
- Use
hostapd
to make e.g.wlan0
available for incoming connections; - Choose some local subnet. For example,
192.168.99.0/24
. - Add one of IP addresses in that network (e.g.
192.168.99.1/24
) towlan0
. - Enable forwarding both for this network (
wlan0
) and for upstream (e.g.eth0
). - Insert
MASQUERADE
rule to firewall to enable NAT. - Start
dnsmasq
or other DHCP server to manage local IP addresses of clients.
Are there similar steps for IPv6? Ideally clients of wlan0
should see the IPv6 world just as if they were connected to eth0
directly (i.e. not another NAT, which is unidiomatic in IPv6 world), something like a pseudo-bridge (true brctl
bridging may be problematic).
It would also be useful if eth0
could be reconnected to another network without requiring restarting the infrastructure for serving wlan0
, just like in the IPv4 case.
Will the steps be different depending on whether DHCPv6 or router advertisements are used on eth0
?