vmware-esxi-virtual-mac

Configure OVH Bridge Network from command line

If you have a Proxmox or VmWare ESXi server on OVH network, you need to configure network interface once virtual machine is created.

First login to OVH, go to IP page. Find the IP address you need to assign to this new VM, create a Virtual MAC. OVH allow 2 type of MAC. If you are using Proxmox, use OVH Mac. For VMWare ESXi, use vmware vmac.

Once you have Virual Mac. you need to configure it in your VM network interface settings. For Vmware ESXi

Now login to Virtial Machine, run following commands

In above, replace

NETWORK_INTERFACE_HERE = name of your network interface. This can be found with command “ip link”. Normally it is eth0 or ensXXX.

FO_IP_HERE = this is the Failover IP you will be using for this Virtual Machine.

GW_IP_HERE = This is gateway IP. For OVH network, it will be your servers MAIN IP address with last number replaced with 254.

Here is an actial example.

This settings will be lost when you reboot OS. For configuring network interface permanantly, you can do

Install iperf3 on ArchLinux

To install iperf3 on ArchLinux, run

To do speed test

Here we do speed test with http://ping.online.net, they run iperf3 server on port 5209

ping: unknown host localhost

On a server, ping localhost did not work

/etc/hosts files was proper, had entry for localhost.

problem was due to /etc/nsswitch.conf file missing in the server. To fix create file

Add

Set permission for the file

Change Linux user shell

To change shell for a user, run

Example

I will add a user, if no shell specified, it use sh as shell.

You can find what shell you are using now with command

gonit golang replacement for monit

gonit is a replacent for monitoring software monit. monit was removed from Debian 10 due to security issues and the devloper will not provide a patch for the security vlunerabilty in time for Debian 10 release.

You can download gonit from

https://github.com/bitnami/gonit