Hello Radek,

Rather than using “redistribute connected” use “redistribute <prefix>”

ospfd.conf
 redistribute 10.1.111.20/32
 redistribute 10.1.111.16/30

Greetings,

   Diederik

Sent from my iPhone

> On 4 Feb 2023, at 20:55, Radek <r...@int.pl> wrote:
> 
> Hello,
> is it possible to announce over OSPF only one (or a few specific) IP address 
> instead of the whole subnet?
> If yes.. an ospfd.conf example would be appreciated.
> 
> $ cat /etc/hostname.vr3
> inet 10.1.111.1 255.255.255.0
> 
> $ cat /etc/ospfd.conf
> router-id 10.109.3.15
> redistribute connected
> 
> area 0.0.0.0 {
>        interface vr0
>        interface vr3
> }
> 
> Thanks, 
> Radek
> 

Reply via email to