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] No network connection on domains

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] No network connection on domains
From: Mortarien <mortarien@xxxxxxxxx>
Date: Fri, 23 May 2008 11:39:59 +0100
Delivery-date: Fri, 23 May 2008 03:40:35 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=j2cYmQ11J2PGtlRAQHg6uPZfptmajSUqesvu7LtPPpI=; b=epDx6D4nYdi0PcZcH/GOTXIqm9BEGr6NsiOkCeaCLShiVdcZVntYJ3fhSpFZjoDxbB3hy6sQwFp0pR3DJk0HjhWwFAX0xo/aEUDi2zFnOJ7OpTVyGPyIbhxY7HPIiFOoqDBxt+e3q///GN0/12p54aNKoUKauIiTdxLiFfHs0f8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=aHN+7H4SKmXZQy70PlgbJQnVlRCZ6gx5Y7aIQWCJM+npkM1f2c/tQkVFjfk8JiyQohK6TIycl+ZhYrOb4cez8wpSuA/PjbC+ZXF1TMePAjkXBtPlM3KrRP03o6Ly5t2UaaLp2LjUv2SyWcFgqZ6dJpiQS+/sXjxvsL7+lDhPhtc=
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


Hello,
 
I'm having a problem with network connection on created domains. I'm running Xen 3.2 on Ubuntu 8.04, server has 2 NICs but I use only one. I had no problems installing and running Xen, domU has normal network connection, but none of other domains.
 
My current test domain is set for dhcp, but it doesn't pick up any signal. Same situation was with fixed network settings, domain behaved as though it was "unplugged". Checked all settings on guest system, they seem to be more than fine. On host system, I am anxious about double eth0 in network-bridge status (see below), but I have no idea where it came from and how to get rid of it. I also failed to find anyone with similar problem.
 
 
Cheers,
Kamila Gador
 
Logs:
 
ifconfig @ domU:
eth0      Link encap:Ethernet  HWaddr 00:1e:0b:85:01:e8
          inet addr:192.168.254.22  Bcast:192.168.254.255  Mask:255.255.255.0
          inet6 addr: fe80::21e:bff:fe85:1e8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42219 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10188 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:19063875 (18.1 MB)  TX bytes:2064657 (1.9 MB)
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:6526 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6526 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3333545 (3.1 MB)  TX bytes:3333545 (3.1 MB)
peth0     Link encap:Ethernet  HWaddr 00:1e:0b:85:01:e8
          inet6 addr: fe80::21e:bff:fe85:1e8/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:41103 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11394 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19511843 (18.6 MB)  TX bytes:2499311 (2.3 MB)
          Interrupt:16
vif7.0    Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1119 errors:0 dropped:0 overruns:0 frame:0
          TX packets:109 errors:0 dropped:23957 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:365448 (356.8 KB)  TX bytes:18734 (18.2 KB)
xenbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          inet6 addr: fe80::21e:bff:fe85:1e8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:1152 (1.1 KB)
network-bridge status:
21: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    link/ether 00:1e:0b:85:01:e8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.254.22/24 brd 192.168.254.255 scope global eth0
    inet6 fe80::21e:bff:fe85:1e8/64 scope link
       valid_lft forever preferred_lft forever
21: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    link/ether 00:1e:0b:85:01:e8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.254.22/24 brd 192.168.254.255 scope global eth0
    inet6 fe80::21e:bff:fe85:1e8/64 scope link
       valid_lft forever preferred_lft forever
bridge name     bridge id               STP enabled     interfaces
eth0            8000.001e0b8501e8       no              peth0
                                                        vif7.0
xenbr0          8000.000000000000       no
192.168.254.0/24 dev eth0  proto kernel  scope link  src 192.168.254.22
default via 192.168.254.254 dev eth0  metric 100
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.254.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.254.254 0.0.0.0         UG    100    0        0 eth0
ifconfig @ testserver:
eth0      Link encap:Ethernet  HWaddr 00:16:3E:16:AE:93
          inet6 addr: fe80::216:3eff:fe16:ae93/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1124 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:382824 (373.8 KiB)
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: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)
 
Config files:
 
testserver.cfg
 
#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.24-16-xen'
ramdisk     = '/boot/initrd.img-2.6.24-16-xen'
memory      = '512'
#
#  Disk device(s).
#
root        = '/dev/xvda2 ro'
disk        = [
                  'tap:aio:/home/xen/domains/test2/swap.img,xvda1,w',
                  'tap:aio:/home/xen/domains/test2/disk.img,xvda2,w',
              ]

#
#  Hostname
#
name        = 'testserver'
#
#  Networking
#
dhcp        = 'dhcp'
vif         = [ 'mac=00:16:3E:16:AE:93' ]
#
#  Behaviour
#
>on_reboot   = 'restart'
on_crash    = 'restart'
extra = '2 console=xvc0'
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>