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


Groups > linux.debian.user > #262958

Re: Debian installer refuses to setup IP address if gateway is no in the same subnet

From "Marco M." <mm@dorfdsl.de>
Newsgroups linux.debian.user
Subject Re: Debian installer refuses to setup IP address if gateway is no in the same subnet
Date 2023-10-31 11:20 +0100
Message-ID <HuU0N-26ct-11@gated-at.bofh.it> (permalink)
References <HuIsF-1YBN-5@gated-at.bofh.it> <HuICq-1YUa-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am 30.10.2023 um 18:07:20 Uhr schrieb Jeffrey Walton:

> It should not matter, if I recall correctly. Anything the machine does
> not know how to route goes out on the default interface. That should
> be the 0.0.0.0 entry in the routing table.

Although, that entry must be there and the via IP must be on the same
ethernet link.
When adding the address 10.0.0.45/24, 10.0.0.0/24 will show up in the
routing table as directly connected. A route 0.0.0.0/0 via 10.0.0.1 can
be used. If you configure 0.0.0.0/0 via 172.16.0.1, then it will not
know on which NIC that is.
That might be the reason for that failure, as that case is uncommon in
most networks.

> Maybe you need to help the installer along, and set the default route
> for the machine? Perhaps using an alternate virtual terminal, like
> FN+F5. I believe the command is `route add default gw {IP-ADDRESS}
> {INTERFACE-NAME}`.

sudo ip route add <GW-IP> dev <if>
sudo ip route add 0.0.0.0/0 via <GW-IP>

should work fine.
net-tolls is not installed by default, so command "route" is not
available.

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


Thread

Debian installer refuses to setup IP address if gateway is no in the  same subnet Mihamina RKTMB <mihamina@atscom.io> - 2023-10-30 23:00 +0100
  Re: Debian installer refuses to setup IP address if gateway is no in  the same subnet Jeffrey Walton <noloader@gmail.com> - 2023-10-30 23:10 +0100
    Re: Debian installer refuses to setup IP address if gateway is no  in the same subnet "Marco M." <mm@dorfdsl.de> - 2023-10-31 11:20 +0100
      Re: Debian installer refuses to setup IP address if gateway is no in  the same subnet Reco <recoverym4n@enotuniq.net> - 2023-10-31 15:10 +0100
  Re: Debian installer refuses to setup IP address if gateway is no in  the same subnet Dan Ritter <dsr@randomstring.org> - 2023-10-30 23:40 +0100
    Re: Debian installer refuses to setup IP address if gateway is no in  the same subnet Mihamina RKTMB <mihamina@atscom.io> - 2023-10-31 14:20 +0100
      Re: Debian installer refuses to setup IP address if gateway is no in  the same subnet Dan Ritter <dsr@randomstring.org> - 2023-10-31 15:10 +0100
        Re: Debian installer refuses to setup IP address if gateway is no in  the same subnet Mihamina RKTMB <mihamina@atscom.io> - 2023-10-31 15:40 +0100
  Re: Debian installer refuses to setup IP address if gateway is no in  the same subnet Henning Follmann <hfollmann@itcfollmann.com> - 2023-10-31 13:40 +0100
    Re: Debian installer refuses to setup IP address if gateway is no  in the same subnet "Marco M." <mm@dorfdsl.de> - 2023-10-31 14:20 +0100
    Re: Debian installer refuses to setup IP address if gateway is no in  the same subnet Mihamina RKTMB <mihamina@atscom.io> - 2023-10-31 15:00 +0100
      Re: Debian installer refuses to setup IP address if gateway is no in  the same subnet Henning Follmann <hfollmann@itcfollmann.com> - 2023-10-31 16:10 +0100

csiph-web