[xenpreview-dev] eth0 troubles with Xen guest on SLES 10 RC3

Kirk Allan kallan at novell.com
Thu Jun 29 11:02:06 MDT 2006


Check that all the following MAC addresses are in sync.  For example
purposes assume the MAC to be used is 00:11:22:33:44:55.

1) On the host system, check the MAC used in the vm startup script. 
The default script would be /etc/xen/vm/vm1.  Look for the line 'vif = [
'mac=00:11:22:33:44:55' ]'

2) In the running vm, check which eth devices are shown in
/sys/class/net.  For each ethX directory shown cat the address file. 
For example if you have a eth1 the 'cat /sys/class/net/eth1/address'. 
There should be one eth device that has the address of 
00:11:22:33:44:55.  In your case it looks like it should be eth0.

3) In the running vm,  check the interface configuration files in
/etc/sysconfig/network.  There should be the file
'ifcfg-eth-id-00:11:22:33:44:55.

The MAC addresses from all three steps should match.  If not then there
is some configuration issue.

>>> On Thu, Jun 29, 2006 at  9:21 AM, in message
<1151594489.5142.7.camel at cooked.boston.ximian.com>, Rian Hunter
<rhunter at novell.com> wrote: 
> I have a default install of SLES 10 RC3 with the Xen packages. When
I
> install a guest using the Virtual Machine Management module in YaST
it
> does install fine except networking does not work. When the VM boots
up
> the init scripts say: "No configuration found for eth0". Which is
> strange. I've tried going into YaST and configuring it, nothing
changes
> but it does say: "The device does not have a driver module. The
driver
> may be built in the kernel."
> 
> Is this a known bug? Or am I doing something wrong. On the host
system
> ifconfig yields:
> 
> eth0      Link encap:Ethernet  HWaddr 00:13:D3:07:E4:69
>           inet addr:164.99.121.28  Bcast:164.99.121.255
> Mask:255.255.254.0
>           inet6 addr: fe80::213:d3ff:fe07:e469/64 Scope:Link
>           UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500 
Metric:1
>           RX packets:179776 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:216 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:15523304 (14.8 Mb)  TX bytes:19356 (18.9 Kb)
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:98 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:6396 (6.2 Kb)  TX bytes:6396 (6.2 Kb)
> 
> peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>           RX packets:179844 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:235 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:16291243 (15.5 Mb)  TX bytes:22910 (22.3 Kb)
>           Interrupt:18
> 
> vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:216 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:179780 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:19356 (18.9 Kb)  TX bytes:15523612 (14.8 Mb)
> 
> vif3.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:6 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:730 errors:0 dropped:337 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:468 (468.0 b)  TX bytes:66794 (65.2 Kb)
> 
> xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:177685 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:12902237 (12.3 Mb)  TX bytes:468 (468.0 b)
> 
> Thanks!
> 
> Rian Hunter
> 
> _______________________________________________
> xenpreview- dev mailing list
> xenpreview- dev at forge.novell.com
> http://forge.novell.com/mailman/listinfo/xenpreview- dev




More information about the xenpreview-dev mailing list