[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] DomU doesn't have a network card



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.