### Human: Can you tell about How to Configure Network Access on Node Booted into Phoenix or Rescue Shells. ### Assistant: This article describes how to configure network access on a node booted info Phoenix or Rescue shells.. Phoenix is an in-memory Gentoo Linux OS that Nutanix uses for various workflows. If you find that a host in your cluster is unreachable over the network but IPMI console shows a prompt similar to the one below, then you are in the Phoenix Shell.

phoenix / #

You may find your node booted into Phoenix due to any of the following circumstances:

Foundation imagingPhoenix imagingCluster expansionPrism Host Boot Device (satadom) Repair - Proactive or FailedOne-Click firmware upgradeLCM firmware upgrade

There is a similar shell that can appear when booting a CVM with svmrescue.iso. You may find yourself here in a CVM's console view if your Single SSD Repair task has failed.

phoenix / #

This article explains how you can configure non-persistent network access on either of the above shells for the purposes of debugging or log collection.

 . Steps to configure network access in a Rescue shell. For the purposes of simplicity I am using Phoenix, but the steps are the same for Rescue.

WARNING: If a VLAN tag is required, DO NOT perform the steps below. Proceed to the next procedure called "If you need to tag a VLAN for access" further below.
1) List your available physical interfaces (ethX).

phoenix / # ifconfig -a
2) Cycle through the interfaces so that they can detect any active links. Do this for all the interfaces listed in the above output.

phoenix / # ifconfig -a

Example:

phoenix / # ifconfig -a
3) Cycle through the interfaces to find the one which can detect a link. Usually this will be a 10000baseT/Full interface. Look for "Link detected: yes".

phoenix / # ifconfig -a

Example:

phoenix / # ifconfig -a
4) Once you have found the interface with a link detected, configure the local host's CVM IP address on the interface.

phoenix / # ifconfig -a

Example:

phoenix / # ifconfig -a
5) Configure the correct netmask.

phoenix / # ifconfig -a

Example:

phoenix / # ifconfig -a
6) Configure the default gateway for the same interface.

phoenix / # ifconfig -a

Example:

phoenix / # ifconfig -a
7) At this point, you should be able to ping the default gateway. 

phoenix / # ifconfig -a
Example:

phoenix / # ifconfig -a
8) The next step is to enable SSH access so that you can log in using PuTTY.Foundation/Phoenix < 4.3

phoenix / # ifconfig -a

Foundation/Phoenix 4.3-5.1

phoenix / # ifconfig -a

Foundation/Phoenix >= 5.2

phoenix / # ifconfig -a
9) Now try to SSH into the CVM IP address you just assigned to Phoenix using "root" as the username and "nutanix/4u" as the password.

phoenix / # ifconfig -a

Example:

phoenix / # ifconfig -a

Note: The password will always be "nutanix/4u".Note: If you see a message like "Permission denied (publickey,password,keyboard-interactive)", you'll have to remove the entry for this IP address out of the /home/nutanix/.ssh/known_hosts file and then try again. 

If you need to tag a VLAN for access:

Do not perform the above steps for IP configuration if a VLAN tag is required. Start from step 1 below.
1) Add a VLAN tag to the eth0 interface. Replace vlan_tag below with the VLAN used for this subnet:

phoenix / # ifconfig -a

Example:

phoenix / # ifconfig -a
2) Assign an IP and subnet mask to the interface. Replace vlan_tag with the VLAN used for this subnet:

phoenix / # ifconfig -a

Example:

phoenix / # ifconfig -a
3) Assign the default gateway

phoenix / # ifconfig -a

Example:

phoenix / # ifconfig -a
4) To enable shell access, go to step 7 of regular IP configuration above.. ### Human: Now explain this as a Nutanix support agent summarizing the answer step by step. In case, you don't know the answer say - I don't know.