Posted: Tue Feb 20, 2024 15:37 Post subject: System disconnect
I recently built a dd-wrt router out of an x86 system.
eth0 connects to the modem and eth1 is connected to a switch that distributes the connection.
However, when my wife's computer logs on, my system loses the internet for several minutes (while hers works with no issues... which is good, otherwise I'd get an earful).
I can STILL access the router, mind you, but I can't seem to find the correct tweak to prevent my disconnection from happening.
I'm considering adding NICs to the x86 system instead of using a switch for more reliability, would that most likely solve this issue?
Joined: 16 Jun 2006 Posts: 152 Location: Germany, BW
Posted: Wed Feb 21, 2024 0:09 Post subject:
OK, "Automatic Configuration - DHCP" is the WAN Setup.
On that Page there is also the Network Setup.
Router IP is three times the same IP, the mostly used "/24" is netmask 255.255.255.0
DHCP settings, DHCP Server, Enable, max DHCP users maybe 10 or so.
Static IP Setting on the PCs is easy and that has to work.
put in an IP of your subnet (of course not the Router IP), netmask, Gateway and DNS is the Router IP
Save this and it should work.
Maybe you can post pics of your setup.
did you change anything in the standard Network and/or Advanced Routing settings?
I eventually had to go back to getting IP automatically as neither systems would connect consistently after being given a static IP. It worked for a moment on one system, then would stop working the moment the other would log in and vice versa.
Neither system had the same IP, of course and a different IP than the router but within the same subnet, of course.
Joined: 16 Jun 2006 Posts: 152 Location: Germany, BW
Posted: Thu Feb 22, 2024 1:08 Post subject:
ok, we need more Infos
1. is the old DHCP (before you set up DD-WRT) disabled?
In your inital post you mentioned the modem. Maybe you use it also as DHCP-Server.
2. pls copy/paste (as Code) the Configuration Type under DD-WRT Status/WAN
3. if you use Windows-PCs, pls do "ipconfig /all" and copy/paste the infos from active LAN-Adapter from both PCs running at the same time.
Using Linux do ifconfig
We have to see IP, Gateway and DNS the PC gets from DHCP-Server
4. pls make pic from the rest of basic config page.
Normally a PC gets kicked out of Network if two PCs use the same IP and/or the same MAC-Address, so in your case maybe its the MAC.
Posted: Thu Feb 22, 2024 13:04 Post subject: Extra Info
I'll try and be as thorough as possible:
Modem is a CBN8000. It has two LAN ports but while both work, only ONE is instructed to be used. If that modem has DHCP, it's not a very good one. All instructions require the use of a router to distribute the modem's signal. (It's not even WIFI!)
I don't have any other routers in my network, the DD-WRT x86 system 'router' is what should be doing all the work. My previous router doesn't work anymore.
Right now I have a switch that distributes the DD-WRT router's signal to all the systems and while it CAN be stable, my wife's system seems to suck all the connection (disconnecting my system!) for several minutes before things start to even out.
-= Here's the DD-WRT Status/WAN page:
WAN
Configuration Type
Connection Type Automatic Configuration - DHCP
Connection Uptime 10:01:57
IPv6 Address Disabled
IPv4 Address 198.91.168.105/27
Gateway 198.91.168.97
IPv4 DNS 0 209.197.128.2
IPv4 DNS 1 209.197.128.5
Remaining Lease Time 1 day 13:58:03
-= Here's my main system's ipconfig:
Windows IP Configuration
I did check for duplicate MAC addresses but they are not the same.
I did reset the router values for Gateway and DNS, so the values shown are the default.
What I've been doing, however, is reset the router once both systems are up to rebalance the connection. Like I said, I still have access to the router even if my internet connection stops working, though I'd rather not have to do that all the time.
I hope this gives a better idea of what's happening.
Thanks for the suggestions, sorry for the late reply, I couldn't test earlier.
The ping command is really useful!
-= I did try a different switch, albeit a slower one, but the problem still occurs. Glad to know it's not the swith, though.
-= Not sure where to input the host name you are referring to in point 2.
-= IPv6 WAS enabled on DESKTOP-NHL09CE before. I noticed some strange DNS addresses in Hex and disabled it before posting last time.
-= I disabled SFE and saw no change.
Really starting to wonder if there isn't some BS happening on the modem side of thing, but I have no way of knowing.. I can't access the firmware of the thing.
Joined: 16 Jun 2006 Posts: 152 Location: Germany, BW
Posted: Fri Feb 23, 2024 22:41 Post subject:
1. Hostname is under Basic Setup
2. Did you use Lan Port 1 of your modem?
3. As everything worked with your old router, I would point to the new DD WRT and not to the modem beeing the cause of the disconnects.
Try this:
4. disable the second NIC (the 10.0 network) on both PCs
5. Go to Security / Firewall and enable Firewall log, LogLevel high, enable Dropped and Rejected.
Open both logs, start the permanent ping an power on other PC.
When you see ping not working press refresh on outgoing log.
6. check also Status / Lan if both PCs are under Active Clients and DHCP Clients.
Maybe there is some Info for the reason of the disconnects.