Skip to content

1.12.66: how to change an interface address #128

@jouvin

Description

@jouvin

I need to change the address associated with a host interface. aq update interface help says that it should be done with add add/del interface address. But if I try to add an address to the interface with:

 aq add interface address --hostn testaq.lal.in2p3.fr --int eth0 --ip 134.158.76.96

I get the error:

Bad Request: Public Interface eth0 of machine testaq.lal.in2p3.fr already has an IP address.

and if I try to delete the existing address first with:

lx6/jouvin % aq del interface address --hostn testaq.lal.in2p3.fr --int eth0 --ip 134.158.76.239

I get:

Bad Request: The primary IP address of a hardware entity cannot be removed.

What did I do wrong?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions