You are correct - only the TCPIP stack connected with PRIROUTER would
see packets not addressed to its IP, and you'd need PRIROUTER for both
VM TCPIP stacks to do what you want... and there can only be 1!  I can
think of 2 (well, 3) alternatives.  First, if X, Y and TCPIP on LPAR A
were connected to a real HiperSocket instead, then LPAR A could route
packets to both X and Y, although X or Y would have to change its IP
address.  The second way would be that you'd use a Linux server on
each LPAR to route from the OSA to X and Y using ethernet (layer 2)
mode (if that is supported on your hardware) because prirouter only
applies to IP (layer 3) mode.  The 3rd way, as you can probably guess,
is to use vswitches instead of routing though TCPIP.  The only other
way is to use 2 osa ports instead of sharing the present one..

On Thu, Jun 26, 2008 at 6:19 AM, Shimon Lebowitz <[EMAIL PROTECTED]> wrote:
> Hi,
> I am not sure about something and would like confirmation.
> Assuming this setup:
> +-LPAR A--+-LPAR B---+
> | +---+   | +---+    |
> | | X |   | + Y +    |
> | +---+   | +---+    |
> |    |    |    |     |
> |    +----|----+     |
> |    | VM | VM |     |
> +---------+----------+
>        | OSA |
>        +-----+
> VM TCPIP in LPAR A: 10.0.0.7
> VM TCPIP in LPAR B: 10.0.0.12
> Virtual machine X in LPAR A: 10.1.4.2
> Virtual machine Y in LPAR B: 10.1.3.2
> Our network routes requests for 10.1.4.2 to 10.0.0.7,
> which is connected to X via a virtual CTC.
> Machine X has 10.0.0.7 as its default gateway, so all
> of its traffic, in and out, is via 10.0.0.7.
> Now I was asked to do the same thing with a
> virtual machine in LPAR B:
> 1) to set the default gateway in machine Y to 10.0.0.12
> 2) to connect VM TCPIP to machine Y with a VCTC
> 3) to have the network route traffic for 10.1.3.2 to 10.0.0.12
>    so that VM's TCPIP at 10.0.0.12 will send it on to 10.1.3.2.
> My problem is that I *think* I understand that the OSA
> will not agree to do this, since the VM host on LPAR A
> has the OSA defined as PRIROUTER and on LPAR B
> it is defined as NONROUTER.
> So, my questions here are:
> 1) Can the task requested be done, or will NONROUTER prevent
>     VM in LPAR B from getting the packets for 10.1.3.2?
> 2) If #1 is in fact a problem, how can it be solved WITHOUT going
>     to VSWITCH?  Is there such a solution?
> Thanks,
> Shimon
>
> --
> ************************************************************************
> Shimon Lebowitz                mailto:[EMAIL PROTECTED]
> VM System Programmer           .
> Israel Police National HQ.
> Jerusalem, Israel              phone: +972 2 542-9877  fax: 542-9308
> ************************************************************************
>



-- 
Bruce Hayden
Linux on System z Advanced Technical Support
IBM, Endicott, NY

Reply via email to