Network Configuration in openSuse

Mean Servers has written this knowledgebase article for those wishing to use our openSuse operating system template. Since SolusVM does not configure the network settings automatically, you need to set them manually. This is a limitation of the SolusVM control panel and since it is a low priority for them, we doubt it will be fixed anytime soon. Luckily, getting openSuse working is fairly simple. If you installed openSuse from an ISO, your network should be working already without issue, this knowledgebase article applies to the template version only.

Prerequisites:

-Your main IP address
-Gateway IP address (usually your IP address ending with .1, contact Mean Servers if this doesn't work or if you have a private vlan)
-Root password
-VNC software to connect or use the VNC web based terminal via our SolusVM control panel
-openSuse 12.2 (may work on other versions, only tested on this one specifically)

1.) Install openSuse, if you selected openSuse during the order process, the operating system has already been installed.

2.) Connect via VNC, there are many ways to accomplish this, the easiest is accessing the Java based VNC viewer in our SolusVM control panel. You can also use one installed on your local machine, the VNC connection information is located in your welcome email.

3.) Login as root

4.) Edit the ifcfg-eth0 file located at /etc/sysconfig/network/ifcfg-eth0 (we recommend using vim to edit files, but other programs exist as well)

5.) Change BOOTPROTO='dhcp' to BOOTPROTO='static'

6.) Change IPADDR='' to IPADDR='xxx.xxx.xxx.xxx' replacing xxx.xxx.xxx.xxx with the your main IP address you have been assigned

7.) Change NETMASK='' to NETMASK='255.255.255.0' (this may be different depending on the cluster you are located on, when in doubt, check our network settings article)

8.) Save and exit the ifcfg-eth0 configuration file

9.) We also need to create a route to our gateway; create a new file called ifroute-eth0 in the directory /etc/sysconfig/network/

10.) Inside the newly created file, add default xxx.xxx.xxx.xxx - - replacing xxx.xxx.xxx.xxx with the GATEWAY IP address. Do not forget the - - as they are not typos! Save and exit.

11.) Run ifdown eth0 && ifup eth0 at the command line to restart the Ethernet adapter.

12.) You should now have access to the Internet, give it a try by pinging your favorite test domain or IP address.

Remember, if you decide to format your VPS, you will need to go through these steps again. We hope that this article helps those openSuse users that may have not known how to setup their networks manually when needed.

  • 142 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

Network Unavailable with CentOS 7 or Fedora 20

There is a bug in SolusVM that the network settings for CentOS 7 and Fedora 20 do not get...

Incorrect Disk Space Available in Windows Server

Sometimes SolusVM fails to provision a Windows VPS properly resulting in incorrect disk space...

Cannot connect via RDP to my Windows VPS

Note that only our Windows VPS plans come preconfigured with RDP (Remote Desktop Protocol)...

Activating Windows Server (any edition)

If you purchased a Windows VPS from Mean Servers but elected to bring your own license (BYOL),...

Windows 7 VPS Initial Setup

Note that Mean Servers now has Windows plans with RDP preconfigured and everything ready to go...