To dynamically set the primary router flag, you write a string to the "route4" file:: echo "primary_router" >/sys/devices/qeth/0.0.0100/route4 You can check the setting by displaying the contents of that file. To make it active when the device is initialized, you put: QETH_OPTIONS="route4=primary_rotuer" in your /etc/sysconfig/hardware/hwcfg-qeth-bus-ccw-0.0.0100 file.
On 6/10/05, Troyski <[EMAIL PROTECTED]> wrote: > Hi all, > > Just a quickie (I hope). > > How to I tell eth0 to register with z/VM as a primary router? > > I understand you can add the "primary_router" command to > /etc/chandev.conf in SLES8, but of course we have no such file in > SLES9. I also know in SLES8 you can do this dynamically using echo > "primary_router eth0" > /proc/qeth....but this doesn't seem to work - > I don't see a message in dmesg output and I don't see the linux guest > showing router in "q vswitch det" under z/VM. > > I've also tried adding QETH_OPTIONS="primary_router" to > /etc/sysconfig/hardware/hwcfg-qeth-bus-ccw-0.0.0100. > > Any clues much appreciated. > > -- > ---oOo--- > Troyski (Public Email) > ......................................... > :: Web/PGP Key :: http://troyski.homeip.net :: > :: MSN [EMAIL PROTECTED] :: YIM troy_muller :: > :: ICQ #31206542 :: AIM trymul :: > :: GS500E XJ600S :: LCDR Troyski :: > ......................................... > :: NCOS || CQC || SCI100 || SCI101 :: > :: NUR101 || SCC#60975 :: > ......................................... > \'He who dies with the most toys - wins.\' > <Unknown> > ---oOo--- > > ---------------------------------------------------------------------- > 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 > -- Bruce Hayden IBM Global Services zSeries Linux Endicott, NY ---------------------------------------------------------------------- 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
