From nobody Wed Aug 20 22:53:59 2025 X-Original-To: doc@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 4c6hZw1d7gz65MRk for ; Wed, 20 Aug 2025 22:54:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c6hZw0vkWz3ryb for ; Wed, 20 Aug 2025 22:54:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755730440; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=InOZelH5MAG+FsZM5YYkmVj7pGfT7SU8lawIa8K5zzE=; b=Va9yGtIRTfJrQe5cpmdvZXUHeD9u5yp35wO0Vi0xegkTVSJ4uszJsq3/rr/MTTC8bFY5Gy VnOruvZrA1UP9qumkuP4gwyRenbt2hu6WkBx0dO+qSu3Tcta0g4b0URpuxSSnxJVUsSK4k uBsjRTMBCmPxysLPlcGSU12FfFifog0R+185raFTCbzlt3k99mU7knxOWU6ZQRuUoUBjDY 2Q3JkJ/bXIAm0bY2d53JwcK7fjSaOSLvDk71TV+clRR0ISnlmh7TBuzhSfpKf/btKErkod YAEMzMuIgNyhBCn7qsPSSEUer0qJp2Ny1Kbr6cNFFKUamSe+T75q0cWCp6fKaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755730440; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=InOZelH5MAG+FsZM5YYkmVj7pGfT7SU8lawIa8K5zzE=; b=Me++syBkwEVnz0X6jg3jUUluwvoKrKmICCcn6YS68Jg+Pwmsqsxr3wSJnH1pR+WYxeWv3F 5WkoLw8s50vhjoAt6IoRwjGhypE+sdtXj5D43EhN3NhlAUgslaKLH0gMUeTH3dLkExGxRM JVnEap4sXt66OCu+UhZIy/J/YpUtDnDCie0VLodsePws2r68nTdwpXc+qVbT7CkUSm//Gz 54YFvjlWglaI64hAnNj4eUTlOR5IeYhfPj6HhgOW8p9VjskMhhUhsMWXRYP4bYrgCPOT3w /k4CFbIbTEk6vBz71G/1FFoAG9W01x4fiSClA9ILb49dRdQAGqbrw9Z7vUrTtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755730440; a=rsa-sha256; cv=none; b=W2WAqpgbHNDDKeR5zsoHUtf3mtlgwyoSwX36XaNvjUvSD0/d+niSuP3jaxVWGoqIDtBulY Cw7PQRF9GeLUGUkvq1DvtPj7i+3/hImBsyD/aZzHJfN8ZWhjpBaRt2tEh+hP2yZHIB2NCu kkw7xaoD77R7cXot+7XS1fJEINLz9V6dWtIkTuYz0h2S48EH+hLB/Ow0ucV666oYZOXmxI yy/Jp9R+DL5bfVb8NivI2DEFmMAX/4/sSo5Vlr2xXSY7LLwGYRWhmB5ldaLXwXKZt9gZ3I GwStFizM01y/p/Z2+Jappj8SANyV7V8Fzz1pW/RiraLpUrcpETlgRLorKwONoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4c6hZw0CcNzXp4 for ; Wed, 20 Aug 2025 22:54:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 57KMrxHe079746 for ; Wed, 20 Aug 2025 22:53:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57KMrx8T079745 for doc@FreeBSD.org; Wed, 20 Aug 2025 22:53:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 281811] carp documentation suggests /32 netmask, but man-page suggests same as host-interface Date: Wed, 20 Aug 2025 22:53:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pprocacci@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281811 pprocacci@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pprocacci@gmail.com --- Comment #1 from pprocacci@gmail.com --- I just submitted the same report without noticing this one first. Mine is https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288982 I'll ask for mine to be closed. carp(4) shows VIPs being added to interfaces w/ a mask of /24. The online documentation shows them as /32's. (https://docs-archive.freebsd.org/doc/14.3-RELEASE/usr/local/share/doc/free= bsd/en/books/handbook/advanced-networking/index.html#carp) Earlier documentation made the distinction for both cases: https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freeb= sd/en/books/handbook/carp.html What the heck is correct here? Is there a case for both scenarios? These scenarios should be detailed. For the record, I was using /32's without issue, but in my latest build sta= rted using whatever mask was associated with the network as per carp(4). Since doing so, the BACKUP carp instance has been sourcing from the VIP which is causing all sorts of trouble; the main one being return packets aren't retu= rned to me and instead being returned to the PRIMARY. This is expected as I'm considered a BACKUP. The unexpected part is that it's sourcing from the VI= P to start off with.=20=20 I'd wager this is a documentation error in carp(4), but without knowing the cases with anything other than a /32 is needed I can't say that for sure. --=20 You are receiving this mail because: You are on the CC list for the bug.=