WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] xend messes up broadcast address on eth2

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xend messes up broadcast address on eth2
From: "Eric Burns" <Eric@xxxxxxxxxxxxx>
Date: Mon, 22 May 2006 15:46:35 -0700
Delivery-date: Tue, 23 May 2006 02:18:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I've got a system with 3 nics.  eth0 is down, eth1 is external and eth2 is 
internal.  (This is in a "lab" so the "external" is a 10.x.x.x address.)

Before starting xen, the broadcast for eth2 is 192.168.1.255, after starting it 
becomes 0.0.0.0 - which sure doesn't look right to me - plus I'm getting 
networking problems.  Been digging for a while and not having any luck.

This is a xen 3.0.1 system, logs and config files below.

Any ideas on this one?

My ifconfig before starting xen:

eth1      Link encap:Ethernet  HWaddr 00:30:48:59:20:BC  
          inet addr:10.10.4.25  Bcast:10.10.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:192 errors:0 dropped:0 overruns:0 frame:0
          TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
          collisions:5 txqueuelen:1000 
          RX bytes:20633 (20.1 Kb)  TX bytes:26912 (26.2 Kb)
          Interrupt:26 

eth2      Link encap:Ethernet  HWaddr 00:30:48:59:20:BD  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:27 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)



After starting xend:
root@rc25:~# /etc/init.d/xend start
root@rc25:~# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:30:48:59:20:BC  
          inet addr:10.10.4.25  Bcast:10.10.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:469 errors:0 dropped:0 overruns:0 frame:0
          TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
          collisions:8 txqueuelen:1000 
          RX bytes:47514 (46.4 Kb)  TX bytes:43360 (42.3 Kb)
          Interrupt:26 

eth2      Link encap:Ethernet  HWaddr 00:30:48:59:20:BD  
          inet addr:192.168.1.1  Bcast:0.0.0.0  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

peth2     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:27 

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


::::::::::::::
xend-debug.log
::::::::::::::
Nothing to flush.

::::::::::::::
xend.log
::::::::::::::
[2006-05-23 06:30:46 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-05-23 06:30:46 xend] INFO (SrvDaemon:282) Xend changeset: Tue Jan 31 
11:04:12 2006 +0100 8738:e
ff96462fde8.
[2006-05-23 06:30:46 xend.XendDomainInfo] DEBUG (XendDomainInfo:199) 
XendDomainInfo.recreate({'paused
': 0, 'cpu_time': 5713926366L, 'ssidref': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 
0], 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'mem_kb': 217088, 'maxmem_kb': 
-4, 'max_vcpu_id': 1, 
'crashed': 0, 'running': 1, 'shutdown': 0, 'online_vcpus': 1, 'blocked': 0})
[2006-05-23 06:30:46 xend.XendDomainInfo] INFO (XendDomainInfo:211) Recreating 
domain 0, UUID 0000000
0-0000-0000-0000-000000000000.
[2006-05-23 06:30:46 xend.XendDomainInfo] WARNING (XendDomainInfo:233) No vm 
path in store for existi
ng domain 0
[2006-05-23 06:30:46 xend.XendDomainInfo] DEBUG (XendDomainInfo:663) Storing VM 
details: {'ssidref': 
'0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 
'on_poweroff': 'destroy'
, 'name': 'Domain-0', 'vcpus': '2', 'vcpu_avail': '3', 'memory': '212', 
'on_crash': 'restart', 'maxme
m': '212'}
[2006-05-23 06:30:46 xend.XendDomainInfo] DEBUG (XendDomainInfo:688) Storing 
domain details: {'cpu/0/
availability': 'online', 'memory/target': '217088', 'cpu/1/availability': 
'online', 'name': 'Domain-0
', 'console/limit': '1048576', 'vm': 
'/vm/00000000-0000-0000-0000-000000000000', 'domid': '0'}
[2006-05-23 06:30:46 xend] DEBUG (XendDomain:151) number of vcpus to use is 0
[2006-05-23 06:30:46 xend] INFO (SrvServer:114) unix 
path=/var/lib/xend/xend-socket



 xend-config.sxp file:

# -*- sh -*-
(xend-relocation-server yes)
#
#(xend-relocation-hosts-allow '')
(xend-relocation-hosts-allow '^localhost$')

#
(network-script 'network-bridge netdev=eth2')

# Dom0 will balloon out when needed to free memory for domU.
# dom0-min-mem is the lowest memory level (in MB) dom0 will get down to.
# If dom0-min-mem=0, dom0 will never balloon out.
(dom0-min-mem 196)

# In SMP system, dom0 will use dom0-cpus # of CPUS
# If dom0-cpus = 0, dom0 will take all cpus available
(dom0-cpus 0)


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xend messes up broadcast address on eth2, Eric Burns <=