Add IP to CirrOS manually if DHCP fails

If CirrOS is not getting IP address automatically from Neutron because of some issue or simply DHCP is disabled for subnet then you can use:

ip a add <address/mask> dev eth0

To add IP address and mask to eth0. You will also need default route:

ip r add <default_gw> dev eth0

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.