News
Seven days of Black Friday madness — great deal from Serverspace!

THE NEW YEAR
WHEEL OF FORTUNE

Spin the wheel and win a guaranteed prize right now!

By registering, you are signing up to receiving emails.
VB
September 11 2022
Updated December 11 2024

How to create private LAN via Serverspace client area

Control panel FAQ Networks VPS

What is own LAN advantages

If you have more than one server in your project, these servers could be linked onto one local network. Main advantages of this way is:

  • You can isolate some servers from the Internet, it should improve security;
  • Dedicated LAN allows you separate public traffic from your project to the clients and "technical" traffic between servers. It will improve your project response time;
  • You can make hosts in your local network "visible" to each other like in the office. It could be useful if your business has much "remote" employees.

Steps to create isolated servers and LAN via Serverspace control panel

To create servers and connect these to the isolated network please do follow:

  • Login to the clent area, go to VMWare Cloud > Servers tab and click to the Create button:

pic1

  • Choose the first server options and click to the Create button:

pic4

pic5

  • Create other servers by the same way. Make sure all your servers are located in the same location. As a result you should look something like this:

pic6

Local area network creation

To create your own LAN follow this steps:

  • Click to VMWare Cloud > Networks > Add Network button:

pic7

  • Choose network type, location and desired bandwidth. The easiest way is routed network, without dedicated gateway node. Location should be the same with your servers:

pic8

Assign private IP address to the server

To connect your server to the LAN you created, you should add the second private interface as described:

  • Go to your servers list, click to the desired server name, settings  tab, then add new interface and choose previously created LAN:

pic9

pic10

Remember seeing "private" LAN settings and interface MAC address:

pic11

  • Next step you should modify server configuration file to add network settings. It is depends of server operation system, I will describe this step in Ubuntu.
  • Connect to the server via public IP, then run one command to know private interface name, remember it:
ip link show

pic12

  • Edit file /etc/netplan/99-netcfg-vmware.yaml via nano editor, add second IP settings in accordance to remembered info:

ens224:
dhcp4: no
dhcp6: no
addresses:
- 10.0.0.6/24
gateway4: 10.0.0.1
nameservers:
addresses:
- 8.8.8.8

pic12

  • To apply settings run command:
netplan apply
  • Then just check private gateway accessibility:
ping <LAN_gateway_IP>

pic14

P.S. If you don't want to edit configuration files manually, you can rebuild server operation system via client area panel.

Isolate server from the internet

If you need to isolate server from the internet, you can follow this way:

  • Assign private interface as described previously;
  • Go to server settings page and add firewall rule to block all incoming traffic via public interface;

pic16

  • To restart network firewall and apply settings click Save button ant wait a little.

pic17

Conclusion

In this article we knew how to build your own private network via Serverspace control panel.

Vote:
4 out of 5
Аverage rating : 4.9
Rated by: 25
1101 CT Amsterdam The Netherlands, Herikerbergweg 292
+31 20 262-58-98
700 300
ITGLOBAL.COM NL
700 300
We use cookies to make your experience on the Serverspace better. By continuing to browse our website, you agree to our
Use of Cookies and Privacy Policy.