If we want to configure default routes over multiple interfaces we
authorflorian <florian@openbsd.org>
Sat, 27 Mar 2021 18:10:38 +0000 (18:10 +0000)
committerflorian <florian@openbsd.org>
Sat, 27 Mar 2021 18:10:38 +0000 (18:10 +0000)
commit0be69ef659f57125b7d3f4ae21f379fd358f50ad
treea14711d8ceeb30bc2a997f890ec0aa0ba0111ad9
parentb0828d45f91367dfdcbaa36107b95c7001513ed5
If we want to configure default routes over multiple interfaces we
need to provide the address of the interface behind which the default
router is in case they are on the same subnet otherwise the kernel
can't figure out which route we are talking about
This happens for example when your wifi and wired networks are bridged.
Pointed out by claudio some time ago.
sbin/dhcpleased/dhcpleased.c