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

Re: [Xen-devel] vif0.0/veth0 or eth0

Nicholas Lee wrote:
When does vif0.0 get created?
don't know

Is there some shell magic?
Are you using bridging?
If so, I think I know this!
look for shell function 'op_start' in file /etc/xen/scripts/network-bridge

I'm trying to figure out how to do a similar peth1/veth1 split for eth1.

Maybe it is as simple as replacing /etc/xen/scripts/network-bridge
with a wrapper that invokes the original /etc/xen/scripts/network-bridge
twice, each time with different values for environment variables
vifnum, bridge, and netdev. Those environment variables are documented
at the top of /etc/xen/scripts/network-bridge.

quoting from /etc/xen/xend-config.sxp:
# It is possible to use the network-bridge script in more complicated
# scenarios, such as having two outgoing interfaces, with two bridges, and
# two fake interfaces per guest domain.  To do things like this, write
# yourself a wrapper script, and call network-bridge from it, as appropriate.


Robbie Dinn

Xen-devel mailing list



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