[xenpreview-dev] peth1 troubles with XEN
Adam Spiers
aspiers at novell.com
Thu Jul 20 09:03:56 MDT 2006
Günther J. Niederwimmer (gjn at gjn.priv.at) wrote:
> Hello,
> is this a known Bug or my mistake ?
>
> In the most time i start the XEN I have xenbr0 and a peth1 in my config
> (ifconfig) I have to stop (kill) the xenbr0 and start again with
> network-bridge start vifnum=0 netdev=eth0, later I have a peth0 ?
>
> After I delete all network things and configure all new, I have mostly only
> for the first start a peth0 ?
I'm not sure I understand the question, but have you checked the
network-bridge settings in /etc/xen/xend-config.sxp? You can also see
how the default settings are determined by looking at top of the
/etc/xen/scripts/network-bridge shell-script itself.
Also, when you say that you "stop (kill)" xenbr0, what steps are you
taking exactly? IIRC, the way that worked for me was to run
network-bridge stop and then brctl delif then brctl delbr before
starting again.
> Second Q:
>
> Is it possible to generate a second xenbr1 on starttime ? Who is the best
> place to configure this ?
I was wondering this too - presumably required if you wanted to create
"virtual switches" for private networks between VMs. I haven't
researched it yet but I suspect that the network-bridge script is
overkill for this since it also manipulates the physical interface,
and the best place to configure it is:
/etc/sysconfig/network/ifcfg-xenbr1
/etc/sysconfig/network/ifcfg-xenbr2 etc.
See the ifcfg-bridge(5) man page for more details.
More information about the xenpreview-dev
mailing list