Skip to content

Creating a second bootnode on IBFT2.0(POA) #681

Closed
@yehia67

Description

Hello,
I am following this tutorial I had already create one bootnode and three validators. Now I want to add a second bootnode
so I modified the bootnode command to use new ports 3043 and 8645 .
besu --data-path=data --genesis-file=../genesis.json --p2p-port=30403 --rpc-http-enabled --rpc-http-api=ETH,NET,IBFT --host-whitelist="*" --rpc-http-cors-origins="all" --rpc-http-port=8645

then I created the other three validators and gave them --p2p-port from 30404' to 30406then for --rpc-http-port from8646to8648but it doesn't work and keep giving meNo peers connected`

Commands I used are:

start bootnode 2 command: (node 5)
besu --data-path=data --genesis-file=../genesis.json --p2p-port=30403 --rpc-http-enabled --rpc-http-api=ETH,NET,IBFT --host-whitelist="*" --rpc-http-cors-origins="all" --rpc-http-port=8645

node 2 URL = Enode URL enode://a8aa3cc487b15ddfb78a705a99225b20cf5ecee4908c2f526f006b52ee80816e41c41545922ce90cce0f5764e9f5c51e21ea49e635ecd242e95ae6987eac39a2@127.0.0.1:30403

node 6 command:
# besu --data-path=data --genesis-file=../genesis.json --bootnodes=enode://a8aa3cc487b15ddfb78a705a99225b20cf5ecee4908c2f526f006b52ee80816e41c41545922ce90cce0f5764e9f5c51e21ea49e635ecd242e95ae6987eac39a2@127.0.0.1:30403 --p2p-port=30404 --rpc-http-enabled --rpc-http-api=ETH,NET,IBFT --host-whitelist="*" --rpc-http-cors-origins="all" --rpc-http-port=8646 --min-gas-price=0

node 7 command:
besu --data-path=data --genesis-file=../genesis.json --bootnodes=enode://a8aa3cc487b15ddfb78a705a99225b20cf5ecee4908c2f526f006b52ee80816e41c41545922ce90cce0f5764e9f5c51e21ea49e635ecd242e95ae6987eac39a2@127.0.0.1:30403 --p2p-port=30405 --rpc-http-enabled --rpc-http-api=ETH,NET,IBFT --host-whitelist="*" --rpc-http-cors-origins="all" --rpc-http-port=8647

node 8 command:
besu --data-path=data --genesis-file=../genesis.json --bootnodes=enode://a8aa3cc487b15ddfb78a705a99225b20cf5ecee4908c2f526f006b52ee80816e41c41545922ce90cce0f5764e9f5c51e21ea49e635ecd242e95ae6987eac39a2@127.0.0.1:30403 --p2p-port=30406 --rpc-http-enabled --rpc-http-api=ETH,NET,IBFT --host-whitelist="*" --rpc-http-cors-origins="all" --rpc-http-port=8648

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions