Date: Wed, 14 Jun 2023 09:29:21 +0100 From: Alexander Chernikov <melifaro@FreeBSD.org> To: Benoit Chesneau <benoitc@enki-multimedia.eu> Cc: "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org> Subject: Re: can't add a /24 blackhole route with a /32 loopback Message-ID: <4DF565CC-D8AE-4F35-A7CF-7ED5AAD27B49@FreeBSD.org> In-Reply-To: <9Jh8lSg93tjEc0-UEU3MQkGuQc7R9Aht0NBt4kEr6-wtgMdf673nws_jGaHelYwz0U78ik2BM4WLUca2JZAjrX-WSbP5QS4rsvoBHZo_JZo=@enki-multimedia.eu> References: <9Jh8lSg93tjEc0-UEU3MQkGuQc7R9Aht0NBt4kEr6-wtgMdf673nws_jGaHelYwz0U78ik2BM4WLUca2JZAjrX-WSbP5QS4rsvoBHZo_JZo=@enki-multimedia.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 14 Jun 2023, at 07:05, Benoit Chesneau <benoitc@enki-multimedia.eu> = 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DF565CC-D8AE-4F35-A7CF-7ED5AAD27B49>