|
Andy,
I figured out how to create routes for each line. However, the AS/400 seems
to be ignoring the DUPRTEPTY parameter. It always selects the line in the
order that I create the routes. I can tell this because I have an
application that works on one line but not the other. I suspect the problem
is caused by a missing firewall rule somewhere on the LAN.
If I inactivate the first interface the application works fine. If I create
the route for the second interface first the application works fine. The
result is always the same regardless of the value of DUPRTEPTY.
Do I have to restart TCP/IP before it uses that value?
Thanks,
Albert
-----Original Message-----
From: Andy Nolen-Parkhouse [SMTP:aparkhouse@xxxxxxxxx]
Sent: Friday, May 09, 2003 4:44 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Selecting an ethernet line
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
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.