[ovs-discuss] can't add peth0 to bridge eth0: Invalid argument

Jesse Gross jesse at nicira.com
Tue Dec 8 03:10:13 UTC 2009

Earlier versions of Xen networking (which apparently the Lenny port is based
on) used some "interesting" tricks with renaming.  In this case eth0 is
renamed to peth0 and a bridge named tmpbridge is created then renamed to

I'm fairly certain that our bridge compatibility layer does not deal well
with all of this renaming.  However, you should be able to configure this
manually after the machine has booted.  For example add the following to
your /etc/ovs-vswitchd.conf file and reload vswitchd:


You should then be able to assign an IP to eth1.


On 12/7/09 6:13 PM, "pspreadborough at comcast.net"
<pspreadborough at comcast.net> wrote:

> I'm getting the error "can't add peth0 to bridge eth0: Invalid argument"
> during boot. 
> Any help would be appreciated.
> Regards,
> Pete
> /usr/local/sbin/ovs-vswitchd --version
> ovs-vswitchd (Open vSwitch) 0.90.6
> Compiled Dec  3 2009 14:24:51
> OpenFlow versions 0x97:0x97
> I applied the datapath.c patch to work around Debian Lenny
> module compile errors.
> Linux xenhost 2.6.26-2-xen-686 #1 SMP Wed Nov 4 23:23:33 UTC 2009 i686
> GNU/Linux
> xenhost:~# cat /etc/ovs-vswitchd.conf
> bridge.tmpbridge.port=tmpbridge
> xenhost:~# ovs-dpctl show
> dp0:
> flows: cur:0, soft-max:1024, hard-max:1048576
> ports: cur:1, max:1024
> groups: max:16
> lookups: frags:0, hit:0, missed:0, lost:0
> queues: max-miss:100, max-action:100
> port 0: eth0 (internal)
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

More information about the discuss mailing list