# Problems with network setup

**URL:** <https://forum.cardano.org/t/problems-with-network-setup/46874>\
**Category:** Setup a Stake Pool\
**Created:** [8 February 2021 10:35 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874 "2021-02-08T10:35:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [8 February 2021 10:35 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/1 "2021-02-08T10:35:23Z")

</div>

Hi all,

It seems that I have some problems with setting up ports and ip-adress in the topology file. There are some problems as you can see on the GUI, Also I am not receiving any lovelace.

 ![Schermafbeelding 2021-02-08 om 11.29.14](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/1/a/1afc007e059c379b419f03596d9e0f426006c444.jpeg)

Is there some extensive tuturial with setting up the topology file, for the BP and relay. Because I think tere is still a problem in these files. Hopefully someone can help me out, I would really appreciate it!

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 10:37 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/2 "2021-02-08T10:37:59Z")

</div>

Did u instaled version 1.14.2 ?  
u need to install 1.25.1 for mainnet.

also the topology folder should be used only on relay (you need to set static connection between BP and Relay)

Cheers,

---

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [8 February 2021 10:43 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/3 "2021-02-08T10:43:46Z")

</div>

Thank you for your response, I really appreciate it.  
yes I installed 1.14.2, and following the instructions as explained here: [IOHK\_link](https://github.com/input-output-hk/cardano-tutorials/blob/master/node-setup/000_install.md)

So I only need to adjust the topology folder for the relay? Can you maybe explain how I should adjust the file ?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 10:44 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/4 "2021-02-08T10:44:59Z")

</div>

you need to install 1.25.1 version first… and after we will check the files…

---

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [8 February 2021 11:05 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/5 "2021-02-08T11:05:00Z")

</div>

Thank you, I will do this first. I will let you know when finished!

---

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [8 February 2021 12:24 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/6 "2021-02-08T12:24:39Z")

</div>

Ok so I got 1.25.1,.

When creating the stakepool, I don’t understand the part with BP node and relay node:

cat \> NODE\_HOME/{NODE\_CONFIG}-topology.json \<\< EOF  
{  
“Producers”: [  
{  
“addr”: “\<RELAYNODE1’S PUBLIC IP ADDRESS\>”,  
“port”: 6000,  
“valency”: 1  
}  
]  
}  
EOF

cat \> NODE\_HOME/{NODE\_CONFIG}-topology.json \<\< EOF  
{  
“Producers”: [  
{  
“addr”: “\<BLOCK PRODUCER NODE’S PUBLIC IP ADDRESS\>”,  
“port”: 6000,  
“valency”: 1  
},  
{  
“addr”: “[relays-new.cardano-mainnet.iohk.io](http://relays-new.cardano-mainnet.iohk.io)”,  
“port”: 3001,  
“valency”: 2  
}  
]  
}  
EOF

What do I have to fill in at both addresses?  
Is it just my public ip4 address?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 13:02 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/7 "2021-02-08T13:02:47Z")

</div>

here, u need to create ur topology so in ur BP Producer you will add something like that:

{  
“Producers”: [  
{  
“addr”: “x.x.x.x (your public relay ip address)”,  
“port”: xxxx, your relay port  
“valency”: 1  
}  
]  
}

and save the file… now ur Producer will know to which IP to connect.

On your relay u should use topology updater

---

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [8 February 2021 13:12 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/8 "2021-02-08T13:12:35Z")

</div>

So both (in bp topology and relay topology) of the addresses are equal to my ip4 address?

Does the port mather? I know that \<1300 or so, are reserved.  
What is by the way ‘topology updater’?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 13:24 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/9 "2021-02-08T13:24:58Z")

</div>

> [@Marc77](#):
>
> So both (in bp topology and relay topology) of the addresses are equal to my ip4 address?

So both (in bp topology and relay topology) of the addresses are equal to my ip4 address?

Yes

Does the port mather? I know that \<1300 or so, are reserved.

No but the port u will use when u will register the relay

What is by the way ‘topology updater’?

Since the test network has to get along without the P2P network module for the time being, it needs static topology files. This “TopologyUpdater” service, which is far from being perfect due to its centralization factor, is intended to be a **temporary** solution to allow everyone to activate their relay nodes without having to postpone and wait for manual topology completion requests.

The topologyupdater shell script must be executed on the relay node as a cronjob **exactly every 60 minutes**. After **4 consecutive requests (3 hours)** the node is considered a new relay node in listed in the topology file. If the node is turned off, it’s automatically delisted after 3 hours.

---

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [8 February 2021 15:05 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/10 "2021-02-08T15:05:56Z")

</div>

![Schermafbeelding 2021-02-08 om 15.53.08](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/6/9/69ea1a9ff2f1190788d0d52fd07b3e9af5e3c03d.jpeg)

Looks like the node is running, but I don’t know why peers is 2/0? I read somewhere that I need to wait for syncing?  
What I was wondering is, relay and BP are two different servers, but what is meant with servers. Can these be running on the same ubuntu PC, as I am trying to achieve now? (Sorry that I am don’t understand some parts, but I am just a full time python developer).

Maybe everything is ok, and I should start generating block-producer keys?  
Hopefully you can help me step by step through this 😉  
Would be highly appreciated.

Cheers,

Marc

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 15:12 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/11 "2021-02-08T15:12:22Z")

