On Sat, Nov 30, 2024 at 11:57 PM Andy Smith <a...@strugglers.net> wrote:

> Hi,
>
> On Sat, Nov 30, 2024 at 06:54:10PM -0500, Timothy M Butterworth wrote:
> > I changed the default gateway config to:
> > ### Configure Static IP addresses and default gateway's.
> > auto eth0
> > iface eth0 inet static
> >   address 10.1.1.2/30
> >   up route add -net default gw 10.1.1.1 metric 1024 dev eth0
>
> In native ifupdown syntax:
>
> auto eth0
> iface eth0 inet static
>   address 10.1.1.2/30
>   gateway 10.1.1.1
>   metric 1024
>

Thanks for the info.

See "man interfaces". "The static method"
>
> Thanks,
> Andy
>
> --
> https://bitfolk.com/ -- No-nonsense VPS hosting
>
>

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

Reply via email to