Creating Network Bridge for SolusVM Dedicated Server

How to create a network bridge for SolusVM Dedicated Server

Step one: Create br0

vi /etc/sysconfig/network-scripts/ifcfg-br0

What to enter into br0

DEVICE=br0

TYPE=Bridge

BOOTPROTO=static

HWADDR=00:27:0E:09:0C:B2

BROADCAST=69.162.112.119

IPADDR=69.162.112.118

IPV6INIT=yes

IPV6_AUTOCONF=yes

NETMASK=255.255.255.252

NETWORK=69.162.112.116

GATEWAY=69.162.112.117

ONBOOT=yes

How to calculate IPs

If your primary IP Address for the server is 69.162.112.118,

Gateway is 69.162.112.117 - This IP will typically be the IP directly preceding the first usable IP Address

Broadcast is 69.162.112.119 - This IP is typically directly after the last usable IP

Network is 69.162.112.116 - This IP is typically right before your Gateway

Netmask is 255.255.255.252 - This is determined by which size subnet I have (This is a /30)

Step Two: Modifying main network device

There should be one that has the most traffic going through it. 
The standard is usually eth0, which is what we'll be using.

Editing eth0

vi etc/sysconfig/network-scripts/ifcfg-eth0 (Replace eth0 if you have a different network adapter name)

How it should appear:

DEVICE=eth0

BOOTPROTO=static

BROADCAST=69.162.112.119

IPADDR=69.162.112.118

NETMASK=255.255.255.252

NETWORK=69.162.112.116

GATEWAY=69.162.112.117

ONBOOT=yes

Remove the Broadcast, Network, Netmask, and the IP Address

Add BRIDGE=br0

It shold now look like:

DEVICE=eth0

BOOTPROTO=static

HWADDR=00:27:0E:09:0C:B2

IPADDR=69.162.112.118

IPV6INIT=yes

IPV6_AUTOCONF=yes

ONBOOT=yes

BRIDGE=br0

Step Three: Restart Network

Service Network Restart

You have successfully created the SolusVM Network Bridge

Was this answer helpful?

 Print this Article

Also Read

Install WGET on CentOS VPS or Dedicated Server

This article describes the process of installing wget on a new installation of CentOS Installing...

Install WGET on CentOS VPS or Dedicated Server

This article describes the process of installing wget on a new installation of CentOS Installing...

Installing Webuzo on CentOS 7 Dedicated Server

Install Webuzo on CentOS 7 Ensure your system is up-to-date yum -y update Install Webuzo...

Removing cPanel Accounts with /scripts/removeacct Script

The /usr/local/cpanel/scripts/removeacct script terminates cPanel accounts from the command line....

Removing cPanel Accounts with /scripts/removeacct Script

The /usr/local/cpanel/scripts/removeacct script terminates cPanel accounts from the command line....