|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Re: Unable to have more than 3 interfaces in domU
I noticed that vif2.3 isn't up, looks like the problem is in dom0 after
all.
vif2.2 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:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:5 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:84 (84.0 b) TX bytes:0 (0.0 b)
vif2.3 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:3 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Also, if I destroy domain 2 vif2.3 still shows up and is still attached
to switch4 (while vif2.0-2.2 is gone). I think I saw a post about this
earlier but I can't find it now.
I am using Xen 3.0. What am I doing wrong?
/Anders
Anders Siverby wrote:
I am not able to give more than 3 interfaces to domU. If I specify 4
vif=... to xm create, ifconfig -a in domU will only see eth0, eth1 and
eth2.
Config file:
kernel = "/boot/vmlinuz-2.6.12.6-xenU"
memory = 20
disk = ['cow:/mnt/cdrom/crab-domU.img 30,hda1,w']
root = "/dev/hda1 ro"
startscript for domU:
brctl addbr switch1
brctl addbr switch2
brctl addbr switch3
brctl addbr switch4
ifconfig switch1 up
ifconfig switch2 up
ifconfig switch3 up
ifconfig switch4 up
xm create -c /crab/.xen/crab-domU.cfg name=test vif=bridge=switch1
vif=bridge=switch2 vif=bridge=switch3 vif=bridge=switch4
The dom0 part of the network seem to be set up correctly:
#brctl show
bridge name bridge id STP enabled interfaces
switch1 8000.feffffffffff no vif2.0
switch2 8000.feffffffffff no vif2.1
switch3 8000.feffffffffff no vif2.2
switch4 8000.feffffffffff no vif2.3
xenbr0 8000.feffffffffff no peth0
vif0.0
Could there be some limitation in the xenU kernel or am I missing
something else?
We are developing a router simulator that runs Quagga in every domU, is
there a better way to simulate a serial link between two routers than to
use a bridge?
/Anders
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|