LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-08-2004, 03:26 PM   #1
geustace
Member
 
Registered: Mar 2004
Location: Palmerston North, New Zealand
Distribution: Fedora, Red Hat
Posts: 50

Rep: Reputation: 15
eth0 interface stops forwarding


I recently rebuilt our firewall, it has an Intel MB which uses the eepro100 driver for eth0 and I have a DLink quad ethernet using the sundance driver.

I am using iptables of Fedora Core 1.

I have been finding that after running for an undetermined period of time, traffic across eth0 stops. Nothing is logged to indicate a problem it just doesn't go anymore. eth1-4 still work fine.

Rebooting the firewall box restores service.

I have searched for similiar scenarios but unfortunately it is difficult to know what question to ask. I am suspecting a problem with IPTABLES.
 
Old 03-09-2004, 12:11 PM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
To solve this problem we will have to determine what is working and what is not.
When your box stop working, what is and is not working then?
Can you ping your eth0 from that machine?
What does ifconfig say? Is eth0 up and having an IP?
How does your routing table look? route
Is IPv4 forwarding still active? cat /proc/sys/net/ipv4/ip_forward (should return 1)
 
Old 03-09-2004, 12:53 PM   #3
geustace
Member
 
Registered: Mar 2004
Location: Palmerston North, New Zealand
Distribution: Fedora, Red Hat
Posts: 50

Original Poster
Rep: Reputation: 15
Nothing on the 192.168.1/24 can ping the interface and from the firewall box, I can't ping any of the others but the 192.168.1/24 machines can still ping each other. As far as I can see that pretty well nails the problem as being on the firewall.

eth0 has its IP 192.168.1.254 and is up.
ip_forwarding is set and is working fine between the other 4 interfaces.
the routing tables look fine. I forgot to include in my original post that I am running quagga ( zebra and bgpd ) but dont think it is relevant.

I came across a post that sounded a bit similiar and the solution for that person was to turn off all of the iptables rules and then turn them on again i.e. service iptables restart. I haven't tried this yet as the failure takes a while to occur, 3 weeks between the last two occurances.

You are correct, at this time I don't really know what is broken. It could be a problem with the eepro100 driver and this Manboard, it could be an iptables issue, it could be something else entirely :-(
 
Old 03-09-2004, 01:16 PM   #4
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
What kind of error do you encounter when the eth0 stop working?
You still have link on the NIC?
Are the firewall rules the same when the machine is working as it is when it's not?

Make printout of your iptables settings when it's working and compare. Pay special attention to the INPUT and OUTPUT chains.

From the firewall box cant you ping any interface or host? What so ever.
If not I would bet on the firewall blocking something in the INPUT or OUTPUT chain. These chain aren't traversed for forwarded packets, host to host on your DLink card.
 
Old 03-09-2004, 01:28 PM   #5
geustace
Member
 
Registered: Mar 2004
Location: Palmerston North, New Zealand
Distribution: Fedora, Red Hat
Posts: 50

Original Poster
Rep: Reputation: 15
No error is reported by the kernel or anything else that I can find.
Electrically, the link is still up. The led on the NIC socket is on.

No changes have been made to the iptables rules. I have a pretty stable rule set, it is a little messy because of the topology but other than this mysterious problem it works fine. I have checked the rules and I am not using INPUT or OUTPUT only FORWARD and POSTROUTING in the nat table.
 
  


Reply



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
Bringing up interface eth0 Delaying eth0 initialization. [ FA bansal_ashok Linux - Networking 4 05-27-2005 10:09 AM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 05:33 PM
Packet forwarding stops intermittently sh_ufton Linux - Security 3 02-12-2003 05:37 PM
iptables just stops forwarding mwisnie Linux - Security 9 01-05-2003 07:54 PM
RHL7.3 stops loading at "Bringing interface of eth0" rvijay17 Linux - General 1 10-10-2002 01:02 PM

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

All times are GMT -5. The time now is 06:36 AM.

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