Re: Problems loading qeth for a Guest Lan

2002-11-14 Thread Alan Altmark
On Thursday, 11/14/2002 at 10:57 EST, "Geyer, Thomas L."
<[EMAIL PROTECTED]> wrote:
> I am attempting to setup a Guest Lan on zVM 4.3 on a z800. I have one
Linux
> machine, lnxrtr1, up and running with a CTC connection to the zVM TCPIP
> virtual machine. My goal is to have the lnxrtr1 linux machine act be a
> router for my Guest Lan. I am now trying to get lnxrtr1 to communicate
to
> the Guest Lan. I have defined the LAN as follows:
[snip]
> I have used presentations from Share, presentations from IBM's zVM/zOS
> Technical Conference, IBM's Large Scale Linux Deployment Redbook and the
> Device Drivers and Installation Commands Manual as reference in this
effort.
>
> If anyone can see what I did wrong please let me know, I have been
fighing
> this for days. Your help is greatly appreciated. I apologize for the
length
> of this email.

Routing, son, routing.  Look carefully at the subnet mask of eth1:

eth1  Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  inet addr:147.185.179.65  Mask:255.255.0.0

All of your real network LAN traffic that was previously being bounced
back through the CTC connection is now flowing into the virtual bit
bucket.  Fix up the subnet mask (255.255.255.128?) and all will be well
(he said hopefully).

Alan Altmark
Sr. Software Engineer
IBM z/VM Development



Re: Problems loading qeth for a Guest Lan

2002-11-14 Thread Richard Hirst
On Thu, Nov 14, 2002 at 10:57:42AM -0500, Geyer, Thomas L. wrote:
> lnxrtr1:~ # ifconfig
> ctc0  Link encap:Serial Line IP
>   inet addr:147.185.179.2  P-t-P:147.185.2.158  Mask:255.255.255.128
...
> lnxrtr1:~ # ifconfig eth1 147.185.179.65
...
> eth1  Link encap:Ethernet  HWaddr 00:00:00:00:00:00
>   inet addr:147.185.179.65  Mask:255.255.0.0

When you ifconfig eth1, you are effectively saying 'route all
147.185.*.* to eth1', as the netmask is defaulting to 255.255.0.0.  That
range includes your CTC address, which probably stops it working.
Choosing a different address for eth1 would probably be the simplest
solution.

Richard



Re: Problems loading qeth for a Guest Lan

2002-11-14 Thread Rich Smrcina
In a couple of cases I had to use:

qeth-1,0x

To have the driver pick the device automatically.

On Thursday 14 November 2002 09:57 am, you wrote:
>
> ctc0,0x7100,0x7101
> add_parms 0x10,0x7000,0x7002,portname:BEARS
> qeth1,0x7000,0x7001,0x7002
>

--
Rich Smrcina
Sytek Services, Inc.
Milwaukee, WI
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Catch the WAVV!  Stay for Requirements and the Free for All!
Update your S/390 skills in 4 days for a very reasonable price.
WAVV 2003 in Winston-Salem, NC.
April 25-29, 2003
For details see http://www.wavv.org