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 0.0.0.0/0 <default_gw> dev eth0

Leave a Reply

Your email address will not be published. Required fields are marked *

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