weird network problem

This is a discussion on weird network problem within the Linux Networking forums, part of the Linux Forums category; Hi, I have linux box two NIC cards. It is Intel 815E motherbard PC with PIII processor and two rtl ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-08-2003
Łukasz Michalski
 
Posts: n/a
Default weird network problem

Hi,

I have linux box two NIC cards. It is Intel 815E motherbard PC with
PIII processor and two rtl 8139 PCI cards. One is connected to
internet throogh Motorola SURFBoard TV cable modem using cat5 ethernet
cable, and second is connected to 5-port switch.

Both cards runs at 100Mbps ful-duplex.

I have firewall and NAT set up on that box, and I do some port
forwarding all using iptables.

I run dhcpcd on eth1 to obtain ip and default gw from TV company, and
dhcpd on eth0 for my local network.

OS is Slackware linux 9.0 with kernel 2.4.20.

This configuration worked for me from about one year and now I run
into problems that I can't solve.

The problem is that NIC connected to internet stops working after some
peroid of time (5 minutes to couple of hours - depending on network
activity).

When it happens, I can't connect to any host on network and cant ping
my default gateway any more. There is nothing in logs, and when I run
tcpdump on that card I notice that there _is_ some network activity -
I see lot of arp queries from routers and my icmp echo request to
router without any reply.

I can ping eth1 but nothing else.

When I reset modem everythig goes back to normal for some time and
then eth1 stops working again.

Eth0 card connected to local network works properly all the time.

I tried to solve problem by:
- replacing rtl8139 with other 8139 card
- replacing rtl8139 with build-in eepro100 NIC
- downgrading kernel to 2.4.17
- upgarding 8139too driver to 0.9.22a
- making cable TV company to replace my cable modem with new one
- disabling all iptables rules
- disconnecting local network and removing NIC card.
- switched networks on eth0 and eth1
- replacing cable between eth1 and cable modem.
- reseting dhcpcd after hang
- reloading rtl8139 module after hang.

All above actions give me no results.

I connected another computer to cable modem (notebook with old 3Com
EtherlinkIII PCMCIA card running slackware 8.1 with kernel 2.4.7) and
it works without any problems so I assume problem is in my linux box.

When eth1 hangs, and i unplug it from cable modem and plug it into my
switch I can ping other computer connected to that swich, so I think
NIC is working. This is very strange. I get no errors and no dropped
packets in ifconfig stats for eth1.

mii-tool does not work at all - it shows no link and wrong network
speed. I can't switch to 10Mbps with this tool.

If someone has any idea what can cause this or what else could I check
to locate the problem I would be very grateful.

Regards,
Łukasz


Reply With Quote
  #2 (permalink)  
Old 07-09-2003
Nathan Higgins
 
Posts: n/a
Default Re: weird network problem

Possibly a DHCP problem, when your modem tries to update the IP if you are
using certain iptables rules you might have inadvertently prevented DHCP
updates. Preventing ICMP requests can also cause this problem. Flush
iptables rules and monitor the problem , understandably you will only be
able to do this from the box connected to the modem but it will rule out the
firewall as the cause.

--
Nathan D Higgins

Website: http://nathan.link9.net/
Email: nathan[at]link9[dot]net
Hosting: http://www.link9.net
WAP: http://wap.link9.net
[dot]NET: nathan[at]link9[dot]net


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0