</div>

> [@Marc77](#):
>
> is 2/

you must wait to sync and after u will run the topology updater in order to announce your node into the network, so other nodes will know you and they will connect

BP and Relay are 2 separately nodes and they should work on different machine (for security reason); I don’t know if you can run both on same ubuntu PC because u will need 1 IP for each other and some HW resources like minim 4G RAM at least 50 g HDD for each one, etc…

You must wait to sync in order to create the certification files, kes, etc

---

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [8 February 2021 19:50 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/12 "2021-02-08T19:50:22Z")

</div>

Ah, I get it now when using two PC’s that is why the BP and relay have each others IP address in the topology file. I have now a Ubuntu PC with:  
Intel® Core i5-9600K, 3.7 GHz (4.6 GHz Turbo Boost)  
1 TB ssd  
16gb of RAM

I will probably setup a 2nd pc then for one of the nodes then, do you recommend for example to run the BP or relay node on a stronger PC or does it not really matter?  
Or is it a advance to run one of them on the PC with the best specs?

Thank you so far for the kind help and responses.

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 19:53 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/13 "2021-02-08T19:53:17Z")

</div>

Hmm, I think the BP should be build on the pc with best specs

---

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [9 February 2021 08:19 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/14 "2021-02-09T08:19:12Z")

</div>

Do you have recommandations what to buy for a relay node (hardware)?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [9 February 2021 08:24 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/15 "2021-02-09T08:24:06Z")

</div>

do you want to buy a system? or do you want to rent a vps service?

---

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [9 February 2021 09:01 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/16 "2021-02-09T09:01:56Z")

</div>

A system, I have now a PC:

> Intel® Core i5-9600K, 3.7 GHz (4.6 GHz Turbo Boost)  
> 1 TB ssd  
> 16gb of RAM

I was thinking for the relay node to add a Raspberry pi 4B 4GB RAM 128SSD 1,5 GHz 64-bit quad-core processor

Also, what are the advantages to add multiple relays or to expand later on with relay nodes. 1BP is the min and the max right, for the stakepool?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [9 February 2021 09:11 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/17 "2021-02-09T09:11:28Z")

</div>

Hello,

you can run your pool only with your BP (without any relays) but it is not a good practice (security reasons)

The relays are used to “hide” your Producer from the public network;  
There are more reasons why u should use more than 1 Relay:

- fast propagation
- reliability (if one relay crashed your Producer will still have connectivity through 2nd relay)

but you can start read this first for many other informations which you should know before to start:

[https://docs.cardano.org/en/latest/getting-started/stake-pool-operators/index.html](https://docs.cardano.org/en/latest/getting-started/stake-pool-operators/index.html)

Cheers,

---

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [17 February 2021 08:37 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/18 "2021-02-17T08:37:45Z")

</div>

Hi Alex,

At the moment I have some problems on my Air-grapped offline machine.  
When generating the keys.

cardano-cli node key-gen   
–cold-verification-key-file node.vkey   
–cold-signing-key-file node.skey   
–operational-certificate-issue-counter node.counter

It says: cardano-cli: command not found.

Is the command not valid, did I miss something?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [17 February 2021 09:21 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/19 "2021-02-17T09:21:42Z")

</div>

cardano-cli - -version  
It’s working?

---

<div class="post-metadata">

**Author:** ![Marc77](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/marc77/32/23026_2.png) [@Marc77](https://forum.cardano.org/u/Marc77)\
**Post date:** [17 February 2021 09:25 UTC](https://forum.cardano.org/t/problems-with-network-setup/46874/20 "2021-02-17T09:25:27Z")

</div>

No not on my Air gapped offline machine (it says cardano-cli: command not found) again, I just copied the cli folder and executable.  
I don’t know if that is ok?

[Next page](https://forum.cardano.org/t/problems-with-network-setup/46874.md?page=2)
