Knowledgebase

Categories

Categories

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.

Node

Gateway

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)

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

Save and restart!

Debian (Ubuntu, Crunchbang, SteamOS and other derivatives)

Assuming that your interface is eth0, add the following to the bottom of/etc/network/interfaces.