KVM IPv4 Networking Setup

Internet Protocol version 4 (IPv4) is the fourth version in the development of the Internet Protocol (IP). It is one of the core protocols of standards-based internetworking methods in the Internet, and was the first version deployed for production in the ARPANET in 1983.

Every virtual server comes with atleast 1 IPv4 address.
ATTENTION: Please use the reconfigure networking function in SolusVM to configure your IPv4 networking on 99% of operating systems.
Warning: Netmask is always!
Automatic Instructions
In a terminal as root run the following:
  • route add GATEWAYIP dev eth0
  • route add default gw GATEWAYIP
Manual Instructions
Redhat (CentOS, Scientific Linux, ClearOS and other derivatives)
    1. Assuming that your interface is eth0, create /etc/sysconfig/network-scripts/route-eth0 and it should look like the following.
GATEWAYIP dev eth0
default via GATEWAYIP dev eth0
  1. Save and restart!
Debian (Ubuntu, Crunchbang, SteamOS and other derivatives)
    1. Assuming that your interface is eth0, add the following to the bottom of/etc/network/interfaces.
post-up route add GATEWAYIP dev eth0
post-up route add default gw GATEWAYIP
post-down route del GATEWAYIP dev eth0
post-down route del default gw GATEWAYIP
  1. Comment (#) out the Gateway line in the eth0 clause.
  2. Save and restart!
  • Email, SSL
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

KVM Premade OS Template Availability

All templates should configure your network connection automatically, if you have any problems...

KVM ISO Installation Notes

These notes may help you in your quest to install from an ISO! Option 1 Install from...

KVM Official ISO Installation

Self Managed KVM VPS customers have the ability to install premade OS templates on their VPS....

KVM Swap Missing?

SolusVM has a bug that does not allows templates installation to setup swap partition correctly....

KVM IPv6 Networking Setup

IPv6 Internet Protocol version 6 (IPv6) is the latest version of the Internet Protocol...