You need to either remove the specification of the MAC in ifcfg-eth0 -- or
specify it in the z/VM directory entry  for the guest so that it matches.
 It's likely best to just remove it and let it default unless you have a
real need to specify it.

Scott Rohling

On Mon, Jun 27, 2011 at 1:25 PM, Dave Jones <[email protected]> wrote:

> Hi, gang.
>
> I've have been tasked with changing the network configuration for a
> RedHat EL 5.6 s390x guest from employing layer 3 (tcpip) connectivity to
> a vswitch, to using layer 2 (ethernet) on another vswitch. I've updated
> the ifcfg-eth0 configuration file with the proper parameters (I think),
> but a boot time Linux complains that:
>
> "Device eth0 has different MAC address than expected"
>
> and doesn't bring up the interface.
>
> I can configure eth0 manually by creating the device in
> /sys/bus/ccwgroup/drivers/qeth with:
>
> echo 0.0.0110,0.0.0101,0.0.0102 > group
>
> and then
>
> echo 1 > 0.0.0100/layer2
> echo 1 > 0.0.0100/online
>
> Here is what is in the ifcfg-eth0 file:
>
> # IBM QETH
> DEVICE=eth0
> BOOTPROTO=static
> VSWITCH=1
> OPTION=(layer2=1)
> IPADDR=xxx.yyy.www.zzz
> NETMASK=255.255.255.0
> NETTYPE=qeth
> TYPE=Ehternet
> ONBOOT=yes
> HWADDR=02:00:00:00:00:07
> SUBCHANNELS=0.0.0100,0.0.0101,0.0.0102
>
>
> Thanks and have a good one.
>
> --
> Dave Jones
> V/Soft Software
> www.vsoft-software.com
> Houston, TX
> 281.578.7544
>
> ----------------------------------------------------------------------
> 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
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
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
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to