KVM IPv4 Networking Setup

IPv4
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.
NodeGateway
CA-VPS6 158.69.116.254
CA-VPS7 158.69.127.254
Warning: Netmask is always 255.255.255.255!
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 Network Optimization

If your network connection is limited to 100Mbps, your Network Card configuration in SolusVM is...

KVM Disk I/O Optimization

The most important setting in order to get the most out of your VPS, is to use the virtio driver...

KVM Official ISO Availability

CentOS 5.9 i386 Netinstall CentOS 5.9 x86_64 Netinstall CentOS 6.4 i386 Netinstall CentOS...

KVM Premade OS Template 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....