If you have purchased an additional IP address for your VPS from Foxnett, our technical team will assign the IP address to your server from the infrastructure panel.
However, the IP address must still be configured inside your server's operating system before it can be used.
This guide explains how to configure your additional IP address.
Step 1 — Confirm Your IP Details
Once the IP is assigned, you will receive the following details from Foxnett.
Example:
Additional IP: 123.123.123.123
Subnet Mask: 255.255.255.0
Gateway: Same as your main server gateway
Network Interface: eth0
If you have not received these details, please contact Foxnett support.
Step 2 — Connect to Your VPS
Connect to your server using SSH.
ssh root@YOUR_SERVER_IP
Example:
ssh root@185.xxx.xxx.xxx
Step 3 — Identify Your Network Interface
Run the following command:
ip a
Most servers will use one of the following interfaces:
eth0
or
ens18
Make note of the interface name.
Step 4 — Add the Additional IP Address
Run the following command to add the new IP.
ip addr add YOUR_NEW_IP/24 dev eth0
Example:
ip addr add 123.123.123.123/24 dev eth0
Then verify the IP has been added:
ip a
Step 5 — Make the IP Address Permanent (Ubuntu / Debian)
Edit the network configuration file.
nano /etc/netplan/01-netcfg.yaml
Example configuration:
network:
version: 2
ethernets:
eth0:
addresses:
- MAIN_IP/24
- ADDITIONAL_IP/24
gateway4: MAIN_GATEWAY
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
Apply the changes:
netplan apply
Step 6 — Verify the IP Address
Check your IP configuration:
ip a
You can also test connectivity:
ping -c 4 google.com
Important Notes
-
Additional IP addresses must be configured manually inside the server.
-
Foxnett assigns the IP address to your VPS, but server configuration is managed by the client.
-
Incorrect configuration may cause network issues.
Need Assistance?
If you need help configuring your IP address, our support team is available.
Foxnett Support
Website: https://foxnett.com
Email: support@foxnett.com
WhatsApp: +977 9764827827