Hi Radek,

it is better practice to add ospf network statements  to ospfd.conf
(if you dont want to send / recieve ospf messages on an interface set the
interface to passive in ospfd.conf
avoid redistribute connected
(add the network you want to be added to your ospf network) and leave the
other network ommitted from your ospfd.conf


I hope this helps,


On Sat, 4 Feb 2023 at 20:02, 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
>
>

-- 
Kindest regards,
Tom Smyth.

Reply via email to