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] DomU doesn't have a network card

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] DomU doesn't have a network card
From: Gabriele Brosulo <brosulo@xxxxxxxxxxx>
Date: Wed, 21 Oct 2009 09:09:55 +0200
Delivery-date: Wed, 21 Oct 2009 00:10:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Edisof s.r.l.
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701)
Hi all,
I'm trying to set up a simple bridged virtual network.

######################################################################
# xm list
Name                                 ID   Mem VCPUs      State   Time(s)
Domain-0                              0  7920     8     r-----     64.4
fw1.domain.net                        3   128     1     -b----      4.1
######################################################################
######################################################################
# brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.002421ef2e57       no              peth0
                                                        vif3.0
xenbr1          8000.feffffffffff       no              vif3.1
######################################################################
######################################################################
# xm network-list 3
Idx BE     MAC Addr.     handle state evt-ch tx-/rx-ring-ref BE-path
0 0 00:16:3E:26:57:1D 0 4 10 1280 /1281 /local/domain/0/backend/vif/3/0 1 0 00:16:3E:70:70:EB 1 4 11 1282 /1283 /local/domain/0/backend/vif/3/1
######################################################################

Everithing seems ok. The problem is that DomU #3 doesn't have eth1. Just eth0. How can I solve? Here you are fw1.domain.net config file:

######################################################################
# cat /etc/xen/fw1.domain.net.cfg
kernel      = '/boot/vmlinuz-2.6.26-2-xen-amd64'
ramdisk     = '/boot/initrd.img-2.6.26-2-xen-amd64'
memory      = '128'
root        = '/dev/xvda2 ro'

disk        = [ 'file:/home/xen/domains/fw1.domain.net/swap.img,xvda1,w',
'file:/home/xen/domains/fw1.domain.net/disk.img,xvda2,w',
]

name        = 'fw1.domain.net'

vif = [
        'ip=192.168.61.254,mac=00:16:3E:26:57:1D,bridge=eth0',
        'ip=192.168.60.254,mac=00:16:3E:70:70:EB,bridge=xenbr1'
      ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

extra="clocksource=jiffies"
######################################################################

I think that the problem is related to xenbr1 bridge id: 8000.feffffffffff, but I really don't konw how to solve it..

Thanks a lot

--
Gabriele Dr. Brosulo


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] DomU doesn't have a network card, Gabriele Brosulo <=