Create and update firewall rules; manage SSH access info and IP addresses for the instances in your IDrive® Compute account.
Assigning a private IP to your instance
You can assign a private IP for your instance during instance creation or choose to assign it anytime later. You can add a private IP address to the instance to have secure private communication with other instances within your account.
To assign a private IPv4 while creating a new instance, select Private IP under Optional Add-ons.
Assigning a private IPv4 address to the instances allows you to enable private communication with other instances (that have private IP) within your account.
Note: If you assign a private IPv4 address to an instance after creation, the instance will be rebooted to complete the operation.
In the case of openSUSE instances where a private IPv4 address is assigned after instance creation, users must configure the private network manually.
Configure a private network on openSUSE instances
In the case of openSUSE instances where a private IPv4 address is assigned after instance creation, the private network must be configured manually. Once a private ipv4 address is added, the private network device is eth1 and the public network device is eth0.
To configure a private network on openSUSE instances,
- Find the MAC address of the eth1 adapter.
# ip addr show eth1
- Look for the link/ether value of adapter eth1, as in the example below
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000The MAC address of eth1 adapter is 00:00:00:00:00:00
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
- Populate /etc/sysconfig/network/ifcfg-eth1 with the following text.
Replace <MAC_ADDRESS> with your actual mac address of eth1 adapter.
- Bring the network interface up.
# ifup eth1