× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Albert,

Below is my understanding.

On the ADDTCPRTE (Add TCP Route) command you have a parameter called
DUPRTEPTY (Duplicate Route Priority).  Valid values are between 1 and 10,
the default is 5.

What you want to do is called outbound load balancing.  If you leave the
DUPRTEPTY at its default value, nothing will happen and the system will
not attempt to manage your outbound traffic.  If you change the values to
equal values other than 5 for both routes, the system will attempt to
balance the number of connections (not actual load) between the two
routes.  If the values are different, the higher number will be the
preferred route.

I realize that you asked about selecting a specific Ethernet line when
opening a socket.  I don't know how to do that, (or if it can be done),
but you might find that the above tip might meet your needs.  The system
will be working with the number of connections, as opposed to throughput,
but if your connections average out, it may suffice.  Set both interfaces
to a value of 6 and see if things are better.  It will do no harm.

Regards,
Andy Nolen-Parkhouse

> On Behalf Of York, Albert
> Subject: Selecting an ethernet line
> 
> I have an AS/400 with two ethernet cards in it,  for redundancy. They
> each
> have their own IP address.
> 
> Is there a way for me to select a specific ethernet line when I open a
> socket? The AS/400 always seems to select the first line unless its
> interface is inactive.
> 
> TIA.
> 
> Albert York




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.