# How to configure right network interface?

**URL:** <https://forums.linbit.com/t/how-to-configure-right-network-interface/1077>\
**Category:** LINSTOR\
**Tags:** linstor\
**Created:** [December 1, 2025, 12:40pm UTC](https://forums.linbit.com/t/how-to-configure-right-network-interface/1077 "2025-12-01T12:40:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gennady](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gennady](https://forums.linbit.com/u/gennady)\
**Post date:** [December 1, 2025, 12:40pm UTC](https://forums.linbit.com/t/how-to-configure-right-network-interface/1077/1 "2025-12-01T12:40:00Z")

</div>

How to choose second network interface during deploy linstorCluster/linstorSatelliteConfigurations  
my config is:

```auto
linstorSatelliteConfigurations:
- name: host-network
  podTemplate:
    spec:
      hostNetwork: true
      dnsPolicy: ClusterFirstWithHostNet

```

```auto
linstorNodeConnections:
- name: network-paths
  paths:
  - interface: enp4s0
    name: data

```

Finaly Linstor does not see second interface - enp4s0. It takes first interface(enp3s0) and if look at UI to node details I can see as **default-ipv4** is taken

---

<div class="post-metadata">

**Author:** ![candlerb](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@candlerb](https://forums.linbit.com/u/candlerb)\
**Post date:** [December 8, 2025, 6:27pm UTC](https://forums.linbit.com/t/how-to-configure-right-network-interface/1077/2 "2025-12-08T18:27:20Z")

</div>

What exactly do you mean by “choose second network interface”? Do you mean you want to use this network interface for DRBD replication traffic?

If so, at the CLI it would be:

```sh
linstor node interface create mynode drbd 1.2.3.4
linstor node set-property mynode PrefNic drbd

```

(repeat for each node in the cluster)

Note that you don’t have to use the local NIC name like enp4s0 - here I’ve chosen “drbd” as the name by which Linstor refers to the NIC. In turn, it identifies the NIC by its IP address, in this example 1.2.3.4.

Maybe you can convert the above into kubernetes-ese.

---

<div class="post-metadata">

**Author:** ![gennady](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gennady](https://forums.linbit.com/u/gennady)\
**Post date:** [December 9, 2025, 4:50am UTC](https://forums.linbit.com/t/how-to-configure-right-network-interface/1077/3 "2025-12-09T04:50:30Z")

</div>

Thanks a lot for your answer  
it means, that i can’t configure second interface via helm of linstor-cluster? only via linstor cli? i have to perform cli command to create drbd interface?

---

<div class="post-metadata">

**Author:** ![candlerb](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@candlerb](https://forums.linbit.com/u/candlerb)\
**Post date:** [December 9, 2025, 8:30am UTC](https://forums.linbit.com/t/how-to-configure-right-network-interface/1077/4 "2025-12-09T08:30:36Z")

</div>

There seem to be a bunch of Linstor operators out there, and I don’t know or use any of them.

What I’m saying is: once you know how to do it with the CLI, you may be able to find out how to do it via whichever operator you are using (that is, create a “node interface” and set a “node property”). And if it’s not possible, you can raise it as a feature request on the operator’s issue tracker.

---

<div class="post-metadata">

**Author:** ![gennady](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gennady](https://forums.linbit.com/u/gennady)\
**Post date:** [December 9, 2025, 1:24pm UTC](https://forums.linbit.com/t/how-to-configure-right-network-interface/1077/5 "2025-12-09T13:24:00Z")

</div>

ok, Thank You very much

---

<div class="post-metadata">

**Author:** ![candlerb](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@candlerb](https://forums.linbit.com/u/candlerb)\
**Post date:** [December 9, 2025, 2:00pm UTC](https://forums.linbit.com/t/how-to-configure-right-network-interface/1077/6 "2025-12-09T14:00:12Z")

</div>

Although you haven’t named the helm chart you’re using, one of the possibilities is the [piraeus operator linstor-cluster chart](https://github.com/piraeusdatastore/helm-charts/tree/main/charts/linstor-cluster). Is that the one?

Looking at [values.yaml](https://github.com/piraeusdatastore/helm-charts/blob/main/charts/linstor-cluster/values.yaml) I see:

```yaml
## Additional properties to apply on the LINSTOR Satellite. Can inherit values from the Kubernetes Node resource.
# properties:
# - name: AutoplaceTarget
# value: "no"
# - name: Aux/topology/failure-domain
# valueFrom:
# nodeFieldRef: metadata.annotations['example.com/failure-domain']
# optional: true

```

and in [the docs](https://github.com/piraeusdatastore/piraeus-operator/blob/v2/docs/reference/linstorsatelliteconfiguration.md):

```yaml
apiVersion: piraeus.io/v1
kind: LinstorSatelliteConfiguration
metadata:
  name: ipv6-nodes
spec:
  properties:
    - name: PrefNic
      value: "default-ipv6"

```

Hence it’s clear how to set PrefNic.

However [here](https://github.com/piraeusdatastore/piraeus-operator/blob/v2/docs/reference/linstornodeconnection.md#specpaths) it says:

> Paths configure one or more network connections between nodes. If a path is configured, LINSTOR will use the given network interface to configure DRBD replication. The network interfaces have to be registered with LINSTOR first, using `linstor node interface create ...` .

So, it doesn’t look like this particular helm chart supports doing this declaratively.

If you are using a different chart, check its documentation.

---

<div class="post-metadata">

**Author:** ![gennady](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gennady](https://forums.linbit.com/u/gennady)\
**Post date:** [December 9, 2025, 2:52pm UTC](https://forums.linbit.com/t/how-to-configure-right-network-interface/1077/7 "2025-12-09T14:52:21Z")

</div>

Yes, I use this helm chart and as You right noticed i have to create interface via cli first, but it is not always convinietn.  
anyway Thanks a lot
