Re: [Dnsmasq-discuss] IPv6 host-id

2020-04-22 Thread Jiawen Chen
Thanks! That makes sense. I actually do dual-boot my living room PC but not very often and there are only a few configurations. So I can just statically add their DUID/IAIDs to dhcp-host. I guess the problem you're referring to is that dhcp-host only supports a single "id:" option instead of a set

Re: [Dnsmasq-discuss] IPv6 host-id

2020-04-21 Thread Geert Stappers
On Tue, Apr 21, 2020 at 09:47:35AM -0400, Jiawen Chen wrote: > On Tue, Apr 21, 2020 at 3:01 AM Geert Stappers wrote: > > On Mon, Apr 20, 2020 at 10:27:11PM -0400, Jiawen Chen wrote: > > > > > > I'd like to use DHCPv6 and IPv6, using the host-id-only option. > > > > > > ``` > > > # Enable IPv6 Rout

Re: [Dnsmasq-discuss] IPv6 host-id

2020-04-21 Thread Jiawen Chen
On Tue, Apr 21, 2020 at 3:01 AM Geert Stappers wrote: > On Mon, Apr 20, 2020 at 10:27:11PM -0400, Jiawen Chen wrote: > > Hi, > > > ... > > > > > > Finally, I'd like to use DHCPv6 and IPv6, using the host-id-only option. > > > > ``` > > # Enable IPv6 Router Advertisement. > > enable-ra > > >

Re: [Dnsmasq-discuss] IPv6 host-id

2020-04-21 Thread Pali Rohár
On Tuesday 21 April 2020 08:27:49 Geert Stappers wrote: > On Mon, Apr 20, 2020 at 10:27:11PM -0400, Jiawen Chen wrote: > > # Assign 192.168.0.150 and [::0:1000] to my living room pc > > dhcp-host=,192.168.0.150,[::0:1000],livingroom.internal,12h > > > > # Assign 192.168.0.151 and [::0:1001] to my

Re: [Dnsmasq-discuss] IPv6 host-id

2020-04-20 Thread Geert Stappers
On Mon, Apr 20, 2020 at 10:27:11PM -0400, Jiawen Chen wrote: > Hi, > ... > > > Finally, I'd like to use DHCPv6 and IPv6, using the host-id-only option. > > ``` > # Enable IPv6 Router Advertisement. > enable-ra > > # Enable DHCPv6. Serve a range for each VLAN. > dhcp-range=::0:2,::0:500,co