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 07-28-2004, 02:47 PM   #1
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
Firewall WAN eth0 LAN eth1 self-bridges, eth0 does all routeing.


For several months I have had a machine up and running providing the 3 services to my "small" home network. Running Slackware 10
It provides:
1) firewall, between WAN router and LAN network.
2) auth DNS for my network.
3) Mail services.

Everything has been fine until yesterday when I shut it down to move it to make move for yet more machines. Now all traffic flows through eth0 (the WAN side) even for eth1. The server seems as if it bridged the network cards...

Layout of network.... prior to move

Inet----WAN router------server eth0-server eth1-------LAN switch-----computers

the above setup (correct) worked just fine. Traffic flowed through eth1 routed to eth0 and out to the www.... NOW this

Inet----WAN router------server eth0-server eth1--------LAN switch-------computers
|--------------------------------------------------|

The LAN switch now must be plugged into the WAN router for anything to work...
The firewall is bypassed.. the server eth0 answers eth1 pings, iptraf shows eth1 to be void of traffic and all traffic sent to eth1 is answered by eth0 both in and out. eth0 addy is different than eth1 as well as different hostnames bond to them. eth1 is the assigned gateway to my internal machines. eth1 also has the alias of the mail server and is the machine of A record for DNS. Yet all traffic passes both in and out to eth1 via eth0 the physical connection of eth1 shows no traffic. Now for even more interesting things... IF the network cable is unpluged from eth1 the network stops working. If you un plug eth0 of course it stops to. If you remove the "jumper" from the WAN router to the LAN switch the network stops.

No configuration changes have occured on this machine. eth1 netcard is working and its only shown traffic is from replies to windows netbios (samba running on this box also). Yet LAN traffic to WAN no longer passes through it.
I have tried with the firewall down and it is still the same. I have searched the machine over for any changes and have found none. I cannot find if the cards have "bridged" some where are not....

I am fustrated to the point of hack/slash/and burn to make another box and stick it in place. It is not as if I don't have another one to do it with.... To my right sits a FreeBSD box with nothing to do but sit there...
 
Old 07-28-2004, 06:16 PM   #2
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
have you checked the route utility to see if the routing table is still intact? sounds like a routing failure.
 
Old 07-28-2004, 08:03 PM   #3
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Original Poster
Rep: Reputation: 30
mail-dn."mydomain" * 255.255.255.255 UH 0 0 0 eth1
ns-dn."mydomain" * 255.255.255.255 UH 0 0 0 eth1
SlackBox.dragon * 255.255.255.255 UH 0 0 0 eth1
192.168.27.0 * 255.255.255.0 U 0 0 0 eth0
192.168.27.0 * 255.255.255.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
default TheGate."mydomain" 0.0.0.0 UG 1 0 0 eth0

YEP
 
Old 07-29-2004, 10:14 AM   #4
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
192.168.27.0 * 255.255.255.0 U 0 0 0 eth1

I dont think this line should be in there. What that is saying is to route all traffic destin'd for 192.168.27.x to eth1. also the default route puts everything on eth0. That means that if there is not a specific route then it will be sent there.
 
Old 07-29-2004, 01:51 PM   #5
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
>>192.168.27.0 * 255.255.255.0 U 0 0 0 eth0
>>192.168.27.0 * 255.255.255.0 U 0 0 0 eth1

Doesn't eth1 need to be on a differenet subnet? This would appear to send the same traffic in both directions.
 
Old 07-29-2004, 02:33 PM   #6
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
I agree, eth1 should be on the subnet of your WAN (DSL) link.
 
  


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
eth0(WAN) and eth1(LAN) getting mixed with weird results Artanicus Linux - Networking 3 08-12-2005 07:23 AM
Assigning eth0 / eth1 or multi-LAN motherboards? Eastside Linux - Networking 5 06-13-2005 10:34 PM
Wireless network on eth1 diabled Ethernet eth0 and eth0 never comes back tadatoshi Linux - Wireless Networking 4 09-23-2004 05:57 PM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM
It dznt matter wheter eth0 (internet) or eth1(my lan) lelski Linux - General 1 06-07-2003 08:36 PM

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

All times are GMT -5. The time now is 10:00 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