<div dir="ltr">Hi Thiago,<div>I could reproduce, but then I don't have a tap0 just as the error says.</div><div>And the command says add tap0 to br0.</div><div><br></div><div>This works (to give me a tap device before adding things)</div><div>sudo ip tuntap add dev tap5 mode tap<div><div>sudo ovs-vsctl add-port br0 tap5 tag=101<br></div><div>sudo ovs-vsctl show<br></div><div>24fc3972-b8c2-4c53-8299-e5ea77add3cf</div><div>    Bridge "br0"</div><div>        Port "tap5"</div><div>            tag: 101</div><div>            Interface "tap5"</div></div></div><div>[...]</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, May 4, 2016 at 12:02 PM, Martinx - ジェームズ <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On 4 May 2016 at 13:59, Martinx - ジェームズ <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Guys,<div><br></div><div> I'm trying to do a very simple thing on OpenvSwitch with Xenial but, it is not working!</div><div><br></div><div> I'm trying to do this:</div><div><br></div><div> <a href="http://openvswitch.org/support/config-cookbooks/vlan-configuration-cookbook/" target="_blank">http://openvswitch.org/support/config-cookbooks/vlan-configuration-cookbook/</a></div><div><br></div><div> It fails...   :-(</div><div><br></div><div>---</div><div>root@blade:~# ovs-vsctl add-br br0</div><div><br></div><div>root@blade:~# ovs-vsctl add-port br0 tap0 tag=100</div><div>ovs-vsctl: Error detected while setting up 'tap0'.  See ovs-vswitchd log for details.</div><div>---</div><div><br></div><div>---</div><div><div>root@blade:~# ovs-dpctl show br0</div><div>2016-05-04T16:58:49Z|00001|netdev_linux|INFO|tun0 device has unknown hardware address family 65534</div><div>ovs-dpctl: opening datapath br0 failed (No such device)</div></div><div>---</div><div><br></div><div>But:</div><div><br></div><div>---</div><div><div>root@blade:~# lsmod | grep openvs</div><div>openvswitch            98304  2</div><div>nf_defrag_ipv6         36864  1 openvswitch</div><div>nf_conntrack          106496  6 openvswitch,nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4</div><div>libcrc32c              16384  1 openvswitch</div></div><div>---</div><div><br></div><div> What's going on?</div><div><br></div><div>Thanks!</div><div>Thiago</div></div>
</blockquote></div><br></div></div></div><div class="gmail_extra">The log:</div><div class="gmail_extra"><br></div><div class="gmail_extra">---</div><div class="gmail_extra"><div class="gmail_extra">2016-05-04T16:57:58.491Z|00007|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.5.0</div><div class="gmail_extra">2016-05-04T16:58:03.005Z|00008|ofproto_dpif|INFO|system@ovs-system: Datapath supports recirculation</div><div class="gmail_extra">2016-05-04T16:58:03.005Z|00009|ofproto_dpif|INFO|system@ovs-system: MPLS label stack length probed as 1</div><div class="gmail_extra">2016-05-04T16:58:03.005Z|00010|ofproto_dpif|INFO|system@ovs-system: Datapath supports unique flow ids</div><div class="gmail_extra">2016-05-04T16:58:03.005Z|00011|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_state</div><div class="gmail_extra">2016-05-04T16:58:03.005Z|00012|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_zone</div><div class="gmail_extra">2016-05-04T16:58:03.005Z|00013|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_mark</div><div class="gmail_extra">2016-05-04T16:58:03.005Z|00014|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_label</div><div class="gmail_extra">2016-05-04T16:58:03.010Z|00001|ofproto_dpif_upcall(handler1)|INFO|received packet on unassociated datapath port 0</div><div class="gmail_extra">2016-05-04T16:58:03.043Z|00015|bridge|INFO|bridge br0: added interface br0 on port 65534</div><div class="gmail_extra">2016-05-04T16:58:03.044Z|00016|bridge|INFO|bridge br0: using datapath ID 0000bebee71ce947</div><div class="gmail_extra">2016-05-04T16:58:03.044Z|00017|connmgr|INFO|br0: added service controller "punix:/var/run/openvswitch/br0.mgmt"</div><div class="gmail_extra">2016-05-04T16:58:08.491Z|00018|memory|INFO|33540 kB peak resident set size after 10.1 seconds</div><div class="gmail_extra">2016-05-04T16:58:08.491Z|00019|memory|INFO|handlers:1 ports:1 revalidators:1 rules:5</div><div class="gmail_extra">2016-05-04T16:58:14.894Z|00020|bridge|WARN|could not open network device tap0 (No such device)</div><div>---</div><div><br></div><div>;-(</div></div></div>
<br>--<br>
ubuntu-server mailing list<br>
<a href="mailto:ubuntu-server@lists.ubuntu.com">ubuntu-server@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a><br>
More info: <a href="https://wiki.ubuntu.com/ServerTeam" rel="noreferrer" target="_blank">https://wiki.ubuntu.com/ServerTeam</a><br></blockquote></div><br></div>