From nobody Wed Jun 14 08:29:21 2023 X-Original-To: freebsd-net@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 4Qgz9n3Yqfz4cyL0 for ; Wed, 14 Jun 2023 08:29:33 +0000 (UTC) (envelope-from melifaro@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qgz9n31ZXz3NVn; Wed, 14 Jun 2023 08:29:33 +0000 (UTC) (envelope-from melifaro@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686731373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jt5m3uwFc6Q17SarndW2wUyqm1ThZ/1KLp8FWvAjUJk=; b=t4NXk4oY7BTMI+YITIjFz0RCONo8C9tJbFV4nY/lknd1FMn8VazuLcjA5A0U9sjR3JjeWm v6OTPCcQAFs4xIVCm7CGo6UcWIz85PipgWYSiOoiWDEIefzVLf8tWPx+IESyRHSQm+FBrF LoTevskQuijbZ8T2Zfjewd1gUS4Wm7hzGzrWJTIFVp6c1ZyBHFJQLz7nVJy4Jg8qtgKYje Z+IdmgOpR18qyRFHrq3V1LCc7MHSVHjn1GLt8wD6kyFHXtirQLa5sGcD5K6TSnmtrUQz95 07hsiF1EJmpUN3LZsasBAkQxYeHJ3F+waW2UVYFkRAJjUECyCY0dt3ed50615w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686731373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jt5m3uwFc6Q17SarndW2wUyqm1ThZ/1KLp8FWvAjUJk=; b=v1eBOBb5UJ4rVqKEOjEAcdKoiA6Tasd2DpppRaiRPIgbimpEKB7jm4rLJooGUpE4iErWLY pUwm/u/VQ8+wHkWQ14YYeP9i3BQFVvY53z4RY4K/rpJz3wI8YXAdT4RHgtR8vS+fmWGUvX w4hDWuavnnAdrb6kPJav/6V6RBd0xe/RbUXsZmO3W7gd6Pqz+dytDaAvBkvCzHChj4zgwh DKjGAMeJnZ4/cTc5xvvEWMGa3PY8WFhiOYfA6bO9kqvjx64duRe10GIaMLmid5WkclRzaP H4CUN8/LutCSDlGrEsRPz+sLQRwzd13aqMI+50QwHskXOWRonOWEeN9dkdDv4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686731373; a=rsa-sha256; cv=none; b=eMg/UbJmNx95EvYpmHKyOYKJSmSNYF2QDYa6OIOtEgucpUHMWu9ksKe2DO76HgN6+ACBMZ txyIJfHnkmP9L2cLABfjZb1A4n9oamd7h5syQSvIUoF4FXU0p2guWtFZHgvZWfgHU08Zp6 5QynpqBf+GfathdQwE3cb5U0fXe2WhHPssoVM3AdrgLxQCz+E3N+fr0ZZO0KM82VVf5qeQ m8kGY8IfUSeKR7MH1qnvHWnkMa+SVMeFlJhepj+wT05DCKda8mNMkEBGFmklcLZ78YuxGe IhXFcjiwSnButiS7uYQv/KW/XcJ7b4S2jRWRvqt/FTK/i3ow+JDaeKuMQAWJ9w== Received: from smtpclient.apple (unknown [IPv6:2a02:8084:d6bb:510:c042:b45f:635f:2eb0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: melifaro/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qgz9m71zRzGpf; Wed, 14 Jun 2023 08:29:32 +0000 (UTC) (envelope-from melifaro@freebsd.org) Content-Type: text/plain; charset=utf-8 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: can't add a /24 blackhole route with a /32 loopback From: Alexander Chernikov In-Reply-To: <9Jh8lSg93tjEc0-UEU3MQkGuQc7R9Aht0NBt4kEr6-wtgMdf673nws_jGaHelYwz0U78ik2BM4WLUca2JZAjrX-WSbP5QS4rsvoBHZo_JZo=@enki-multimedia.eu> Date: Wed, 14 Jun 2023 09:29:21 +0100 Cc: "freebsd-net@FreeBSD.org" Content-Transfer-Encoding: quoted-printable Message-Id: <4DF565CC-D8AE-4F35-A7CF-7ED5AAD27B49@FreeBSD.org> References: <9Jh8lSg93tjEc0-UEU3MQkGuQc7R9Aht0NBt4kEr6-wtgMdf673nws_jGaHelYwz0U78ik2BM4WLUca2JZAjrX-WSbP5QS4rsvoBHZo_JZo=@enki-multimedia.eu> To: Benoit Chesneau X-Mailer: Apple Mail (2.3731.600.7) X-ThisMailContainsUnwantedMimeParts: N > On 14 Jun 2023, at 07:05, Benoit Chesneau = wrote: >=20 > Hi, >=20 > When I setup a loopback to a /32 , I can add a /24 as a blackhole = route anymore. I can only create a /24 attached to this looopback. Ie. Could you add a bit more context? What is the FreeBSD version (uname -srm)? What does 'route add 1.1.1.0/24 -blackhole=E2=80=99 show? Could you also share netstat -4rnW and ifconfig output (maybe = privately)? >=20 > when `lo1` is set to `1.1.1.1/32` I cant create a blackhole route to = `1.1.1.0/24` using the command : ` route add 1.1.1.0/24 -blackhole` . Is = there any reason for it? The idea is to be able to advertise the prefix = `1.1.1.0/24` via BGP (bird) and use 1.1.1.1/32` as a loopback = distributed to other nodes using OSPF. I can probably make the loopback = a /24 used by bird but what would be the other way to do it? >=20 > Beno=C3=AEt >=20