# \[SOLVED\]\[one.vm.attachnic\] Alias not found

**URL:** <https://forum.opennebula.io/t/solved-one-vm-attachnic-alias-not-found/7021>\
**Category:** Installation & Configuration\
**Tags:** solved\
**Created:** [March 13, 2019, 2:22pm UTC](https://forum.opennebula.io/t/solved-one-vm-attachnic-alias-not-found/7021 "2019-03-13T14:22:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TiDjY](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tidjy/32/5947_2.png) [@TiDjY](https://forum.opennebula.io/u/TiDjY)\
**Post date:** [March 13, 2019, 2:22pm UTC](https://forum.opennebula.io/t/solved-one-vm-attachnic-alias-not-found/7021/1 "2019-03-13T14:22:03Z")

</div>

I would like add ip to nic of my VM

I use Opennebula 5.8.0

I would like use option alias

i’ve create a file new-nic.txt

NIC\_ALIAS = [NETWORK = “DCRENNES-VNET-MUTUALISE-CISCO”, PARENT = “NIC0”]

But

[root@virt23 ~]# onevm nic-attach MUT-Swarm01 --file new-nic.txt  
[one.vm.attachnic] Alias not found.

I forgot something ?

---

<div class="post-metadata">

**Author:** ![TiDjY](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tidjy/32/5947_2.png) [@TiDjY](https://forum.opennebula.io/u/TiDjY)\
**Post date:** [March 13, 2019, 2:33pm UTC](https://forum.opennebula.io/t/solved-one-vm-attachnic-alias-not-found/7021/2 "2019-03-13T14:33:25Z")

</div>

it’s solved

if you have migrate from 5.6 to 5.8

you should delete the nic and recreate on 5.8 version
