LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2013, 12:07 AM   #1
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Rep: Reputation: Disabled
linux machines lose access to internet after random amount of time.. until ping out??


so like most infuriating network problems, this one happens only after an extended, seemingly random period of time. i have 5 static IPs on comcast business with which i have 4 linux machines connected, configured with 4 of these statics. If any one of them has had no traffic pass over their external interfaces for "some" time (usually half a day or more), these systems lose access completely from the internet. After this happens, the only way to restore connectivity is to ping (or initate any network transfer) from the machines out to the internet. When I do this on the machine, it IMMEDIATELY restores the connectivity.

Worringly, this appears like an issue with the cable modem, as, when the systems are knocked offline and I run a tcpdump on the external interface, I see absolutely NO traffic appear when I try to ping from the outside... it's like the cable modem forgets that there's a device even plugged in, and needs to be "reminded" that there's a machine there. A call to comcast support was completely worthless; they told me it was a problem with my equipment. Except that it happens with 4 different machines....

If i had to take a complete shot in the dark, i'd say that it's some sort of ARP caching that's not working properly, but i'd have no idea where to go from that. Because the packet capture shows absolutely nothing, I really don't have a lot to go by... but does anyone have any ideas? I've tried typical cable modem stuff (unplug/replug, have comcast re-push a config file down.) The modem is an SMCD3G, if that helps at all.

Last edited by psycroptic; 11-29-2013 at 12:19 AM.
 
Old 11-30-2013, 01:29 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,643

Rep: Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653
Are these 4 office machines running the current Arch ?
if not what OS is installed

also comcast is ipv4
new Linux OS's look for the ipv6 address unless you disable that
 
Old 11-30-2013, 02:58 PM   #3
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
yes, all current pacman -Syu'd Arch. and Linux actually, by default, looks for BOTH ipv6 and ipv4. In any case, it doesn't matter cause i've had "ipv6.disable=1" on the kernel line on all the machines.

i will say that, in addition to initiating traffic from the machines to restore access, I can also go into the modem config page and click "refresh" on the "connected devices" page... if that helps at all.
 
Old 11-30-2013, 05:00 PM   #4
Stuferus
Member
 
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174

Rep: Reputation: Disabled
call comcast.. i suspect that this is not on your side bit comcast may kill the connection if nothing comes from your machienes.. you could write a cron script to send a single ping to a random host on the internet (google maybe?) every 10 minutes?!?
 
Old 11-30-2013, 05:06 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
yes this happen to me with my IP At&T modem was going slowly but was never proved the code said that but was not consistent. They said buy a new one. but I had them replace it at their cost they wanted me to buy a different model. Wala they had boxes of my type of medems never used at the store. Many people said the same thing as they try to force us to use uverse.
 
Old 11-30-2013, 07:30 PM   #6
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
yeah, i was afraid of this... and yeah stuferus i'm kinda thinking a keepalive cronjob might be the only solution... but damnit i shouldn't have to do that. particularly for the ungodly amount of money i pay comcast... and they damn well shouldn't "kill" connections from IPs that, by their definition, are intended to be for servers.

even worse, they force me to use their modem, and they only offer 1 model (this POS SMC)...

(btw, to the dude who said comcast is IPv4, comcast BUSINESS, which is what i have, actually has enabled IPv6 to their clients in my area (nashville, TN))
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows clients fail to resolve un-FQDN'd hostname after a random amount of time psycroptic Linux - Networking 1 05-22-2013 07:25 PM
Synchronize time between two linux machines without internet connection sindhu4sind Linux - Newbie 2 06-05-2012 02:05 PM
Make most amount of Linux users in least amount of time studpenguin General 24 02-02-2007 04:42 PM
How come I can ping between machines, but not get internet? ozymandias Linux - Networking 5 09-11-2005 05:20 PM
Ping times grow HUGE after X amount of time Shade General 2 05-12-2005 12:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration