Direct network between two servers in vRack?
... / Direct network between tw...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Direct network between two servers in vRack?

by
JanneK1
Created on 2018-10-09 10:58:51 (edited on 2024-09-04 14:25:18) in Dedicated Servers

I have two servers in vRack. I'm beginning to suspect I am not doing the network setup as it should be done. I have just copied and modified the /etc/network/interfaces since year 2012, when vRack was older version.

Now I have tried to create direct network between the two dedicated servers, after I noticed the connection seems to be bandwith limited to 500 Mbit/sek.. I tried this following instructions in
https://docs.ovh.com/gb/en/dedicated/configuring-vrack-on-dedicated-servers/

That guide does not mention vmbr. I'm running Proxmox on those dedicated servers, I believe I need vmbr for the virtual hosts. I have two IP address blocks in this vRack.

Here is my current /etc/network/interfaces, from two hosts.
Host rauta:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# for Routing
auto vmbr1
iface vmbr1 inet manual
post-up /etc/pve/kvm-networking.sh
bridge_ports dummy0
bridge_stp off
bridge_fd 0

# Pasi 2016-11-07
# vmbr0: vRack, Nettipertti-blokki, virtuaalikoneille interfeissiksi
auto vmbr0
iface vmbr0 inet static
address 58.36.42.196
netmask 255.255.255.0
network 58.36.42.0
broadcast 58.36.42.255
gateway 58.36.42.222
bridge_ports eth1
bridge_stp off
bridge_fd 0
# vRack, Antenniserveri-blokki
post-up /sbin/ip route add 34.42.245.64/26 dev vmbr0
post-up /sbin/ip route flush cache

# IPV6 vRackissa
iface vmbr0 inet6 static
address 1003:140d:1008:091a::
netmask 64
post-up /sbin/ip -f inet6 route add 1003:140d:1008:09ff:ff:ff:ff:ff dev vmbr0
post-up /sbin/ip -f inet6 route add default via 1003:140d:1008:09ff:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del default via 1003:140d:1008:09ff:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del 1003:140d:1008:09ff:ff:ff:ff:ff dev vmbr0


auto eth0
iface eth0 inet static
address 41.233.187.26
netmask 255.255.255.0
network 41.233.187.0
broadcast 41.233.187.255
gateway 41.233.187.254

#Interface vRackiin, tehdään IP:t toiseen rautakoneen suuntaan
auto eth1
iface eth1 inet static
address 192.168.19.26
netmask 255.255.255.0



The other host:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface enp103s0f0 inet manual

#Interface vRackiin, tehdään IP:t toiseen rautakoneen suuntaan
auto enp103s0f1
iface enp103s0f1 inet manual

#Ei toimi, koska enp103s0f1 on jo bridgessä
#auto vmbr5
#iface vmbr5 inet static
# address 192.168.19.115
# netmask 255.255.255.0
# bridge_ports enp103s0f1
# bridge_stp off
# bridge_fd 0



auto vmbr0
iface vmbr0 inet static
address 15.77.12.115/24
gateway 15.77.12.254
bridge_ports enp103s0f0
bridge_stp off
bridge_fd 0

# Taleman 2019-02-28
# Pohjana Pasin tekemä 2016-11-07
auto vmbr1
iface vmbr1 inet static
address 58.36.42.212
netmask 255.255.255.224
network 58.36.42.192
broadcast 58.36.42.223
gateway 58.36.42.222
bridge_ports enp103s0f1
bridge_stp off
bridge_fd 0
# vRack, Antenniserverin blokki
post-up /sbin/ip route add 34.42.245.64/26 dev vmbr0
post-up /sbin/ip route flush cache

# IPV6 vRackissa
iface vmbr0 inet6 static
address 1003:140d:1008:091a::
netmask 64
post-up /sbin/ip -f inet6 route add 1003:140d:1008:09ff:ff:ff:ff:ff dev vmbr0
post-up /sbin/ip -f inet6 route add default via 1003:140d:1008:09ff:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del default via 1003:140d:1008:09ff:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del 1003:140d:1008:09ff:ff:ff:ff:ff dev vmbr0


Replies are currently disabled for this question.