Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Questions about KVM routing

ct_txct_tx Member
edited November 2014 in Help

Hello,

I am running a Solus VM slave setup to serve KVM containers. The server currently has 5 IP addresses allocated to it (say 192.168.1.1-192.168.1.5 with a gateway of 192.168.1.1). I requested more IP addresses from my provider and I was allocated a range in a different subnet (say 10.0.0.1 to 10.0.0.10 with a gateway of 10.0.0.1). When I initially setup the machine, I configured a bridge br0 linked to eth0 and configured to work with my 192.xxx subnet. My questions is: how do I use the new set of IP addresses (i.e. 10.xxx subnet) that were allocated to me? Is it even possible?

Here is a copy of my ifcfg-br0 (with original IP addresses replaced with 192..)

DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
IPADDR=192.168.1.2 # this machine
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes

The question is - is there a way to incorporate the new subnet (10.0.0.X) to this so it works with Solus?

Thanks very much!

Comments

  • Also, does OpenVZ generally play better with such circumstances?

  • Depending on who the provider is and how the IPs are setup.

    But you should be able to add the IPs to an alias on br0 eg br0:0

  • once your provider route the subnet to your server, you only need to add IP's to solusvm :D no need to change br0 :D

  • As MarkTuner said, it depends on how provider routed those.

    At GVH (ColoCrossing) here are my configurations files :

    # cat /etc/sysconfig/network-scripts/ifcfg-br0

    DEVICE=br0

    TYPE=Bridge

    BOOTPROTO=static

    DNS1=8.8.8.8

    IPADDR=108...194

    GATEWAY=108...193

    NETMASK=255.255.255.240

    ONBOOT=yes



    # cat /etc/sysconfig/network-scripts/ifcfg-br0:0

    DEVICE=br0

    TYPE=Bridge

    BOOTPROTO=static

    DNS1=8.8.8.8

    IPADDR=72...74

    GATEWAY=72...73

    NETMASK=255.255.255.248

    ONBOOT=yes

  • Thank you all for those helpful tips. I was able to get it working as you all suggested by simply adding a bridge alias. Sady - your snippets were most useful. Mark - thanks once again for your help with everything. I really appreciate the service you all do on this forum.

Sign In or Register to comment.