Product Documentation and Knowledge Base - HomeDocumentation


Charon-SSP


Network and Guest Configuration on the Charon Host System

This section shows the steps required on a Charon-SSP host system in the cloud where a dedicated NIC is to be used for the guest operating system. It covers the following parts:

Network Configuration

On the host system, the interface configuration must ensure that the private IP address associated with the new interface is not configured on the Linux Ethernet interface. This address will be used by the guest system.

(warning) The interface names used in the following section are for illustrative purposes only. Please familiarize yourself with the interface naming conventions used in your cloud environment. 

(info) Cloud providers usually have some specific requirements when adding additional network interfaces to an instance. Please refer to the documentation of your cloud provider for details.

To make the second interface usable for the Charon guest system, perform the following steps:

  1. Log into the instance and become the root user (use: sudo -i)

  2. Identify the names of the two Ethernet interfaces:
    # ip link show
  3. Create an interface configuration file for the second interface (the file for the first one should exist).
    (warning) In this example, we use eth0 and eth1 as interface names. Make sure you use the ones in used on your instance.
    # cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1

  4. Edit this file to match the characteristics of eth1. The private IP address used for this interface will be assigned to the Solaris guest. Therefore, configure the Linux Interface without IP address, similar to the example below.
    (info) On the cloud-specific Charon products the NetworkManager is normally disabled. However, if the NetworkManager is running, the line NM_CONTROLLED=no prevents the NetworkManager from changing the configuration of the interface.

    BOOTPROTO=none
    DEVICE=eth1

    NAME=eth1
    ONBOOT=yes
    TYPE=Ethernet
    USERCTL=no
    NM_CONTROLLED=no

  5. Make sure the default interface stays on eth0 by adding the following line to /etc/sysconfig/network:
    GATEWAYDEV=eth0

  6. Restart the network:
    # systemctl restart network
    (info) Should there be an error when executing this command, kill the DHCP client process and retry the command.

Expected result:

  1. The system should still be reachable via eth0.
  2. Interface eth1 should be up with out having an IP address configured.

(warning) Make sure to use the correct interface names in use on your instance.


Charon Emulator Configuration

Configure a guest Solaris system with the dedicated NIC as its interface. Set the MAC address to the same value as used by the host interface.




© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.