[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] xen and bonding
On Monday 19 June 2006 18:52, Mike Williams wrote: > I suppose my question really is, how can I run Xen in bridging mode without > it moving interfaces/IPs/MACs around? > I can't see anyway for getting the MII information into a VM when it isn't > in fact attached to the actual physical interfaces at all. > From reading the documentation, I understand (a little) why this moving of > interfaces happens, but I don't need to be able to separately firewall the > host, the VMs will all be on physically separate networks. > So far my experiments with hacking network-bridge have been less then > successful. Occasionally, for no apparent reason traffic in and out of the > VM works, but mostly it doesn't. In case anyone was wondering, I've sorted it. Some of the issue was apparently down to network cards. I was using a 4 port d-link branded card (sundance module), I'm now using a pukker intel 2 port card (e1000) and 2 cheap-ass realteks. The traffic to/from the realteks can take a little while to get going. In a copy of network-bridge I've changed the op_start() and op_stop() functions to: op_start () { if [ "${bridge}" = "null" ] ; then return fi create_bridge ${bridge} add_to_bridge ${bridge} ${vif0} add_to_bridge2 ${bridge} ${netdev} if [ ${antispoof} = 'yes' ] ; then antispoofing fi } op_stop () { if [ "${bridge}" = "null" ]; then return fi if ! link_exists "$bridge"; then return fi ip link set ${bridge} down brctl delif ${bridge} ${netdev} brctl delif ${bridge} ${vif0} brctl delbr ${bridge} } -- Mike Williams System Administration Manager - Comodo Office Tel Europe: +44 (0) 161 8747070 Fax Europe: +44 (0) 161 8771767 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |