Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Adding a new public IP address to a virtual private server

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
drkirkby
Posts: 7
Joined: 2018-06-17 23:24

Adding a new public IP address to a virtual private server

#1 Post by drkirkby »

I have a virtual private server (VPS) that I pay money for each month. I have no idea of the hardware it actually runs on, but the operating system is Debian 9.
I want to add a second IP address, which I have paid for (109.228.59.169). The "default" IP is 109.228.58.153.

I'm a bit puzzled how to do this. I believe /etc/network/interfaces is probably relevant. The contents of that are:

root@localhost:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug ens192
iface ens192 inet dhcp
root@localhost:~#

There's nothing in the directory /etc/network/interfaces.d, so the "source" above is not doing anything.

Dave

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: Adding a new public IP address to a virtual private serv

#2 Post by None1975 »

Hello, Dave. You can check this.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

Post Reply