LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-27-2010, 04:58 AM   #1
ThelenShar
LQ Newbie
 
Registered: Nov 2009
Posts: 14

Rep: Reputation: 0
Routing server in datacenter traffic to different locations (in datacenter)


Server A:
ip 1.1.1.5
gw 1.1.1.254

Server B:
ip 1.2.2.5
gw 1.2.2.254

First of all, is it even possible to route via another server? Assuming nothing tricky is being done in the datacenter (which I know there is but we don't know what so forget about that for now), it would be server a -> switch -> server b (possibly router in between depending on locations of the server).

If so, is it possible to get a little more granular, such that some traffic/ports go via one server, others via another, even possibly in a different datacenter altogether?

And from the other perspective, can applications (TCP/UDP mainly) deal with this type of routing?

What about if it via multiple load-balanced places?

I know general networking stuff, ccna level, but I haven't read of anyone doing this so I'm not sure if there is any GOTCHA that I've not thought of.
 
Old 12-27-2010, 05:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what do you actually want to do?? It feels like there's a big paragraph missing at the start that explains what you mean by "routing via another server" Do you mean something like application load balancing? Somethign nginx is a reasonable starting point for if its web traffic.
 
Old 12-27-2010, 06:24 AM   #3
ThelenShar
LQ Newbie
 
Registered: Nov 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Yea there is a big paragraph missing because I am not sure how much I want to say, >_>

Basically, there are restrictions on the limit/amount/speed of traffic from server A to the internet, but not from server B to the internet. So we want to take outgoing traffic from server A, route it via server B, onto the internet. Then incoming can go normally to server A.
 
Old 12-27-2010, 07:03 AM   #4
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193
Blog Entries: 5

Rep: Reputation: 3
are your both server same location ? same swicth ? If this, Both server having a A class IP , Please check both able to ping each other.
 
Old 12-27-2010, 07:46 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
There are certainly ways to achieve this, but depends on your network, and also things like the type of traffic and the mission criticality of the solution. what type of traffic is it? Who is initiating it? I'm a little concerned that you are wanting a remote browser to connect to A directly but then drugstore get all data back via B, and at a tcp/ip level that's not possible.
 
Old 12-27-2010, 10:51 AM   #6
ThelenShar
LQ Newbie
 
Registered: Nov 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Same datacenter yes, different switch different subnets.

It isn't browser based, it is application level (which uses TCP/UDP). It would be fairly symetric traffic. There is no SLA required, so it doesn't so much matter if data is lost as long as not too much is lost.
 
Old 12-27-2010, 10:52 AM   #7
ThelenShar
LQ Newbie
 
Registered: Nov 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Would it help to have a diagram or something?
 
  


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
USB theft monitoring in the datacenter linuxunix Linux - Security 13 11-10-2010 07:42 PM
[SOLVED] virtualized datacenter solution considerations on storage chakoshi Linux - Virtualization and Cloud 7 05-02-2010 02:21 PM
Reverse DNS: Why is the record on the datacenter DNS server instead? Swakoo Linux - Networking 2 09-20-2007 04:42 AM
How to build a datacenter? LinuxCrazy General 6 07-27-2007 09:23 AM
LXer: Grown-up Linux in the Datacenter LXer Syndicated Linux News 0 05-27-2006 06:33 AM

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

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