LinuxQuestions.org
Review your favorite Linux distribution.
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 01-11-2010, 11:12 AM   #1
I_love_Megatron
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Post Method for sending messages through alternate routes to same destination, help!


I am doing a university course and am struggling to find a method of sending 1 message down route A and then the next message to the same destination via route B, alternating between the two with each new message sent.

I am going to use a Linux computer with two Ethernet cards connected to two different networks via a routers and then to the destination host via a switch.

Last edited by I_love_Megatron; 01-11-2010 at 11:15 AM. Reason: more detail added
 
Old 01-11-2010, 11:27 AM   #2
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
Source routing

You need to define a source route for each of your addresses and have your application bind to those addresses explicitly as far as I know.
 
1 members found this post helpful.
Old 01-11-2010, 11:35 AM   #3
I_love_Megatron
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by janoszen View Post
You need to define a source route for each of your addresses and have your application bind to those addresses explicitly as far as I know.

Can i do this by using Linux alone, or do i have to use an application to do this? Further more do you kno of any protocols within linux i could use to perform this task, im so lost.
 
Old 01-12-2010, 01:46 AM   #4
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
What messages?

What messages are we talking about? I assume, you have some custom application using sockets to communicate. If this is the case, no, you can't do it with Linux alone. Mainly because how would Linux know, which packet belongs to which message?
 
1 members found this post helpful.
Old 01-12-2010, 09:56 AM   #5
I_love_Megatron
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I wanted the network to operate by sending a message like a string of text from one computer to another. When the next message is sent i need a configuration that will automatically send the message through the other route and when another message after this is sent the message should go through the first route again.

If like you say there is no such configuration using Linux's routing capabilities can you recomend any programs that perform such a task?
 
  


Reply

Tags
messages, networking, routes, routing, tables


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
Who's sending this mail to "Bad destination mailbox address" ssfrstlstnm Linux - Server 10 06-20-2008 10:14 PM
Lynx browser, alternate mail client for sending comments to website authors SharpyWarpy Linux - Software 2 08-04-2005 10:21 AM
Sending messages tired Linux - Newbie 2 08-11-2004 02:37 AM
Sending messages over SSH jeucken Linux - Networking 1 12-15-2003 01:54 PM
Sending messages across a network... kierl Linux - General 3 04-07-2003 01:11 PM


All times are GMT -5. The time now is 09:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration