P
P
Pavel Sysolyatin2018-12-16 17:22:49
Computer networks
Pavel Sysolyatin, 2018-12-16 17:22:49

How to set up ipv6 only wi-fi network?

There is an external ASUS router that distributes the Internet to the home network. It is configured with V4 and V6. V6 is configured through a tunnel broker. Everything works great.
At the moment, it was necessary to test the operation of mobile applications in the V6 only network. Since the router itself cannot only V6 on the LAN, therefore, it seemed to me a simple solution to make another access point on the local network and deploy V6 only there.
I set up an access point on a linux machine using hostapd - no surprises here.
I tried to distribute V6 on it via dnsmasq. but something without much result. If you make a V4 network, then everything works with a bang.
The phone connects to the network, but does not receive any addresses (ios). And I would like it to receive an address from the range allocated by the tunnel broker. At worst, local V6 addresses, but with routing through the linux machine.
There is a suspicion that you can do without dnsmasq, but simply make a bridge to the network that the router distributes. I do not quite understand all this V6 cuisine.
Maybe there is an inexpensive piece of iron that can only distribute V6?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
erkade, 2018-12-19
@erkade

Try configuring radvd with appropriate firewall rules on the linux hostapd machine.
You can connect to the tunnel broker on the same linux machine with hostapd. Radvd will issue v6 addresses to devices connecting to the hostapd access point from the v6 address range you have, if that range is of course greater than or equal to /64, using Stateless address autoconfiguration (SLAAC), as well as the default route and DNS. All this is written in the radvd configuration file.
In general, you can not use V4 on the network distributed by hostapd - do not use DHCP, allow the DNS server to respond only using the v6 protocol, do not configure the machine with hostapd as a v4 linux traffic router either.
https://en.wikipedia.org/wiki/Radvd
https://linux.die.net/man/5/radvd.conf
https://www.systemajik.com/providing-ipv6-dns-reso...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question