Problem description
After the Elastic Network Interface is enabled for an Ubuntu system instance, the server cannot obtain the IP address.
Cause
Network interface controller information configuration is incorrect.
Solution
- Log on to the instance and edit
/etc/netplan/
configuration file. Add the following eth1 network interface controller information. - Run the following command to activate the configuration information.
netplan apply
Scope
- Elastic Compute Service