LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-20-2022, 03:25 PM   #1
dgrande
LQ Newbie
 
Registered: Nov 2022
Posts: 1

Rep: Reputation: 0
VPS with debian 11, with several additional public ips


Hello,
I have contracted a VPS with debian 11, with several additional public ips.
I have followed different tutorials to configure the additional ips, but I can't see them through the internet.

###############################################
source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth9999
iface eth9999 inet static
address 100.100.100.100/24
gateway 100.100.100.1
dns-nameservers 8.8.8.8 8.8.4.4
dns-search dnssearch.com

###############################################

I have added the following lines:

###############################################
auto eth9999:0
iface eth9999:0 inet static
address 200.200.200.200
###############################################

I have tried other configurations from different internet tutorials and I can't see the ips through the internet. the provider has told me that he has linked them to my vps.

Something I'm leaving out... I would appreciate your help
 
Old 11-27-2022, 11:56 PM   #2
pingu_penguin
Member
 
Registered: Aug 2004
Location: pune
Distribution: Slackware
Posts: 351

Rep: Reputation: 60
if you have curl installed , try :
# curl ifconfig.me

compare that output with ifconfig output on your server.


I don't know if address/cidr can be given in the config file, but I think you are missing the netmask in VLSI
add :
address x.x.x.x
netmask 255.255.255.0
gateway x.x.x.1
etc

Also check your firewall rules.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure the additional IPs on a dedicated server? ashl3y_ Linux - Server 4 05-04-2013 05:52 AM
Getting things straight: Apache, SSL, Multiple External IPs / Internal IPs robin.com.au Linux - Server 21 10-13-2007 11:39 PM
Gentoo after adding additional IPS SSH broke! renegadeavenger Linux - Distributions 5 02-05-2007 05:37 PM
how to define a specific range of IPs and/or multiple IPs in an iptables rule?... TheHellsMaster Linux - Security 9 09-20-2004 10:06 AM
eth0:9 incorrect IPs ,and eth0 not IPs WannaLearnLinux Linux - Networking 10 10-26-2003 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration