Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275035

Re: How to create a persistent loopback address

From Timothy M Butterworth <timothy.m.butterworth@gmail.com>
Newsgroups linux.debian.user
Subject Re: How to create a persistent loopback address
Date 2024-11-30 19:50 +0100
Message-ID <JOAHv-cOR4-7@gated-at.bofh.it> (permalink)
References <JOq5r-cHKq-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Nov 30, 2024 at 2:22 AM Timothy M Butterworth <
timothy.m.butterworth@gmail.com> wrote:

> Hello,
>
> I created a loopback interface with the following commands:
>
> sudo ip link add name ospf-lo type dummy
> sudo ip link set ospf-lo up
> sudo ip addr add 10.0.0.1/32 dev ospf-lo
>
> How do I make this interface persistent? I am on Debian Trixie and using
> NetworkManager.
>

I tried the following but no success.

sudo touch /etc/network/interfaces.d/ospf.cf
sudo vim /etc/network/interfaces.d/ospf.cf

auto ospf

iface ospf inet static
  address 10.0.0.1
  netmask 255.255.255.255

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to create a persistent loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-11-30 08:30 +0100
  Re: How to create a persistent loopback address john doe <johndoe65534@mail.com> - 2024-11-30 14:10 +0100
  Re: How to create a persistent loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-11-30 19:50 +0100
    Re: How to create a persistent loopback address Andy Smith <andy@strugglers.net> - 2024-11-30 20:10 +0100
      Re: How to create a persistent loopback address john doe <johndoe65534@mail.com> - 2024-11-30 20:20 +0100
        Re: How to create a persistent loopback address john doe <johndoe65534@mail.com> - 2024-11-30 20:30 +0100
          Re: How to create a persistent loopback address Andy Smith <andy@strugglers.net> - 2024-11-30 20:40 +0100
            Re: How to create a persistent loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-01 02:20 +0100
      Re: How to create a persistent loopback address Andy Smith <andy@strugglers.net> - 2024-11-30 20:20 +0100
        Re: How to create a persistent loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-01 01:10 +0100
    Re: How to create a persistent loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-11-30 20:20 +0100
      Re: How to create a persistent loopback address Andy Smith <andy@strugglers.net> - 2024-11-30 20:20 +0100

csiph-web