[ovs-discuss] bridge adapter problem with VirtualBox

Vinllen Chen cvinllen at gmail.com
Thu Feb 26 05:52:39 UTC 2015


Hi, all:
    I create two vhost, and connect to my ovs bridge with bridge apapter,
but there is no ip address when i start them, ofcourse, the two vhosts
cann't connect to the Internet.
    Here comes my code :

#!/bin/bash
ovs-vsctl add-br mybr
ovs-vsctl add-port mybr wlan0
ifconfig wlan0 0
dhclient mybr
ifconfig mybr up
ip tuntap add mod tap vport1
ip tuntap add mod tap vport2
ifconfig vport1 up
ifconfig vport2 up
ovs-vsctl add-port mybr vport1
ovs-vsctl add-port mybr vport2

    Greate appreciate for anyone's reply.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150226/4384866d/attachment-0002.html>


More information about the discuss mailing list