On Sat, Nov 30, 2024 at 6:57 PM Andy Smith <a...@strugglers.net> wrote:
> On Sat, Nov 30, 2024 at 07:04:22PM +0000, Andy Smith wrote: > > Surely if you are using NetworkManager you would just do it with nmcli. > > I can't recite the incantations off the top of my head but I imagine > > that creating a new interface is pretty simple. > > My first web search led me to: > > $ sudo nmcli conn add \ > type dummy \ > ifname ospf-lo \ > ipv4.method manual \ > ipv4.address 10.0.0.1/32 \ > ipv6.method disable > Connection 'dummy-ospf-lo' (c21bdb21-375f-484b-9c7e-4d088c139fc3) > successfully added. > $ ip a sh dev ospf-lo > 6: ospf-lo: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state > UNKNOWN group default qlen 1000 > link/ether 42:39:23:bd:ab:e1 brd ff:ff:ff:ff:ff:ff > inet 10.0.0.1/32 scope global noprefixroute ospf-lo > valid_lft forever preferred_lft forever > Andy, thanks for the info. I decided to scrap NM and just use ifup. thanks Tim > Thanks, > Andy > > -- > https://bitfolk.com/ -- No-nonsense VPS hosting > > -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/ ⠈⠳⣄⠀⠀