Sample Header Ad - 728x90

Override ISC DHCP's `option routers` with the absence of that option?

0 votes
0 answers
16 views
I was thinking I'd rather not assign my TV a default gateway, and since I use ISC DHCP 4.4 I tried to override the general subnet configuration with a host specific configuration, like this:
host Samsung-TV {
        hardware ethernet aa:bb:cc:dd:ee:ff;
        option routers;
}
Not too surprisingly this was a configuration error. The below config works, but is technically assigning a gateway:
host Samsung-TV {
        hardware ethernet aa:bb:cc:dd:ee:ff;
        option routers 0.0.0.0;
}
Is there any way to override option routers with the actual *absence* of that option? Or is that a useless technicality that shouldn't matter?
Asked by Andreas (573 rep)
Jun 2, 2023, 11:49 PM