[ovs-discuss] bridge renaming issue with Xen
Jesse Gross
jesse at nicira.com
Thu Mar 8 18:17:00 PST 2012
2012/3/8 <lv.erchun at zte.com.cn>:
>
> Hi,all:
>
> I have a question about xen using ovs to ask for your advice.
>
> When Xen networking start , I want to rename the physical network adapter
> 'eth0' to 'peth0', and create a bridge 'eth0
> ', add the port 'peth0' to bridge 'eth0'. With the linux bridge , the xen
> script 'network-bridge' work well, but when using the ovs bridge to create
> bridge , the xen script 'network-bridge' doesn't work.
>
> with the way discussed before in the mail list, I changed the network-bridge
> script like this:
>> ip link set ${tdev} name ${bridge}
>> # usually tdev=tmpbridge, bridge=eth0
>> /usr/local/bin/ovs-vsctl set Interface ${tdev} name=${bridge}
>> /usr/local/bin/ovs-vsctl set Port ${tdev} name=${bridge}
>> /usr/local/bin/ovs-vsctl set Bridge ${tdev} name=${bridge}
>
> after executed the network-bridge, using the 'brctl show' command ,the
> result is as:
> [root at vnet_tecs scripts]# brctl show
> bridge name bridge id STP enabled interfaces
> eth0 0000.1e3ce1d5604e no
>
> the port 'peth0' was not added to the bridge 'eth0'.
What does the log say?
More information about the discuss
mailing list