On Friday, 04/02/2004 at 11:55 CST, Rich Smrcina <[EMAIL PROTECTED]>
wrote:
> For what it's worth here's the pertinent entry in my chandev.conf:
>
>
noauto;qeth0,0x0800,0x0801,0x0802;add_parms,0x10,0x0800,0x0802,portname:GL1
>
> If this is the first machine to use the Guest Lan it will be able to set
> the name, so what you use really doesn't matter.  All of the other
> machines will have to comply.

No.  The portname is only relevant to hosts sharing the same *adapter*
(real or virtual), not the LAN to which the adapter is connected.  So, for
guest LANs, you only see this with second-level z/VM systems using virtual
subchannels created on the first-level system via DEFINE NIC with the
DEVICES parameter, specifying more than the default of 3.

> I see that the LAN is restricted, is this machine authorized to use it?
> (I would have expected a different message, though)

The COUPLE will fail if you don't have authorization.


> On Fri, 2004-04-02 at 11:42, Kern, Thomas wrote:
> > Swapping the order of qeth-1 and add_parms doesn't change it.
> >
> > cat /etc/chandev.conf
> > chandev=noauto
> > lcs-1,0x3ad0,0x3ad1,0,3
> > qeth-1,0x0e04,0xe05,0x0e06,0,0
> > add_parms,0x10,0x0e04,0x0e06,portname:VMLAN01

Problem: By using autoconfiguration (the "-1") you are going to end up
with lcs0 and qeth0.  Assuming the LCS device is an ethernet, Linux will
try to create *interface* names of eth0 for both devices.  One will fail.
Specify "lcs0" and "qeth1".

And I haven't been paying super-close attention to what level of Linux
Thomas is using, but I think "chandev=noauto" should just be "noauto".

Those who have seen my Connecting to Linux on zSeries presentation at
various conferences know that I am firmly against autoconfig.  Don't allow
OSAs to autonegotiate the duplex setting and don't allow Linux to
dynamically choose the device name (and, by extension, the interface
name).  You can find a copy of this presentation at
http://www.vm.ibm.com/devpages/altmarka/s9233a.pdf.

Alan Altmark
Sr. Software Engineer
IBM z/VM Development

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to