I've set up rtadvd, but Win7 still have no IPv6 address. Only Link local
IPv6 address: fe80.... is present.
ipconfig /all shows:
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : local
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
Physical Address. . . . . . . . . : mac...
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::c6:... (Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.125 (Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, December 07, 2017
3:46:37 PM
Lease Expires . . . . . . . . . . : Thursday, December 07, 2017
4:46:19 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 235405873
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-2F-22-3...
DNS Servers . . . . . . . . . . . : 8.8.8.8
NetBIOS over Tcpip. . . . . . . . : Enabled
I'm actively using PF for IPv4 filtering, what I have to set up to make
IPv6 SLAAC working? Which port rtadvd is using to advertize the router
on network?
# cat /etc/hostname.em0
inet 192.168.1.1 255.255.255.0 media autoselect
inet6 alias 2001:bd2:101::1 64
# cat /etc/rtadvd.conf
em0:\
:addr="2001:bd2:101::":prefixlen#64:\
:rtprefix="2001:bd2:101::":\
:rdnss":"2001:bd2:101::1":\
:dnssl="local":
# /etc/rc.d/rtadvd start
tradvd (ok)
# ndp -a
2001:bd2:101::1 mac... em0 permanent R l
fe80::.... mac... em0 permanent R l
Thanks for answer in advance.
Denis
On 12/6/2017 3:28 PM, Claus Lensbøl wrote:
> Hi Denis,
> Do you specifically need a DHCP server for v6 or do you "just" need to
> hand out addresses to your network(s)? For the second option you can
> use the rtadvd service having the clients configure their own addresses
> with SLAAC.
>
> If you need a DHCP server, you need rtadvd to hand off the requests to
> the DHCP server in any case. Last time, which is some time ago, the
> DHCP server distributed with OpenBSD wasn't capable of working with
> IPv6, so you'll need the ISC version or perhaps the WIDE server that I
> have not worked with.
>
> http://wide-dhcpv6.sourceforge.net/
>
> I don't have a working DHCP config for you, but if you "just" need
> SLAAC, I can provide you some, perhaps a bit, old examples.
> Let me know.
>
> / Claus
>
>
> On 06-12-2017 15:14, Denis wrote:
>> Hi All,
>>
>> I have working OpenBSD based IPv4 router, but now need to add IPv6
>> functionality to the same router box with keeping all IPv4 services.
>>
>> I've set aliases with IPv6 addresses for all the adapters in
>> /etc/hostname.if and added filtering rules for IPv6 to PF.
>>
>> Stuck with IPv6 DHCP server piece of software. Which one do I need to
>> have IPv6 DHCP server functionality? The best solution is to use
>> implemented into OpenBSD, no packaged one.
>>
>> Please recommend some. Any examples will be useful too.
>>
>> Thank you.
>>
>>
>>
>>
>>