Bitcoin Forum
June 03, 2024, 12:43:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-qt peer connection issues  (Read 1188 times)
coinz4dayz (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
October 21, 2014, 08:05:49 PM
Last edit: October 22, 2014, 12:56:23 AM by coinz4dayz
 #1

So a bit of background info. I was originally running a full node with bitcoin-qt with no issues. I was averaging about 40 connections with a maximum of 80 from what I can recall. Well my old router/gateway was dropping it's internet connection and needed to be rest almost daily. I decided to replace it but I'm a noob and screwed up and only bought a router. I didnt want to buy a modem so I'm using the old router/gateway with dmz enabled and set the new router as the host. I also forwarded port 8333 on the new router.

It fixed the dropping internet issue but now I can only get a maximum of 14 connections with the lowest being 9. I know hardly anything about networking so I have no idea where to even begin solving this. I did check my node with

https://getaddr.bitnodes.io/#join-the-network

And it came back with a green check mark so I guess it's okay? Can anyone shed any light on what's going on? Thanks.

Edit: I also have DHCP enabled on both routers which I don't think is right. Maybe that has something to do with it?
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
October 22, 2014, 04:32:53 AM
 #2

When you port forward, you must specify the IP address of the internal computer running Bitcoin. If you are using DHCP, this does not guarantee that the internal computers will always receive the same IP addresses. You should set up a DHCP fixed lease in your router for the particular computer's MAC address, or manually configure the IP address on the machine itself.

Only one device should should be a DHCP server for your local network, and there should only be one layer of network address translation (your router's external interface should get a real internet address from the modem or network it is connected to).
coinz4dayz (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
October 22, 2014, 08:15:19 PM
 #3

Thanks so much for replying it really helped. After trying to mess around with the DHCP settings to no avail I think I'm just going to buy a dedicated modem so I don't have two routers interfacing with each other.

Posted From bitcointalk.org Android App
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
October 23, 2014, 03:40:34 AM
 #4

Did your public IP address change when you added the other router? If so, it may take a while for your node's information to get passed around the network again. If it is a DHCP issue, getting a dedicated modem won't necessarily help, as the computer running bitcoind still needs to have a static IP with the correct port forwarded to it.

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!