SolusVM Series: SolusVM KVM Bridge Settings

SolusVM Series: SolusVM KVM Bridge Settings

Based on Centos 6 64-bit. Mainly set up IPv4.

1. Install components

 yum install bridge-utils

Enable IPv4 forwarding:

 vi /etc/sysctl.conf

Change net.ipv4.ip_forward = 0 to net.ipv4.ip_forward = 1

2. Check the network card information

 cd /etc/sysconfig/network-scripts ls

There will be two files, ifcfg-eth0 and ifcfg-eth1, which one displays the following content:

 DEVICE=eth0(也可能是eth1) HWADDR=0C:C4:7A:86:6E:28(mac地址,會有不同) TYPE=Ethernet UUID=f2850f85-b13a-496d-a5a0-5b6b09ceebb2(會有不同) ONBOOT=no NM_CONTROLLED=yes BOOTPROTO=dhcp

Assuming that the server's ifcfg-eth0 displays the above content, keep it without modification.
Then ifcfg-eth1 displays the static IP information, similar to the following:

 DEVICE=eth1 TYPE=Ethernet UUID=282b6cf5-6830-4fb4-8178-d49efbac056a ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=none HWADDR=0C:C4:7A:86:6E:03 IPADDR=23.228.76.162 NETMASK=255.255.255.248 PREFIX=29 GATEWAY=23.228.76.161 DNS1=8.8.8.8 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME="System eth1"

The following setup assumes a group of 5 IPs (/29):

 CIDR 23.228.76.160/29 Netmask 255.255.255.248 Gateway 23.228.76.161 Primary 23.228.76.162 Last Usable 23.228.76.166

3. Set up a bridge
a.

 vi ifcfg-br0

Paste the following content

 DEVICE=br0 TYPE=Bridge BOOTPROTO=static IPADDR=23.228.76.162 NETMASK=255.255.255.248 ONBOOT=yes GATEWAY=23.228.76.161

b.

 rm -rf ifcfg-eth1 vi ifcfg-eth1

Paste the following content

 DEVICE=eth1 ONBOOT=yes BRIDGE=br0

d. Restart the network

 service network restart

e. Check whether it is successful

 brctl show

 ifconfig

4. OVH IP settings
OVH's IP needs to be bound to the network card. Detailed tutorials: https://www.lowendtalk.com/discussion/32361/installing-configuring-kvm-on-ovh-with-solusvm, https://www.lowendtalk.com/discussion/36845/kvm-on-ovh-sys-using-recommended-configuration-with-virtualizor-solusvm

<<:  OVH E3-1245v5 32GB RAM SSD hard drive 500Mbps bandwidth UK dedicated server review

>>:  cbvps: Hong Kong HK3 restocking, Miami VPS 50% discount, NAT domain name binding function launched

Recommend

TerraHost: $24/month/i5-2400/8G memory/500GB hard drive/5TB traffic/Norway

TerraHost, a long-established Norwegian hosting p...

TragicServers: $5.94/year/128MB RAM/10GB storage/500GB bandwidth/OpenVZ

TragicServers, founded in 2012, has been introduc...

Chair Hosting: $3.8/month/2GB RAM/8GB SSD/1TB bandwidth/KVM/Dallas

Chair Hosting, an American hosting company, was f...

HostXNow:£2/month/5GB SSD/200GB bandwidth/unlimited domain names/Japan

HostXNow is a British hosting company founded in ...

TmhHost 512MB RAM 10Mbps Unlimited Bandwidth Los Angeles CN2 GIA KVM VPS Review

Details : TmhHost: 70 yuan/quarter/512MB memory/2...

LAUNCH VPS: $48/year/3GB RAM/30GB SSD space/3TB bandwidth/KVM/Los Angeles

LAUNCH VPS, a US hosting provider, provides kvm v...

StableHost registration and renewal discount code

StableHost first-time purchase discount code: Lon...

Ethernetserver 1.5GB memory OpenVZ Los Angeles simple evaluation

Ethernetserver's several special VPSs are rea...