Jump to content

Recommended Posts

Posted (edited)

Поделитесь пожалуйста настройками (dnsmasq.conf) у кого работает dhcpv6.

Хочу настроить роутер на раздачу ipv6 адресов средствами dnsmasq. Все попытки были тщетны.

В логах это:

dnsmasq-dhcp[2627]: no address range available for DHCPv6 request via br0

dnsmasq: version 2.80test3

 

Edited by lelik
Posted

Может кому интересно, нашел причину.

На интерфейсе обязательно должен быть задан ipv6 адрес с указанным префиксом.

Т.е. если добавить нашему интерфейсу адрес с префиксом 64

ifconfig br0 add xxx:xxxx:xxxx:xxxx::1/64

а в dnsmasq.conf прописать

enable-ra
# по slaac 
# dhcp-range=xxx:xxxx:xxxx:xxxx::,slaac,64,48h
# по dhcp
dhcp-range=xxx:xxxx:xxxx:xxxx::2, xxx:xxxx:xxxx:xxxx:ffff:ffff:ffff:ffff, 64, 12h

То DHCPv6 работает безотказно.

Прописать статический адрес вида xxx:xxxx:xxxx:xxxx::1/64  на интерфейсе в консоле NDMS у меня не получилось.

можно только так 

interface Home ipv6 address xxx:xxxx:xxxx:xxxx::1

тогда адрес будет представлен как

xxx:xxxx:xxxx:xxxx::1/128

и соответственно DHCPv6 работать не будет.

 

Posted (edited)

Да вообще хотелось бы чтобы была полноценная поддержка IPv6 на роутерах. Чтобы в веб-интерфейсе была возможность регистрация устройств с привязкой по IPv6, созданием сегментов DHCPv6 пулы, firewall и т.д.

Edited by lelik

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.