From nobody Wed Sep 25 19:39:39 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XDRrj4y3Vz5Xd9b for ; Wed, 25 Sep 2024 19:39:49 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs2.fjl.org.uk (bs2.fjl.org.uk [84.45.41.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "bs2.fjl.org.uk", Issuer "bs2.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XDRrh5WLQz4wrl for ; Wed, 25 Sep 2024 19:39:48 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.208 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk; dmarc=none Received: from roundcube.fjl.uk ([192.168.0.2]) by bs2.fjl.org.uk (8.16.1/8.16.1) with ESMTP id 48PJddUa069097 for ; Wed, 25 Sep 2024 19:39:39 GMT (envelope-from freebsd-doc@fjl.co.uk) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Date: Wed, 25 Sep 2024 20:39:39 +0100 From: Frank Leonhardt To: questions Subject: Why does dhcpd have a routers (plural) option for a subnet? Message-ID: X-Sender: freebsd-doc@fjl.co.uk Content-Type: multipart/alternative; boundary="=_b46c544ae6012ee61c9bf52c480000d3" X-Spamd-Result: default: False [-0.92 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-0.97)[-0.969]; NEURAL_HAM_SHORT(-0.86)[-0.857]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.208]; NEURAL_SPAM_MEDIUM(0.10)[0.105]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[fjl.co.uk]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4XDRrh5WLQz4wrl X-Spamd-Bar: / --=_b46c544ae6012ee61c9bf52c480000d3 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Ever wondered why there's a "routers" option in dhcpd.conf? I have. Why isn't in just "router", as surely you can only have one default gateway? Except that's been muddied a bit by MSFT. Rather than adding a second just to see what happens I thought I'd ask? I expect it's a mistake in the early days of dhcpd that was too late to fix, or left for further expansion. Thanks, Frank. --=_b46c544ae6012ee61c9bf52c480000d3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Ever wondered why there's a "routers" option in dhcpd.conf? I have. Why = isn't in just "router", as surely you can only have one default gateway? Ex= cept that's been muddied a bit by MSFT.

Rather than adding a second just to see what happens I thought I'd ask?<= /p>

I expect it's a mistake in the early days of dhcpd that was too late to = fix, or left for further expansion.

Thanks, Frank.




--=_b46c544ae6012ee61c9bf52c480000d3--