Hi William, Check if you already removed existing interface. It always depend on interface name you have configured in vm image which make interface up. If you can login into VM via console simply run following: 1. lshw -class network -short Which will be give you interface list 2. Check if two interface present if yes then make first interface down. 3. Run dhclient <interface 2> 4. Make sure your network dhcp is enabled. Hope above will help to troubleshoot issue. Regards, Jitendra Mhatre On Fri, 10 Jan, 2025, 1:09 am William Muriithi, <wmuriithi@perasoinc.com> wrote:
Hello
I have a system that I would like to assign a specific IP address. I am aware of a way I can set it up on creation but want to change it post creation so that I can prepare the host before swapping the IP address to bring it to production.
This is what I have tried:-
Set up a second interface: openstack server add fixed ip --fixed-ip-address 192.168.20.61 f3a20bef-bb03-4e9a-8996-77567ef96ff0 d1051b62-46a7-487e-b188-f742aec6d711
Remove the default security group: openstack port unset --security-group c0108624-dbd8-42bb-acaa-bbbfd32fbbae 6978e153-47dc-42d4-bdb8-63b325c77cf0
Assign the relevant security group: openstack port set --security-group 415a6ef0-e461-41fc-85f0-c92c043e5b50 6978e153-47dc-42d4-bdb8-63b325c77cf0
After that, when I ssh to the virtual machine, I can see the new interface and indeed also ping/ssh to the system using that IP address. However, its not reachable from outside the virtual machine
What could I be missing here?
Regards, William