Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: More descriptive title

Anchor
TOCTOC
Include Page
KBCOMMON:KB-CSSstyleKBCOMMON:KB-CSSstyle

To add an additional network interface to an instance or to remove an interface from your instance perform the steps described below.

(warning) The steps below only provide a basic overview. The exact tasks required will vary depending on your network design. Please refer to the AWS documentation for details.

Contents

Table of Contents
excludeContents
stylesquare

Adding an Additional Network Interface

It is possible to add additional NICs to the Charon host system in the cloud. Additional NICs can be used to connect the instance to additional subnets. And an additional NIC can also be used to provide an emulated SPARC system running in the emulator with a dedicated network interface. This section shows the basic steps to add a NIC to an existing Azure cloud instance.

(warning) You can create a new interface while the VM is running. However, the VM must be stopped before the new interface can be attached to the system. The VM also must be stopped before detaching an interface.

To add an existing or newly created NIC to the Charon host cloud instance, perform the following steps:

Step 1: Open the Networking screen of your Charon host cloud instance. The sample below shows a VM with only one NIC.

Image Removed

...

classpagebreak

Step 2: Click on Attach network interface at the top. This will either let you choose an existing interface or offer the option to create a new one as shown in the sample below:

Image Removed

...

classpagebreak

Step 3: Click on Create network interface to open the interface creation screen.

Image Removed

Add the mandatory information:

  • Name
  • Subnet
  • Private IP (if static IP is selected)
  • Resource group (same as VM)

Once the information has been added, click on Create to create the new NIC. This will return you to the Networking screen.

Step 4: Attach the selected or newly created interface to your cloud VM.

(warning) Make sure to stop the instance before attaching the interface. Otherwise, you will receive an error.

On the Networking screen, you should now see the new interface. Click on Attach network interface to add the NIC to your VM. The image below shows an example:

Image Removed

The Networking screen should now show the two interfaces in two different tabs, as displayed below:

Image Removed

Step 5: Restart your VM, log in and check the availability of the second interface.

The output of the ip link show command now shows the second interface (eth1 in the example).

Code Block
languagetext
[root@we-test-vm1 charon]# ip link show |grep eth
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 00:0d:3a:8f:da:f2 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000

Adding a Public IP address to the Second NIC

(warning) If this NIC is used as a dedicated NIC for a Solaris guest system, it is not recommended to expose the Solaris guest to the Internet by adding a public IP to the dedicated NIC. It is highly recommended to use a secure, encrypted VPN connection for any external traffic of the the guest system. The user is responsible for making sure that any external connection complies with the relevant rules and policies of the environment.

Creating a Public IP Address

A public IP address is a resource that can be created using the Create a resource icon on the Home screen. On the overview page, search for public IP address. This will open the initial screen to create public IP address:

Image Removed

Clicking on Create takes you to the IP address configuration screen:

Image Removed

Add the necessary data, in particular the following:

  • Name
  • Dynamic or Static
  • Resource group (same as your interface)
  • Location

Click on Create to create the address resource.

Attaching the Public IP Address to an Interface

To attach the new public IP address to the second NIC of your instance, perform the following steps:

  • Select your VM in the overview list.
  • Go to the Networking section.
  • Select the interface tab of the relevant interface.
  • On the interface tab page, click on the Network interface link.
  • On the network interface page, under Settings, select IP configurations.
  • Click on the name of the IP configuration to which you want to add the public IP address. This will open the IP configuration screen.

Image Removed

On this screen select Enabled for the Public IP address. This will allow you to select the new public IP address.

Then click on Save to save the changes.

(warning) Do not forget to add an appropriate Network Security Group to protect the interface.

Include Page
KBCOMMON:DOC-GoToTocKBCOMMON:DOC-GoToTocPDC:__Include: Charon - Additional NICs on Azure: v1
PDC:__Include: Charon - Additional NICs on Azure: v1