Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-27-2010, 05:58 AM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 14
Rep:
|
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.
|
|
|
12-27-2010, 06:58 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
12-27-2010, 07:24 AM
|
#3
|
LQ Newbie
Registered: Nov 2009
Posts: 14
Original Poster
Rep:
|
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.
|
|
|
12-27-2010, 08:03 AM
|
#4
|
Member
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193
Rep:
|
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.
|
|
|
12-27-2010, 08:46 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
12-27-2010, 11:51 AM
|
#6
|
LQ Newbie
Registered: Nov 2009
Posts: 14
Original Poster
Rep:
|
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.
|
|
|
12-27-2010, 11:52 AM
|
#7
|
LQ Newbie
Registered: Nov 2009
Posts: 14
Original Poster
Rep:
|
Would it help to have a diagram or something?
|
|
|
All times are GMT -5. The time now is 07:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|