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

[Xen-bugs] [Bug 381] New: new network scripts does not work for two bridges topology



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=381

           Summary: new network scripts does not work for two bridges
                    topology
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Hypervisor
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: lge@xxxxxxxxxx
                CC: hohnbaum@xxxxxxxxxx,niv@xxxxxxxxxx,pl@xxxxxxxxxx


Changeset:  7572:ea6d9f29dff5
tag:         tip
user:        kaf24@xxxxxxxxxxxxxxxxxxxx
date:        Mon Oct 31 08:07:14 2005 +0100
summary:     Watch events may get lost, the xenstored response races against 
the new

Problem:

I tried the two bridges topology by following the exact steps Ewan suggested,
but I could not get it work.

---------------------------------------------------------------------------
dom0: fake eth0 -> vif0.0 ----------------------------+
dom0: fake eth1 -> vif0.1 ---+                        |
                            |                        |
                            |                       bridge 0 -> real eth0
                            |                        |
                           bridge 1 -> real eth1     |
                            |                        |
                            |                        |
domU: fake eth0 -> vifN.0 ----------------------------+
domU: fake eth1 -> vifN.1 ---+

then you need to create a wrapper script:

(network-script my-network-script)

and in /etc/xen/scripts/my-network-script:

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" vifnum=0 start
"$dir/network-bridge" vifnum=1 start
------------------------------------------------------------------------------------------------------------------

Here are the lines uncommented in my xend-config.sxp

(xend-http-server yes)
(xend-relocation-server yes)
(xend-address localhost)
(xend-relocation-address localhost)
(network-script my-network-script)
(dom0-min-mem 0)
 (dom0-cpus 0)
 
I've also tried to start network-bridge manually. But still it does not look 
right.

Please see the detailed info (brtcl show, ifconfig, route, iptables -L, trace
output) in the attached file.

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


 


Rackspace

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