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


Groups > linux.debian.user > #262933

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

From Mihamina RKTMB <mihamina@atscom.io>
Newsgroups linux.debian.user
Subject Debian installer refuses to setup IP address if gateway is no in the same subnet
Date 2023-10-30 23:00 +0100
Message-ID <HuIsF-1YBN-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi all,

I rent a dedicated server where I installed an hypervisor and purchased 
failover public IPv4 IPs routed to that server.

When configuring the Debian VMs to use those failover IPs, I have to

- set the address to /32: "ip addr add $IP/32 dev eth0"

- set the traffic to the gateway to go through the NIC: "ip route add 
$GW dev eth0"

- set the default route to go via the gateway: "ip route add default via 
$GW"

As I set the IP address to a /32, the gateway is not (never) in the 
subnet of the VM.

When using the Debian installer, at the networking setup, the installer 
refuses that setting: the gateway is not in the subnet of the set IP 
address.

The workaround I use is either to

- finish the installation without network and then at reboot, setup the 
network

- manually setup the network during installation in another console

But isn't there a way to make the Debian installer accept that the 
gateway is not in the subnet of the set IP address?

Regards

Back to linux.debian.user | Previous | Next — 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