Mike -

Is the subnet mask for the interface set to ?   My
guess is that it's not.    That would explain why you can't ping any 10.1.1
hosts unless you specify a particular local interface.   Leaving the local
interface unspecified on the PING command would allow the TCP/IP code to
(incorrectly) conclude it can reach from   By restricting
the mask to, TCP/IP will only  pick as the local
interface if the destination is also  Otherwise, it will pick
or, which is what you want.

As for not being able to directly ping, that is "correct".   VirtualIP
interfaces are not directly routable.  That is, you cannot directly reach a
VirtualIP interface.   It  can only be reached indirectly via one of the
"physical  IP interfaces", in your case, and

The most common environment for VirtualIP with load balancing & fault tolerance
is to have the VirtualIP interface configured on a different subnet than the
locally attached subnet.    Local clients know the AS/400 by the physical  IP
interfaces, but remote clients, coming in through a gateway , know the AS/400
only by its VirtualIP address.  The local gateway has routes defined (either
manually or via RouteD) telling it that the VirtualIP address is reachable via
any  of the physical  IP interfaces.

If you also want your local clients access the VirtualIP interface, the
shoud be changed to an address on another subnet (  and then the
routes need to be advertised or configured that the new VirtualIP address is
reachable via or

I've got a few Lotus Freelance charts that describe this a bit better.  I'll
send you a copy.   If you still have questions, feel free to e-mail me directly.

And yes, more detailed documentation is underway.

Gary Diehl

AS/400 TCP/IP Development
Endicott, NY, 13760
Phone: 607-752-5505 or Tie Line: 852-5505.  FAX: 607-752-5421
Alternate e-mail:   INTERNET: gdiehl@vnet.ibm.com     VM: GDIEHL@RCHVMV2


Please respond to MIDRANGE-L@midrange.com

To:   midrange-l@midrange.com
Subject:  Load balancing IP connections

Hi All,

I am trying to configure TCP on a machine with 2 ethernet cards so that I can
use a single IP address for load balancing and redundancy.  Reading the help for
the ADDTCPIFC command LCLIFC parameter implies that I need to do the following:

1. Create interface as line description *VIRTUALIP
2. Create interface against line ETHERNET1 with LCLIFC(
3. Create interface against line ETHERNET2 with LCLIFC(

After configuring and starting these interfaces, I cannot ping ''
unless I specify one of the physical interfaces and I
cannot ping but I can ping and from a PC.
Has anyone successfully managed to configure an AS/400 with this sort of setup?
If so, what am I doing wrong?

The manuals are less than forthcoming on using *VIRTUALIP.

The AS/400 is running v430 and on Cume pack 9131.  I cannot find anything on the
support pages with respect to this setup.


Mike Buglass
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...

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

This mailing list archive is Copyright 1997-2019 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].