Creating Stake Pool using Servers in Organization LAN

In the case where the relay node and the block producing node are within the same network in a company LAN behind a proxy, when updating topology, should addr value be the local LAN IP? I see public ip being mentioned in tutorials, what is a public ip in this case? what else needs to be done from network perspective for the relays and the block producing node to participate in the network?

Block producer topology (192.168.168.140 and 192.168.168.141 are local LAN ips for two relay nodes):

    {
  "Producers": [
     {
      "addr": "192.168.168.140",
      "port": 3001,
      "valency": 2
    },{
      "addr": "192.168.168.141",
      "port": 3001,
      "valency": 2
    }
  ]
}

Relay node topology (192.168.168.143 is block producer local LAN IP)
{
“Producers”: [
{
“addr”:“192.168.168.143”,
“port”: 3001,
“valency”: 1
},{
“addr”: “relays-new.cardano-mainnet.iohk.io”,
“port”: 3001,
“valency”: 2
}
]
}

In such a situation where you have servers with local IPs, will I use the local ip for host-addr when starting a node?

cardano-node run
–topology testnet-topology.json
–database-path db
–socket-path db/node.socket
–host-addr x.x.x.x
–port 3001
–config testnet-config.json

no for both, BP and Relay, you need the parameter below
–host-addr 0.0.0.0

Thanks. Are the topology files okay as above with the local IPs of the servers? Do I need to give any of the servers an internet facing public IP or it will work as is with the local IPs and with internet access via proxy?

for the BP you need the IP, port and valency for the Relays,
on the relays, we recommend to use topologyupdater.

if there is LAN IP internal communication, you can use the LAN IP and no public IP(for the BP, i speak)

Thanks. Please point me to a procedure for setting up the topologyupdater.

https://cardano-community.github.io/guild-operators/#/Scripts/topologyupdater

1 Like

I have another issue here: Error Building Cardano Wallet on RHEL 8 (Guild Operator steps)

Is there someone who can help me?