Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-20-2005, 07:57 AM
|
#1
|
Member
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31
Rep:
|
link dies intermittently-seemingly at random- between win<->linux not linux<->linux??
I have a mandrake 10.1 box/server which I use to firewall a laptop at home and mandrake and winXP installed on the laptop. When I'm connected to the server with linux on the laptop I *never* have any problems. Yet when I boot the laptop into XP the link to the server (and the Internet) intermittently fails. Like once every fifteen minutes or so the link just dies and I get no response when I ping the server. Then, within three or four minutes, the link is back up again.
Has anyone any ideas what might be causing this? I would suspect a faulty ethernet card if it wasn't for the fact that when I connect in linux it never fails.
Has anyone any ideas how I might go about tracing the problem.
It is really frustrating when you're working - as I am at the moment - at getting that piece of sh*t IExploder to render CSS properly in php generated pages and every few minutes puTTy dies on you and you've got to wait around twiddling your thumbs for it to come back up and then get back into the directory on the server etc etc etc.
Any help-ideas-suggestions greatly appreciated!
---------------------------------------------------------------
http://hasperacu.zapto.org
Last edited by takahaya; 09-20-2005 at 07:59 AM.
|
|
|
09-20-2005, 08:03 AM
|
#2
|
Member
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338
Rep:
|
On the server:
cat /var/log/messages | grep eth
Any interesting errors/warnings?
|
|
|
09-20-2005, 08:20 AM
|
#3
|
Member
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31
Original Poster
Rep:
|
A *lot* of iptables dropped packets get logged much of which I have trouble understanding since I cobbled together the firewall script from various sources. A lot of stuff gets logged. As far as cat /var/log/messages | grep eth1 (the internal ethernet card) I notice something that seems to me a little strange:
Sep 20 08:58:30 pc65120 kernel: IPTABLES UDP-IN: IN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0a:42:6e:d8:54:08:00 SRC=172.24.0.1 DST=255.255.255.255 LEN=419 TOS=0x00 PREC=0x00 TTL=255 ID=12680 PROTO=UDP SPT=67 DPT=68 LEN=399
Sep 20 09:03:59 pc65120 kernel: IPTABLES UDP-OUT: IN= OUT=eth1 SRC=192.168.3.1 DST=192.168.3.255 LEN=247 TOS=0x00 PREC=0x00 TTL=64 ID=4375 DF PROTO=UDP SPT=138 DPT=138 LEN=227
Sep 20 09:09:16 pc65120 kernel: IPTABLES UDP-IN: IN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0a:42:6e:d8:54:08:00 SRC=172.24.0.1 DST=255.255.255.255 LEN=413 TOS=0x00 PREC=0x00 TTL=255 ID=12872 PROTO=UDP SPT=67 DPT=68 LEN=393
My laptop ip is set to 192.168.3.2 (notice the second logged udp packet). But what of the other two? Why is the source 172.24.0.1??
(Perhaps I should mention that I don't see any warnings/errors in the messages log.
Last edited by takahaya; 09-20-2005 at 08:21 AM.
|
|
|
09-20-2005, 09:03 AM
|
#4
|
Member
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338
Rep:
|
172.24.0.1 is part of 172.16.0.0/12, reserved for private networks like 192.168.x.x.
Not sure if I'm reading this right but 00:0a:42 is a Cisco MAC address - do you have any Cisco gear on your network?
Back to the task at hand. I was expecting to see messages about link beat lost when your putty connection dies. Are the machines connected directly with a crossover cable or are they hooked up to a hub or switch? Could XP be pushing the laptop ethernet into a powersaving mode?
|
|
|
09-20-2005, 09:48 AM
|
#5
|
Member
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31
Original Poster
Rep:
|
The computers are connected through a hub. The 'server' is connected to a cable modem through the same hub. Stupid of me not to guess it's probably the modem that has the address 172.etc
Looking at the settings for 'power options' in the control panel (is that where I'd look?) I can't see anything that you'd think would affect the network.
Thanks for your interest so far.
|
|
|
09-20-2005, 10:05 AM
|
#6
|
Member
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338
Rep:
|
A hub, not a switch...so the network runs at 10Mbit? Perhaps XP is trying 100Mbit every so often - you should be able to force 10Mbit in device manager/properties of NIC if you're using a driver from the vendor.
Other than that, as your hardware works fine in Linux, the readers of a XP forum would probably be better equipped to advise on the mysteries of Redmondware.
|
|
|
09-20-2005, 05:54 PM
|
#7
|
Member
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31
Original Poster
Rep:
|
Why would the network run at 10M because it's a hub not a switch? The hub is the dumb cheapo variety but it does have 10/100M etched on the casing. Anyway, I've had a squizz at the NIC properties (thanks for the suggestion) and it has an 'advanced' setting for link speed/duplex mode, currently set to auto-negotiation. I may just try out the other settings and see whether the link still fails. I'll let you know what happens though like you say, it may be better trying an XP forum (do they exist?)
|
|
|
09-21-2005, 03:51 AM
|
#8
|
Member
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31
Original Poster
Rep:
|
I was wondering if anyone might know of any decent Windows forums that might be in any way savvy to the problems I'm having?
---------------------------------
http://hasperacu.zapto.org
|
|
|
07-07-2006, 04:24 AM
|
#9
|
Member
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732
Rep:
|
do this at the windows when this happens
Code:
ipconfig /release
ipconfig /renew
wait 140+ seconds, and enjoy.
I've heard that someone had this 140 second bug, I still think it's a process who tries to connect and give windows expected failure after 140 seconds.
I know it sound stupid, but try it and lemme know if it's the same bug.
|
|
|
07-13-2006, 05:43 PM
|
#10
|
Member
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31
Original Poster
Rep:
|
Thanks for the suggestions. I fixed the problem without ever figuring out why it only occurred while Windows was running. The firewall linux box was connected through a hub. Since I only have one computer here I need to connect to it I removed the hub in the middle and ever since it's worked fine.
So it was the hub? Well, I still have the linux box connected to the cable modem through the hub and there's never been any problems there so....
Perhaps one day I'll try your suggestion.
|
|
|
03-09-2007, 10:37 PM
|
#11
|
Member
Registered: Dec 2006
Distribution: Debian (Wheeze)
Posts: 391
Rep: 
|
You should be able to ditc the hub and use the linux router, server & firewall machine directly connected to one of your nickcards on the aftermentioned box.You might have to reconfigure your firewall again but if you have done this once already it shoould be amatter of just taking the hub out of the loop between the machine acting as the router and plugging the routers Cat5 cable into the nick card that linux has designated as eth0 and installing the correct packages to run a dhcp server on eth1 for your internal network.
|
|
|
All times are GMT -5. The time now is 11:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|