On 09/09/2021 11:22, Daniel via Dnsmasq-discuss wrote:
> Hello,
> 
> using dnsmasq for office network, I would like to add an ipv6 static route. 
> My configuration looks like
> 
> dhcp-range=set:computer6, fd00:5678:beef:cafe::ff:0, 
> fd00:5678:beef:cafe::ff:ffff, slaac, ra-names, 1h
> dhcp-option=tag:computer6,option6:3,fd00:5678:beef:cafe::2
> dhcp-option=tag:computer6,option6:6,fd00:5678:beef:cafe::1
> dhcp-option=tag:computer6,option6:ntp-server,fd00:5678:beef:cafe::2
> 
> Now I want to add route like <destination network,metric,GW>
> 
> dhcp-option=tag:computer6,option6:3,fd00:5678:beef:cafe:fade::/96,192,fd00:5678:beef:cafe::1
> 
> but this does not work (also tried <GW,metric,destination network>
> 
> What am I doing wrong ?
> 
> Thanks for your support

Hi

The Metric is not part of DHCP, but is a local decision of the client.

See https://www.rfc-editor.org/rfc/rfc2132.html section 3.5 that describes DHCP 
option 3.

Alternatively if you want to use DHCP option 121 see 
https://www.rfc-editor.org/rfc/rfc3442.html
section "Classless Route Option Format".

BR
Matthias

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to