# Ziti-router: no network interface found for 0.0.0.0

**URL:** <https://openziti.discourse.group/t/ziti-router-no-network-interface-found-for-0-0-0-0/4370>\
**Category:** Ziti Overlay\
**Created:** [April 15, 2025, 4:00pm UTC](https://openziti.discourse.group/t/ziti-router-no-network-interface-found-for-0-0-0-0/4370 "2025-04-15T16:00:28Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Rantanplan](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/rantanplan/32/3353_2.png) [@Rantanplan](https://openziti.discourse.group/u/Rantanplan)\
**Post date:** [April 29, 2025, 6:41pm UTC](https://openziti.discourse.group/t/ziti-router-no-network-interface-found-for-0-0-0-0/4370/15 "2025-04-29T18:41:56Z")

</div>

**This is great!**  
Thank you very much.

Let me another question. I have 2 services _sock5_ and _element_, they are both on the same machine. And I have 2 zrok controllers on _ovh29_ and _dc67_. I have noticed that _sock5_ service picks up the right terminator (_ovh29_), but _element_ picks up the wrong one _dc67_ (miles away from the the host)

Now I have the following circuits for _element's_ flow: _ovh76_-\> _dc67_ instead of _ovh76_-\> _ovh29_. Well because the terminator for the service is wrong.  
It is certainly because I made a mistake by setting ZROK\_API\_ENDPOINT="[https://public.domain.name](https://public.domain.name):port". And dns has 2 addresses for this name, precisely the addresses of _ovh29_ and _dc67_ where zrok controllers are.  
Is there a way to change the terminator? Or I need to release the share and recreate it. It is not clear how to specify the terminator's router. Exemple:

```auto
zrok share private -b drive path

```

```auto
╭───────────┬───────────────────────────┬─────────┬────────────────────────┬─────────────────────┬─────────────────────────────────────────────────╮
│ ID │ CLIENT │ SERVICE │ TERMINATOR │ CREATEDAT │ PATH │
├───────────┼───────────────────────────┼─────────┼────────────────────────┼─────────────────────┼─────────────────────────────────────────────────┤
│ Jwn9pedoc │ cma2gcwkr10opr1j4k3tpe8b3 │ socks5 │ 6Uz4d4tkjy6PAlbkPIOeTY │ 2025-04-29 17:45:00 │ r/ovh76 -> l/5PwHQ3EQzxzhuxq05rGnFx -> r/ovh29 │
│ TdGlneJoc │ cma2gcwkr10opr1j4k3tpe8b3 │ socks5 │ 6Uz4d4tkjy6PAlbkPIOeTY │ 2025-04-29 17:49:15 │ r/ovh76 -> l/5PwHQ3EQzxzhuxq05rGnFx -> r/ovh29 │
│ VuH9muJRc │ cma2gcwkr10opr1j4k3tpe8b3 │ socks5 │ 6Uz4d4tkjy6PAlbkPIOeTY │ 2025-04-29 16:35:26 │ r/ovh221 -> l/2eRaE0iG0diFMDPrX4TJbZ -> r/ovh29 │
│ ZUzpuedoc │ cma2gcvgp10okr1j4t5avxtns │ element │ 5jWewbMLAy3IyC1T2HPOUB │ 2025-04-29 17:51:40 │ r/ovh76 -> l/61i116afGfeEls9CcUxGoz -> r/dc67 │
│ ftjAnedRc │ cma2gcwkr10opr1j4k3tpe8b3 │ socks5 │ 6Uz4d4tkjy6PAlbkPIOeTY │ 2025-04-29 17:50:12 │ r/ovh76 -> l/5PwHQ3EQzxzhuxq05rGnFx -> r/ovh29 │
│ hrXdsCdRc │ cma2gcwkr10opr1j4k3tpe8b3 │ socks5 │ 6Uz4d4tkjy6PAlbkPIOeTY │ 2025-04-29 16:32:58 │ r/ovh29 │
│ ilkEpwdoc │ cma2gcwkr10opr1j4k3tpe8b3 │ socks5 │ 6Uz4d4tkjy6PAlbkPIOeTY │ 2025-04-29 17:41:03 │ r/ovh76 -> l/5PwHQ3EQzxzhuxq05rGnFx -> r/ovh29 │
│ rkznCwdRc │ cma2gcvgp10okr1j4t5avxtns │ element │ 5jWewbMLAy3IyC1T2HPOUB │ 2025-04-29 17:51:40 │ r/ovh76 -> l/61i116afGfeEls9CcUxGoz -> r/dc67 │
│ wW-VmuJo5 │ cma2gcwkr10opr1j4k3tpe8b3 │ socks5 │ 6Uz4d4tkjy6PAlbkPIOeTY │ 2025-04-29 16:38:31 │ r/ovh76 -> l/5PwHQ3EQzxzhuxq05rGnFx -> r/ovh29 │
╰───────────┴───────────────────────────┴─────────┴────────────────────────┴─────────────────────┴─────────────────────────────────────────────────╯

```

```auto
╭────────────────────────┬─────────┬────────┬─────────┬────────────────────────┬──────────┬──────┬────────────┬──────────────┬────────────╮
│ ID │ SERVICE │ ROUTER │ BINDING │ ADDRESS │ INSTANCE │ COST │ PRECEDENCE │ DYNAMIC COST │ HOST ID │
├────────────────────────┼─────────┼────────┼─────────┼────────────────────────┼──────────┼──────┼────────────┼──────────────┼────────────┤
│ 5jWewbMLAy3IyC1T2HPOUB │ element │ dc67 │ edge │ 5jWewbMLAy3IyC1T2HPOUB │ │ 0 │ default │ 2 │ qNTXfYbyhW │
│ 6Uz4d4tkjy6PAlbkPIOeTY │ socks5 │ ovh29 │ edge │ 6Uz4d4tkjy6PAlbkPIOeTY │ │ 0 │ default │ 26 │ qNTXfYbyhW │
╰────────────────────────┴─────────┴────────┴─────────┴────────────────────────┴──────────┴──────┴────────────┴──────────────┴────────────╯

```

```auto
╭────────────────────────┬────────┬──────────┬─────────────┬─────────────┬─────────────┬───────────┬────────┬───────────╮
│ ID │ DIALER │ ACCEPTOR │ STATIC COST │ SRC LATENCY │ DST LATENCY │ STATE │ STATUS │ FULL COST │
├────────────────────────┼────────┼──────────┼─────────────┼─────────────┼─────────────┼───────────┼────────┼───────────┤
│ 16E2TczYESHKahbg3m38uo │ dc67 │ ovh223 │ 1 │ 17.7ms │ 18.1ms │ Connected │ up │ 36 │
│ 1AAwqehT0saVbe5iVa4xiA │ dc67 │ ovh29 │ 1 │ 16.5ms │ 16.4ms │ Connected │ up │ 33 │
│ 1AlTJZCRfaKmwiyV7EEjCh │ ovh76 │ ovh221 │ 1 │ 2.8ms │ 2.7ms │ Connected │ up │ 5 │
│ 1Cj1nteTAOuVeaTgtcuhBU │ dc67 │ ovh3 │ 1 │ 19.4ms │ 19.3ms │ Connected │ up │ 39 │
│ 1DRZUk4wHiWL6u5nSOdMq5 │ ovh3 │ ovh89 │ 1 │ 2.8ms │ 2.8ms │ Connected │ up │ 5 │
│ 1blqRd6d3puyPr1zhljc2y │ ovh3 │ ovh221 │ 1 │ 2.8ms │ 2.7ms │ Connected │ up │ 5 │
│ 1gcphw7HfD6GnrR1FtC3Sp │ ovh223 │ dc67 │ 1 │ 19.2ms │ 18.8ms │ Connected │ up │ 38 │
│ 1kUKIHJuQGbdZQyOEP6WmI │ ovh76 │ ovh223 │ 1 │ 2.8ms │ 2.8ms │ Connected │ up │ 5 │
│ 1mk00fyR7GmeiAaHeEytdY │ ovh76 │ ovh3 │ 1 │ 2.7ms │ 2.7ms │ Connected │ up │ 5 │
│ 1sKEAKcGxBQUc8Fq751uJM │ ovh76 │ ovh89 │ 1 │ 2.9ms │ 2.7ms │ Connected │ up │ 5 │
╰────────────────────────┴────────┴──────────┴─────────────┴─────────────┴─────────────┴───────────┴────────┴───────────╯

```

Why the COST of edge-routers is always 0. I guess all connection related issues should be included in the edge router's COST. Since the link's COST is different, it mostly depends on the distance between the routers.

```auto
╭────────────┬────────┬────────┬───────────────┬──────┬────────────╮
│ ID │ NAME │ ONLINE │ ALLOW TRANSIT │ COST │ ATTRIBUTES │
├────────────┼────────┼────────┼───────────────┼──────┼────────────┤
│ 7H8BaaKm9F │ ovh29 │ true │ true │ 0 │ │
│ JI-BBYbyIW │ ovh76 │ true │ true │ 0 │ │
│ JoOo6WCyhW │ ovh221 │ true │ true │ 0 │ │
│ LlqloYCyhW │ ovh3 │ true │ true │ 0 │ │
│ T8.KBWbyhW │ ovh89 │ true │ true │ 0 │ │
│ WIZxdWbqhW │ dc67 │ true │ true │ 0 │ │
│ Y-UUoWCyIW │ ovh223 │ true │ true │ 0 │ │
╰────────────┴────────┴────────┴───────────────┴──────┴────────────╯

```

After restarting I see that _element_ has wrong router again (dc67). It is unclear why ziti allocates a terminator on the remote router.

```auto
╭────────────────────────┬─────────┬────────┬─────────┬────────────────────────┬──────────┬──────┬────────────┬──────────────┬────────────╮
│ ID │ SERVICE │ ROUTER │ BINDING │ ADDRESS │ INSTANCE │ COST │ PRECEDENCE │ DYNAMIC COST │ HOST ID │
├────────────────────────┼─────────┼────────┼─────────┼────────────────────────┼──────────┼──────┼────────────┼──────────────┼────────────┤
│ 2mdoEbtVprBVKYJQKlOtYR │ element │ dc67 │ edge │ 2mdoEbtVprBVKYJQKlOtYR │ │ 0 │ default │ 4 │ oOesPw1m9F │
│ 6TJfsrSiFqEp6HNdfovgEw │ socks5 │ ovh76 │ edge │ 6TJfsrSiFqEp6HNdfovgEw │ │ 0 │ default │ 38 │ oOesPw1m9F │
╰────────────────────────┴─────────┴────────┴─────────┴────────────────────────┴──────────┴──────┴────────────┴──────────────┴────────────╯

```

```auto
╭────────────┬───────────────────────────┬─────────┬────────────────────────┬─────────────────────┬─────────────────────────────────────────────────╮
│ ID │ CLIENT │ SERVICE │ TERMINATOR │ CREATEDAT │ PATH │
├────────────┼───────────────────────────┼─────────┼────────────────────────┼─────────────────────┼─────────────────────────────────────────────────┤
│ 2f91yi.5e │ cma350rjq00vl4tj4fctlp7mt │ socks5 │ 6TJfsrSiFqEp6HNdfovgEw │ 2025-04-29 23:33:05 │ r/ovh223 -> l/35Mlsz88K9xtbVFdZrjprO -> r/ovh76 │
│ 3xd-yC.EF │ cma350rjq00vl4tj4fctlp7mt │ socks5 │ 6TJfsrSiFqEp6HNdfovgEw │ 2025-04-29 23:36:43 │ r/ovh3 -> l/5dZ79Lgsiy57Aa7jAfjAx7 -> r/ovh76 │
│ 3xqSlC.5F │ cma350rjq00vl4tj4fctlp7mt │ socks5 │ 6TJfsrSiFqEp6HNdfovgEw │ 2025-04-29 23:36:56 │ r/ovh3 -> l/5dZ79Lgsiy57Aa7jAfjAx7 -> r/ovh76 │
│ 4MRBli.5e │ cma350rjq00vl4tj4fctlp7mt │ socks5 │ 6TJfsrSiFqEp6HNdfovgEw │ 2025-04-29 23:37:59 │ r/ovh3 -> l/5dZ79Lgsiy57Aa7jAfjAx7 -> r/ovh76 │
│ 9v-QlCsEe │ cma350rjq00vl4tj4fctlp7mt │ socks5 │ 6TJfsrSiFqEp6HNdfovgEw │ 2025-04-29 23:30:32 │ r/dc67 -> l/7b6PH9TQqHwz9UpCm9ZCN2 -> r/ovh76 │
│ AWtWyC.5eG │ cma350qxz00vi4tj4elqvn4x5 │ element │ 2mdoEbtVprBVKYJQKlOtYR │ 2025-04-29 23:38:29 │ r/ovh29 -> l/4spD4qO6o27PlEz9bvkM1n -> r/dc67 │
│ BaLSyi.5F │ cma350rjq00vl4tj4fctlp7mt │ socks5 │ 6TJfsrSiFqEp6HNdfovgEw │ 2025-04-29 23:36:47 │ r/ovh3 -> l/5dZ79Lgsiy57Aa7jAfjAx7 -> r/ovh76 │
│ D4NLlCsEF │ cma350rjq00vl4tj4fctlp7mt │ socks5 │ 6TJfsrSiFqEp6HNdfovgEw │ 2025-04-29 23:27:46 │ r/dc67 -> l/7b6PH9TQqHwz9UpCm9ZCN2 -> r/ovh76 │
│ DwOSyCs5e │ cma350rjq00vl4tj4fctlp7mt │ socks5 │ 6TJfsrSiFqEp6HNdfovgEw │ 2025-04-29 23:36:49 │ r/ovh3 -> l/5dZ79Lgsiy57Aa7jAfjAx7 -> r/ovh76 │
│ ELWLlis5F │ cma350rjq00vl4tj4fctlp7mt │ socks5 │ 6TJfsrSiFqEp6HNdfovgEw │ 2025-04-29 23:27:51 │ r/dc67 -> l/7b6PH9TQqHwz9UpCm9ZCN2 -> r/ovh76 │
╰────────────┴───────────────────────────┴─────────┴────────────────────────┴─────────────────────┴─────────────────────────────────────────────────╯

```

So I need to restart the router dc67 to get a correct circuits

```auto
╭────────────────────────┬─────────┬────────┬─────────┬────────────────────────┬──────────┬──────┬────────────┬──────────────┬────────────╮
│ ID │ SERVICE │ ROUTER │ BINDING │ ADDRESS │ INSTANCE │ COST │ PRECEDENCE │ DYNAMIC COST │ HOST ID │
├────────────────────────┼─────────┼────────┼─────────┼────────────────────────┼──────────┼──────┼────────────┼──────────────┼────────────┤
│ 2fnPDU1qqTPhryBlrczwg1 │ element │ ovh223 │ edge │ 2fnPDU1qqTPhryBlrczwg1 │ │ 0 │ default │ 2 │ oOesPw1m9F │
│ 6TJfsrSiFqEp6HNdfovgEw │ socks5 │ ovh76 │ edge │ 6TJfsrSiFqEp6HNdfovgEw │ │ 0 │ default │ 8 │ oOesPw1m9F │
╰────────────────────────┴─────────┴────────┴─────────┴────────────────────────┴──────────┴──────┴────────────┴──────────────┴────────────╯

```

This is strange: why the terminator was initially allocated on the remote host? So I need to monitor this manually and restart the wrong router to initiate the rerouting.

---

_[View the full topic](https://openziti.discourse.group/t/ziti-router-no-network-interface-found-for-0-0-0-0/4370)._
