Perhaps a picture would help...
-------- -------- ----------------------------------------
| 2216 | | 2216 | | | OSA/E | OSA/E | |
-------- -------- | ----------------- |
| | | | | |
| | | | | |
| | | ------------ |
| | | | VmTcpip1 | |
| | | ------------ |
| | | | |
| | | | |
| | | --------------------------- GLAN1 |
------------------ | | | | |
| | | | | | | | |
| ------------ | | ---------- ---------- ------------ |
| | VmTcpip3 |---|-------|-| Linux1 | | Linux2 | | VmTcpip2 | |
| ------------ | CTC | ---------- ---------- ------------ |
| | | |
| VMSYS1 | | VMSYS2 |
------------------ ----------------------------------------
VmTcpip1 owns the OSA/Express 100mbit cards, and is set up as
PRIMARYROUTER. A second VM TCPIP stack (VmTcpip2) sits on the Guest LAN and
traffic from it is able to get in and out through VmTcpip1 to other systems
in the network. Linux1 and Linux2 can talk with each other as well as
VmTcpip1 and VmTcpip2, but not elsewhere. Linux1 was initially set up with
a CTC connection to VmTcpip3, running in a VM system on a different real
machine - now we want to cut over to the guest LAN. In spite of the fact
that Linux1 now claims to have its default route set to VmTcpip1, if the
CTC connection is started Linux1 is able to reach the rest of the network,
which would imply that the default route is really down the CTC connection.
FWIW, VmTcpip1 is running with MPROUTE. VIPA is turned on, including
SOURCEVIPA.
Mark
Adam Thornton
<athornton@sinen To: [EMAIL PROTECTED]
omine.net> cc: (bcc: Mark L.
Wheeler/US-Corporate/3M/US)
Subject: Re: Routing issues on Guest LAN
05/28/2002 09:30
AM
Please respond
to Linux on 390
Port
> I have two Redhat 7.2 (2.4.9-17) guests on a guest LAN, setup by
>our VM SysProg, both images cannot reach outside the GLAN. I have
>ifconfig'd them with the proper ip, netmask and mtu, and I have set the
>default route in the machines to the correct ip, along with defining
>the dev to be used for the gateway and the netmask for the route as
>well (the network address was calculated from the ip and netmask, and
>was already correct in the routing table).
> I can see and exchange between the two linux boxes and everyone
>else on the GLAN, I can talk to the router (a VM TCPIP stack that owns
>an external card). One of the boxes has an initial ctc connection, if
>that is used as the default route interface (different subnet,
>different router, etc), then I can reach the GLAN interface from
>outside the GLAN, but the packets route back through the default
>interface.
You don't have primary_router set on the OSA.
The way to fix is is to do
echo "primary_router eth0" > /proc/qeth
(Assuming eth0 is your OSA)
Adam