Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2024 14:40:26 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: 14.1-R rc.conf/ifconfig netmask issue was really hard to figure out
Message-ID:  <194188316.10234.1718196026321@localhost>
In-Reply-To: <202406121039.45CAdal6010274@critter.freebsd.dk>
References:  <202406120747.45C7lRGZ009491@critter.freebsd.dk> <413984193.6719.1718185609109@localhost> <202406121039.45CAdal6010274@critter.freebsd.dk>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Van: Poul-Henning Kamp <phk@phk.freebsd.dk>
Datum: woensdag, 12 juni 2024 12:39
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: current@freebsd.org
Onderwerp: Re: 14.1-R rc.conf/ifconfig netmask issue was really hard to figure out
> 
> Ronald Klop writes:
> 
> > What do you thing about defaulting to /32 on a missing netmask?
> > An interface with 1 IP address without any information about the network. All traffic can go to the gateway.
> 
> I dont think that will work ?
> 
> The gateway will not be inside any of the attached networks, so you have no route to it ?
> 
> Poul-Henning
> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.
> 
> 
> 

Ai. Of course. Typed quicker than I was thinking. :-)

Well. Then it is maybe best to just error out on boot with a misconfigured network. Or revert back to the pre-14.1 behavior because of POLA.
I'll leave it up to you and will make sure I configure my interfaces with a netmask.

Regards,
Ronald.
 
[-- Attachment #2 --]
<html><head></head><body><br>
<p><strong>Van:</strong> Poul-Henning Kamp &lt;phk@phk.freebsd.dk&gt;<br>
<strong>Datum:</strong> woensdag, 12 juni 2024 12:39<br>
<strong>Aan:</strong> Ronald Klop &lt;ronald-lists@klop.ws&gt;<br>
<strong>CC:</strong> current@freebsd.org<br>
<strong>Onderwerp:</strong> Re: 14.1-R rc.conf/ifconfig netmask issue was really hard to figure out</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="TextPlainViewer" id="P.P">Ronald Klop writes:<br>
<br>
&gt; What do you thing about defaulting to /32 on a missing netmask?<br>
&gt; An interface with 1 IP address without any information about the network. All traffic can go to the gateway.<br>
<br>
I dont think that will work ?<br>
<br>
The gateway will not be inside any of the attached networks, so you have no route to it ?<br>
<br>
Poul-Henning<br>
<br>
--&nbsp;<br>
Poul-Henning Kamp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| TCP/IP since RFC 956<br>
FreeBSD committer &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| BSD since 4.3-tahoe &nbsp;&nbsp;&nbsp;<br>
Never attribute to malice what can adequately be explained by incompetence.</div>

<hr></div>
</blockquote>
<br>
Ai. Of course. Typed quicker than I was thinking. :-)<br>
<br>
Well. Then it is maybe best to just error out on boot with a misconfigured network. Or revert back to the pre-14.1 behavior because of POLA.<br>
I'll leave it up to you and will make sure I configure my interfaces with a netmask.<br>
<br>
Regards,<br>
Ronald.<br>
&nbsp;</body></html>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?194188316.10234.1718196026321>