In this tutorial, we are going to teach you how to give an IP to Microtek with a command (console) to you AriaServer companions .
MikroTik is a server based on the Linux kernel that can be installed and serviced on a regular computer in a completely stable way.
How to give IP to Mikrotik with the command:
To ip the Mikrotik server, you must first reset to raw mode via the server console.
To do this, enter the following command and at the end Y and then enter:
After the server comes up, we enter the server with the admin user without a password. To set the IP, we do the following steps:
ip address add address=192.168.1.2 netmask=255.255.255.0 network=192.168.1.1 interface=ether1
Here, instead of 192.168.1.2 IP server, instead of 192.168.1.1, we use the gateway server address and instead of ether1, we use the tab click to automatically detect the network card and then press enter.
After executing the above command, we run the following command:
ip route add gateway=192.168.1.1
Here, instead of 192.168.1.1, enter the gateway address of the server and press enter.
If you have done the above steps correctly, your server will have internet.
Internet ping test:
Then click etner and if it pings, you can connect to the server through Winbox software.
IP in Germany (Hatzner) and France (OVH):
Tip 1: For French IP servers, first set the MAC address in the virtual machine settings and then turn on the server for IP.
Tip 2: When setting the IP address, gateway and subnet, pay attention to the specifications of the IP sent by the data center
Tip 3: In data centers such as Hatzner, which requires a router to use the server, set the network card on the router in the virtual machine settings, and then turn on the server for IP.