Felix Palmen :freebsd: :c64: on Nostr: Next step testing #IPv6only operation in my local network, I wanted to give #dhcp ...
Next step testing #IPv6only operation in my local network, I wanted to give #dhcp "option 108" (IPv6-only preferred) a try.
I'm running #ISC #dhcpd on my #FreeBSD router/firewall, so I looked at the manuals:
https://man.freebsd.org/cgi/man.cgi?query=dhcp-optionsOk, added "option option-108 00:00:00:00;" based on that, which dhcpd rejected 🤔
From finding random different examples for custom options and with some trial and error, I found I have instead to declare the option:
option v6only code 108 = integer 32;
... and then use it like this:
option v6only 0;
Ok, what's up with documentation here? 🙄
At least it works, verified on my phone running #Android 14. No #IPv4-address from my pool any more. Instead, 192.0.0.4 appeared, seems it automatically configures a #clat...
Published at
2024-09-26 16:34:24Event JSON
{
"id": "b5840b85337e4b06f2c6925eeabd875390ade854043bed17281f4fcf4e271533",
"pubkey": "f256835736550a85428b988fdeb80b491534fe74fc6e7eea1701fc79e6642176",
"created_at": 1727368464,
"kind": 1,
"tags": [
[
"t",
"ipv6only"
],
[
"t",
"dhcp"
],
[
"t",
"isc"
],
[
"t",
"dhcpd"
],
[
"t",
"freebsd"
],
[
"t",
"android"
],
[
"t",
"ipv4"
],
[
"t",
"clat"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/zirias/statuses/113204819679753124",
"activitypub"
]
],
"content": "Next step testing #IPv6only operation in my local network, I wanted to give #dhcp \"option 108\" (IPv6-only preferred) a try.\n\nI'm running #ISC #dhcpd on my #FreeBSD router/firewall, so I looked at the manuals:\n\nhttps://man.freebsd.org/cgi/man.cgi?query=dhcp-options\n\nOk, added \"option option-108 00:00:00:00;\" based on that, which dhcpd rejected 🤔\n\nFrom finding random different examples for custom options and with some trial and error, I found I have instead to declare the option:\n\noption v6only code 108 = integer 32;\n\n... and then use it like this:\n\noption v6only 0;\n\nOk, what's up with documentation here? 🙄\n\nAt least it works, verified on my phone running #Android 14. No #IPv4-address from my pool any more. Instead, 192.0.0.4 appeared, seems it automatically configures a #clat...",
"sig": "5a9abaae07557a1f4923a7354be55fc9ada436c1af676244868a0bbd493cb2c0409773d0485777a5ba7371b53a39721b298870239fc267df62f926fbbfd5c59f"
}