On Sat, Nov 30, 2024 at 11:22 PM Andy Smith <a...@strugglers.net> wrote:
> Hi, > > On Sat, Nov 30, 2024 at 06:46:20PM -0500, Timothy M Butterworth wrote: > > I have been working out how to have my server setup with OSPF routing. > > I have no operational experience of OSPF nor FRR. I do what you're doing > but with BIRD, BGP and ECMP. I think you'll probably need to ask > questions on some FRR support forum as this is likely beyond most of us > on debian-user. > > Some comments though: > > > Can anyone think of anything I might have missed? > > > > ### Create and configure the dummy interface > > > > sudo touch /etc/network/interfaces.d/ospf.cfg > > sudo vim /etc/network/interfaces.d/ospf.cfg > > In an earlier post you said you use NetworkManager but you continue to > use ifupdown config files. Did you in fact mean to say that you are > using ifupdown? > > That won't be an issue - I use ifupdown myself in the place I do > BGP/ECMP. But you'll want to be clear when asking for help. > > > ### Add Default Gateway routes > > route add -net default gw 10.1.1.1 metric 1024 dev eth0 > > route add -net default gw 10.1.1.5 metric 1024 dev eth1 > > > > # NOTE: I am not sure if the above commands will be persistent. > > They won't. Why aren't they in the same ifupdown interfaces file as the > place you defined the interface, so they get added/removed when the > interface is brought up/down? > > > ### sysctl.d config file > > sudo touch /etc/sysctl.d/ipforward > > sudo vim /etc/sysctl.d/ipforward > > net.ipv4.ip_forward = 1 > > Files in /etc/sysctl.d need to have an extension of .conf as per > /etc/sysctl.d/README.sysctl and "man sysctl.d". Your file above is not > going to be acted upon. > > If things don't work out with FRR I'd say try BIRD. Its support mailing > list is reasonably active. > The frr part of the configuration is easy. The syntax is just like Cisco. I already tested it and my neighbor adjacencies come right up. > > Thanks, > Andy > > -- > https://bitfolk.com/ -- No-nonsense VPS hosting > > -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/ ⠈⠳⣄⠀⠀