[ovs-dev] could not open network device

Ben Pfaff blp at nicira.com
Mon Aug 5 16:51:37 UTC 2013


I don't know what to say, other than what I already said.  Here it is
again.  I imagine that you don't have a network device named
port1. Try adding one that you do (eth0?).

On Sun, Aug 04, 2013 at 06:48:01AM +0530, f 62 wrote:
> Ben,
> 
>     Here is the procedure I followed.
> 
> 1. Created bridge --- ovs-vsctl add-br br-int
> 2. Add port --- ovs-vsctl add-port br-int port1
> 
>     thats it. ovs-vsctl is not giving any error. when i execute ovs-vsctl
> show.
>     I can see port.
>     But when I executed ovs-ofctl dump-ports br-int. I saw there only one
> port LOCAL.
> 
>      Then i chkd the ovs-vswitchd.log file and I got this log:
> 
>      *|bridge|WARN|could not open network device port1 (No such device)*
> 
> 
> On Sat, Aug 3, 2013 at 8:38 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > I imagine that you don't have a network device named port1. Try adding one
> > that you do (eth0?).
> > On Aug 3, 2013 3:17 AM, "f 62" <mailtov16 at gmail.com> wrote:
> >
> >>  Hi all,
> >>
> >>      I am using openvswitch. I created a bridge named br1  and tried to
> >> add port port1, but port1 doesn't got added.
> >>
> >>      Following are the ovs-vswitchd log:
> >>
> >>      2013-08-03T09:49:51Z|00001|vlog|INFO|opened log file
> >> /var/log/openvswitch/ovs-vswitchd.log
> >> 2013-08-03T09:49:51Z|00002|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> >> connecting...
> >> 2013-08-03T09:49:51Z|00003|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> >> connected
> >> 2013-08-03T09:49:51Z|00004|bridge|INFO|ovs-vswitchd (Open vSwitch) 1.12.90
> >> 2013-08-03T09:50:19Z|00005|memory|INFO|7288 kB peak resident set size
> >> after 27.4 seconds
> >> 2013-08-03T09:50:19Z|00006|bridge|INFO|bridge br1: added interface br1 on
> >> port 65534
> >> 2013-08-03T09:50:19Z|00007|bridge|INFO|bridge br1: using datapath ID
> >> 00003a4c4253c348
> >> 2013-08-03T09:50:19Z|00008|connmgr|INFO|br1: added service controller
> >> "punix:/var/run/openvswitch/br1.mgmt"
> >> *2013-08-03T09:50:57Z|00009|bridge|WARN|could not open network device
> >> port1 (No such device)*
> >>
> >>
> >>    I have installed openvswitch by creating debian package from source.
> >> Detailed steps are following:
> >>
> >>     1. git clone git://git.openvswitch.org/openvswitch
> >>     2. cd openvswitch
> >>     3. fakeroot debian/rules binary
> >>     4. And installed these three deb packages:
> >>          - openvswitch-datapath-dkms_1.12.90-1_all.deb
> >>          - openvswitch-common_1.12.90-1_amd64.deb
> >>          - openvswitch-switch_1.12.90-1_amd64.deb
> >>
> >>     My ovs-vsersion is: ovs_version: "1.12.90"
> >>
> >>    Am I doing anything wrong ? Does this version is having vxlan support
> >> ? How to resolve this?
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> dev mailing list
> >> dev at openvswitch.org
> >> http://openvswitch.org/mailman/listinfo/dev
> >>
> >>



More information about the dev mailing list