Documentation Home Page Hardware Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Changing the IP Address of a Target - OPAL-RTLinux 3

Table of Contents

Description

This procedure explains how to configure the simulator's IP address.

The procedure assumes that OPAL-RTLinux is installed and IPMI is configured.

They are installed and configured by OPAL-RT when you purchase your system.

Connecting the simulator to the network

Make sure you have 2 Ethernet cables connected from your network to:

  • The IPMI (Intelligent Platform Management Interface) RJ-45 Port.
  • A LAN (Local Area Network) RJ-45 Port.

The PC ports are in different positions depending on the brand and model of the motherboard.
At OPAL-RT uses 2 brands of motherboard: Supermicro and ASRock Rack
Each brand of motherboard brand uses a different interface name.

Locate the right RJ-45 ports using the illustrations below.

If you don't find your simulator's ports configuration below, please contact OPAL-RT Technical Support team.

Supermicro Motherboard

OPAL-RT uses Supermicro motherboard models with 2 ports configurations.
OPAL-RTLinux interface names are:

  • LAN1: eno1
  • LAN2: eno2


ASRock Rack Motherboard

OPAL-RT uses ASRock Rack motherboard models with 1 port configuration.
OPAL-RTLinux interface names are:

  • LAN1: enp39s0
  • LAN2: enp38s0
  • LAN3: enp36s0f0
  • LAN4: enp36s0f1

Connecting remotely to the simulator

The procedure to connect remotely varies depending on the motherboard brand: Supermicro or ASRock Rack.

Remote login - IPMI

Open a new tab or a new window in your web browser.
Enter the IPMI IP address as in the example below. Your IP address will be different.



A security warning message similar to this one (it depends on your web browser) will likely be displayed.
It's because we do no use certificate of security on our target.
Click on Advanced... (the button name differs depending on the browser).
Click Open website (the command differs depending on the browser) to proceed to the login screen.



Depending on whether the simulator is equipped with a Supermicro or an ASRock Rack motherboard, the IPMI login screen will be slightly different.
Once passed the IPMI login procedure on either motherboard as described below, the OPAL-RTLinux login procedure is the same for all motherboards.

Supermicro Motherboard

In the Supermicro motherboard web interface displayed, enter the IPMI login credentials:

  • Username: ADMIN
  • Password: Refer to your hardware documentation entitled "System Description."
    • If the IPMI login credentials are not in the System Description document or if you cannot find the System Description document, please contact the OPAL-RT Technical Support team, who will be happy to assist you.

      • Be sure to include your simulator's Operating System (e.g., OPAL-RTLinux 3).

After login, go to the Remote Control menu and select iKVM/HTML5.

 

Click on iKVM/HTML5 button.

A window opens up and display the OPAL-RTLinux screen

ASRock motherboard


In the ASRock Rock motherboard web interface displayed, enter the IPMI login credentials:

  • Username: admin
  • Password: Refer to your hardware documentation entitled "System Description."
    • If the IPMI login credentials are not in the System Description document or if you cannot find the System Description document, please contact the OPAL-RT Technical Support team, who will be happy to assist you.

      • Be sure to include your simulator's Operating System (e.g., OPAL-RTLinux 3).

After login, go to the Remote Control menu and click on the H5Viewer.

A window opens up and display the OPAL-RTLinux screen

Login into OPAL-RTLinux

Once remotely connected to the simulator, you are welcomed by OPAL-RTLinux login prompt.

Enter your OPAL-RTLinux login credentials:

  • Username: root
  • Password: Refer to your hardware documentation entitled "System Description."
    • If the OPAL-RTLinux login credentials are not in the System Description document or if you cannot find the System Description document, please contact the OPAL-RT Technical Support team, who will be happy to assist you.

      • Be sure to include your simulator's Operating System (e.g., OPAL-RTLinux 3).

 

After a successful login, you should see the OPAL-RTLinux prompt as shown below.

Setting an IP address

At initial OPAL-RTLinux installation, the network a static IP address is configured by OPAL-RT and provided to the customer.
To get the current IP address, you can type ip address (alias: ip a) or its legacy equivalent ifconfig.
The expected output should look like the screen captures below.

Supermicro motherboard displayASRock Rack motherboard display


If you are on OPAL-RTLinux 3.4.1, please contact OPAL-RT Technical Support team because you won't be able to run the following command

Configure Static IP by using the opal_network_configurator command.

Type:

opal_network_configurator

Read the question and type Yes

After answering "Yes" the script will provide information.

  • IPMI IP address in case configuration fail
  • Possible options to configure the network

In the example, the default Ethernet interface name is eno1 for a target with Supermicro motherboard or enp39s0 for a target with ASRock Rack motherboard.
eno1 (or enp39s0) should be the first one if the system doesn’t have additional Ethernet PCI card.
If not, simply type Enter until you reach the desired interface.

In this example, we are configuring the static IP address  192.168.3.97/19.

  • NOTE: The “/19” is optional and is the default value if not set. This set the netmask to (255.255.224.0)

Enter the IP address and press, Enter

The expected output for a target is shown below.

Supermicro motherboard displayASRock Rack motherboard display

Once the network interface IP address is set, simply pressed Enter until the network restarts.


Supermicro motherboard displayASRock Rack motherboard display

Verify the new IP address

From Windows, test the IP address with the command: ping –c 1 192.168.XX.XX
NOTE
: Replace 192.168.XX.XX with your IP

Related content

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter