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


Groups > linux.debian.user > #275070

Re: Debian Server Routing OSPF on two links and one loopback address

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: Debian Server Routing OSPF on two links and one loopback address
Date 2024-12-01 01:20 +0100
Message-ID <JOFQR-cSc2-1@gated-at.bofh.it> (permalink)
References <JOFnP-cRMU-5@gated-at.bofh.it> <JOFxv-cRQ1-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

Debian Server Routing OSPF on two links and one loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-01 00:50 +0100
  Re: Debian Server Routing OSPF on two links and one loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-01 01:00 +0100
    Re: Debian Server Routing OSPF on two links and one loopback address Andy Smith <andy@strugglers.net> - 2024-12-01 01:20 +0100
      Re: Debian Server Routing OSPF on two links and one loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-01 09:30 +0100
  Re: Debian Server Routing OSPF on two links and one loopback address Andy Smith <andy@strugglers.net> - 2024-12-01 01:10 +0100
    Re: Debian Server Routing OSPF on two links and one loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-01 09:30 +0100
  Re: Debian Server Routing OSPF on two links and one loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-01 01:40 +0100
    Re: Debian Server Routing OSPF on two links and one loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-01 02:10 +0100
      Re: Debian Server Routing OSPF on two links and one loopback address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-01 03:10 +0100

csiph-web