Networking Forums

Networking Forums > Computer Networking > Linux Networking > configuring a network with various alternative routes

Reply
Thread Tools Display Modes

configuring a network with various alternative routes

 
 
nospam
Guest
Posts: n/a

 
      05-08-2008, 01:49 PM
Hello,

I am trying to figure out how to connect two computers, A and B, so that they
can connect to each other using TCP and UDP, and so that I can tell one computer
to send some data over their wireless 802.11 connection, different data over the gigabit lan
connection, and still other data over a satellite connection. The computers dual boot XP and linux
and I need this to work in any OS mix.

For starters, I suppose each computer could have several IP addresses, one for each type of connection, so that connecting with
sockets on a particular kind of connection reduces to knowing which IP address routes over each? For this to work I need a router
that I can configure somehow? Not sure.


Thanks in advance for your help!
-J
 
Reply With Quote
 
 
 
 
h.stroph
Guest
Posts: n/a

 
      05-08-2008, 10:30 PM
In news:(E-Mail Removed) m,
nospam <(E-Mail Removed)> typed:

> I am trying to figure out how to connect two computers, A and B,
> so that they can connect to each other using TCP and UDP, and
> so that I can tell one computer to send some data over their
> wireless 802.11 connection, different data over the gigabit lan
> connection, and still other data over a satellite connection


Why would you want to do that?

> The computers dual boot XP and linux and I need this to
> work in any OS mix.


Simplification is your friend.

> For starters, I suppose each computer could have several IP
> addresses, one for each type of connection, so that connecting with
> sockets on a particular kind of connection reduces to knowing which
> IP address routes over each? For this to work I need a router that I
> can configure somehow? Not sure.


Obviously, you're not even sure what you want to do, or why.


 
Reply With Quote
 
nospam
Guest
Posts: n/a

 
      05-08-2008, 11:06 PM

>> I am trying to figure out how to connect two computers, A and B,
>> so that they can connect to each other using TCP and UDP, and
>> so that I can tell one computer to send some data over their
>> wireless 802.11 connection, different data over the gigabit lan
>> connection, and still other data over a satellite connection

>
> Why would you want to do that?

OK. I'll bite... in spite of the obvious provocation and in case
the SNR in this group is actually better than your reply.

The different types of connections each have unique characteristics:
bandwidth, reliability, availability, etc.

To ensure that a large message is delivered in timely fashion, using a
bigger pipe is best. For a critical message, using wireless may not be
a good choice.

The ability to choose which data goes out over which type of connection allows
you to prioritize the various kinds of data and control bandwidth usage.


>> For starters, I suppose each computer could have several IP
>> addresses, one for each type of connection, so that connecting with
>> sockets on a particular kind of connection reduces to knowing which
>> IP address routes over each? For this to work I need a router that I
>> can configure somehow? Not sure.


Anyone with helpful response?

Thanks,
J
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      05-09-2008, 01:06 AM
On May 8, 4:06*pm, nospam <nos...@spamnot.net> wrote:

> OK. I'll bite... in spite of the obvious provocation and in case
> the SNR in this group is actually better than your reply.
>
> The different types of connections each have unique characteristics:
> bandwidth, reliability, availability, etc.
>
> To ensure that a large message is delivered in timely fashion, using a
> bigger pipe is best. For a critical message, using wireless may not be
> a good choice.


You may think this is the best way to do things, but the collective
wisdom is against it. The collective wisdom would be:

1) Use a routing protocol to see which links work and which don't.

2) Send all traffic over the highest-capacity link that is currently
known to work. (Perhaps sharing the load if there are multiple equally-
good or almost-equally-good links.)

3) If a link fails, detect this by the routing protocol packets not
going through.

> The ability to choose which data goes out over which type of connection
> allows
> you to prioritize the various kinds of data and control bandwidth usage.


Perhaps, but not in a way that is usually useful. It is typically more
logical to control bandwidth usage and prioritize at the link itself.
After all, controlling bandwidth usage and prioritizing data are
sensible things to do even if you only have a single working link --
in fact, especially so.

> >> For starters, I suppose each computer could have several IP
> >> addresses, one for each type of connection, so that connecting with
> >> sockets on a particular kind of connection reduces to knowing which
> >> IP address routes over each? For this to work I need a router that I
> >> can configure somehow? Not sure.


This is a common paradigm. It's not always required, but it's
sometimes useful. You assign an IP address to each end of each link.
Often, you also assign an IP address to the host itself. Your routing
protocol then routes packets usually addressed to the "host itself" IP
address through the link endpoint IP addresses. You can still use the
link endpoint IP addresses if you want, but they may or may not make
traffic take that link (since the other links reach that IP address
too).

> Anyone with helpful response?


It's hard to help you since you don't seem to know what you want to
do.

DS
 
Reply With Quote
 
buck
Guest
Posts: n/a

 
      05-09-2008, 06:28 PM
On Thu, 8 May 2008 18:06:07 -0700 (PDT), David Schwartz
<(E-Mail Removed)> wrote:

>You may think this is the best way to do things, but the collective
>wisdom is against it. The collective wisdom would be:


bs

Read http://lartc.org/howto/lartc.rpdb.html for information about
Policy Routing to see if that is appropriate for your situation.

--
buck
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proper routes for linux machine with two network ports to same network fuzzybr80@gmail.com Linux Networking 2 04-07-2006 08:14 PM
k2.6 (suse 9.3) - how to add network routes in runlevel 3?? Dan Miller Linux Networking 3 12-29-2005 09:58 PM
2 Routes can't see network places. Elliot Feldbau Network Routers 1 11-23-2005 06:22 PM
Map network drive alternative for folder redirection ?? JohanW Windows Networking 1 08-08-2005 08:23 AM
Alternative home network setup The Plebism Home Networking 6 08-14-2003 04:56 PM



1 2 3 4 5 6 7 8 9 10 11