LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-06-2010, 10:42 AM   #1
fdelvall
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
Strange behaviour in a multi network router.


Hi.
We are working on a project based entirely on Centos 5.5 servers.

Our problematic host (Centos 5.5 server) is standing between our Lan and DMZ segments. It seems buggy, or at least it's administrator (me
The host has 5 interfaces. Eth0 has 3 subinterfaces.

Eth0 is the default gateway for the LAN, and its subinterfaces provide access to different Squid instances.

Eth4 is our LAN interface devoted to database connections.

Eth1 is our DMZ interface devoted to the DMZ servers, thru which these request database connections .

The traffic has been segmented as to provide traffic-shaping to the eth0 interfaces (internet access) while keeping the database interface running with full bandwidth.
Thus it is expected to preserve the database connection running from eth1 thru eth4 even when users might saturate eth0.

The weirdness is such that most of the time other Unices, though having static routes for eth4's IP, answer through eth0 even while eth0 is not their default gateway. This is the case for HP-UX servers running Informix databases.

# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
172.16.200.105 172.16.200.105 UH 0 lan0 4136
172.16.200.106 172.16.200.106 UH 0 lan1 4136
192.168.200.18 172.16.200.17 UGH 0 lan1 0
172.16.0.0 172.16.200.106 U 2 lan1 1500
172.16.0.0 172.16.200.105 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 172.16.100.100 UG 0 lan1 0

Curiously enough, other Centos 5.5 w/MySQL sharing a similar routing table work seamlessly.

root@Linux05# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.200.16 172.16.200.17 255.255.255.240 UG 0 0 0 eth0
172.16.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 172.16.100.100 0.0.0.0 UG 0 0 0 eth0


Windows workstations work strangely.
SSH is expected to go thru the default gateway, but they try randomly eth4, and finally route thru eth0 as expected. Windows workstations have no route to the remote eth4, just a default gateway to remote eth0.
Ubuntu and Fedora workstations, curiously enough, persistently try to route ssh traffic thru eth4, which is blocked. These workstations have no more than a default gateway to the remote eth0.

When the problematic host is reboot, services may work as expected for some minutes. But then again, traffic from database servers switch to eth0 and ssh clients to eth4.

As our firewall permits just the intended traffic, when the bug shows we run out of production and administration capability as well.

Servers run over VmWare Enterprise/Vsphere Enterprise Plus on an HP Blade system, on xeon processors.

Other 8 virtualised Centos 5.5 servers work fine, route well, and their interfaces don't overlap networks.

Eth0 and eth4 belong to the same network. Eth0:0, eth0:1 and eth0:2 are reserved for squid access.

In brief:
The DMZ tomcat servers initiate BD connections. The BD receives requests thru eth4 and reply thru eth0 (should go thru eth4), #1 problem.
The Lan workstations initiate SSH connections. The requests go thru eth4 (should go thru eth0), #2 problem.

Any help would be greatly appreciated.

Note: 172.16.0.0/16 is our Lan segment.

172.16.200.101 172.16.200.103 172.16.200.105 172.16.200.112 are HP-UX Informix database servers.

172.16.200.25 is Centos 5.5 mySQL database server.

Tranks.

Fredrick.

Note: configuration is described in attachment.
Attached Files
File Type: txt server_config.txt (13.1 KB, 6 views)
 
Old 08-10-2010, 07:06 AM   #2
fdelvall
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Found the problem resides in either the HP blade switches or VMWare, as we've found that pinging both eth0 and eth4 from our lan result in same mac address resolved. Quite mystifying,as VMware and the Centos machines show different mac addresses for both interfaces.

F.
 
  


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
Copying files over a network - Strange behaviour jsteel Linux - Networking 5 01-11-2010 01:32 PM
Strange behaviour with my 4 port router hitest *BSD 2 08-26-2008 02:39 PM
Strange: Can ping network computers but NOT router! BaltikaTroika Linux - Networking 2 05-11-2007 05:17 AM
Strange Behaviour! joshuarowley LQ Suggestions & Feedback 1 12-08-2005 03:36 PM
Strange behaviour Anmol SUSE / openSUSE 2 10-27-2005 11:05 PM

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

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