Re: Debian Server Routing OSPF on two links and one loopback address
- To: debian-user@lists.debian.org
- Subject: Re: Debian Server Routing OSPF on two links and one loopback address
- From: Andy Smith <andy@strugglers.net>
- Date: Sun, 1 Dec 2024 00:10:19 +0000
- Message-id: <[🔎] Z0upa+iKVvGIqbPP@mail.bitfolk.com>
- In-reply-to: <CAO6YxPxdihVVFgCBLPRCLh2febUr6OySYzd9_=76LHoCz9DdCA@mail.gmail.com>
- References: <CAO6YxPyOm+=gFTkgBEW0NHwonJSF89vcjU4SWHM8Lk15Rs8RAw@mail.gmail.com> <CAO6YxPxdihVVFgCBLPRCLh2febUr6OySYzd9_=76LHoCz9DdCA@mail.gmail.com>
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
See "man interfaces". "The static method"
Thanks,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
Reply to: