# OpenNebula Compute Node Install with one NIC

**URL:** <https://forum.opennebula.io/t/opennebula-compute-node-install-with-one-nic/6251>\
**Category:** Integration Support\
**Created:** [August 11, 2018, 6:34am UTC](https://forum.opennebula.io/t/opennebula-compute-node-install-with-one-nic/6251 "2018-08-11T06:34:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sagnik\_Sasmal](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/sagnik_sasmal/32/5613_2.png) [@Sagnik\_Sasmal](https://forum.opennebula.io/u/Sagnik_Sasmal)\
**Post date:** [August 11, 2018, 6:34am UTC](https://forum.opennebula.io/t/opennebula-compute-node-install-with-one-nic/6251/1 "2018-08-11T06:34:31Z")

</div>

I was wondering it it were possible to install ON on a node with only one NIC for WAN connectivity. HA is not needed here. Also, storage(for the VMs) would be local on one host.

---

<div class="post-metadata">

**Author:** ![feldsam](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/feldsam/32/4441_2.png) [@feldsam](https://forum.opennebula.io/u/feldsam)\
**Post date:** [August 11, 2018, 10:20pm UTC](https://forum.opennebula.io/t/opennebula-compute-node-install-with-one-nic/6251/2 "2018-08-11T22:20:04Z")

</div>

Hello, I don’t see any limitation why it is not possible. So generally, yes, it is possible. Another question is, how you want/need setup network.

---

<div class="post-metadata">

**Author:** ![Sagnik\_Sasmal](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/sagnik_sasmal/32/5613_2.png) [@Sagnik\_Sasmal](https://forum.opennebula.io/u/Sagnik_Sasmal)\
**Post date:** [August 13, 2018, 3:09pm UTC](https://forum.opennebula.io/t/opennebula-compute-node-install-with-one-nic/6251/3 "2018-08-13T15:09:38Z")

</div>

Hey there, thanks for the reply. I hope to accomplish something similar to this: [https://wiki.hetzner.de/index.php/Netzkonfiguration\_CentOS/en#Routed\_.28brouter.29](https://wiki.hetzner.de/index.php/Netzkonfiguration_CentOS/en#Routed_.28brouter.29)

Since ON has a DHCP service integrated with it, I think it should be able to automatically assign IPs to VMs as well, right?

---

<div class="post-metadata">

**Author:** ![feldsam](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/feldsam/32/4441_2.png) [@feldsam](https://forum.opennebula.io/u/feldsam)\
**Post date:** [August 31, 2018, 5:51am UTC](https://forum.opennebula.io/t/opennebula-compute-node-install-with-one-nic/6251/4 "2018-08-31T05:51:37Z")

</div>

Hello, IP assigning is by done by Opennebula and configuration itselft in VMs is done via one-context scripts

> **[OpenNebula/addon-context-linux](https://github.com/OpenNebula/addon-context-linux)**
>
> Linux VM Contextualization. Contribute to OpenNebula/addon-context-linux development by creating an account on GitHub.

  

> **[OpenNebula/addon-context-windows](https://github.com/OpenNebula/addon-context-windows)**
>
> Windows VM Contextualization. Contribute to OpenNebula/addon-context-windows development by creating an account on GitHub.

But of course you can setup DHCP server, but you need to add static asssignments to it by generating IP/MAC pairs from Opennebula via API or if you don’t plan network config more often, just one time generating and pasting to DHCP server configuration.

In past I program simple script, which generates MAC/IP pairs for DNSMASQ as DHCP/DNS server and also generate PORT forwardings for Shorewall firewall.

> **[feldsam/one-shorewall-dnsmasq-rules-generator](https://github.com/feldsam/one-shorewall-dnsmasq-rules-generator)**
>
> Contribute to feldsam/one-shorewall-dnsmasq-rules-generator development by creating an account on GitHub.

If you need consultations and/or help with setup you infrastructure, feel free to contact me. I offer this services

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [June 25, 2025, 4:05pm UTC](https://forum.opennebula.io/t/opennebula-compute-node-install-with-one-nic/6251/5 "2025-06-25T16:05:51Z")

</div>


