[ovs-discuss] How to smoothly add eth0 to the OVS bridge?
Reid Price
rprice at nicira.com
Tue Feb 19 22:57:43 UTC 2013
Is the script local or remote? You need to run the command atomically from the
remote perspective. This means you need the ssh command to be a single one,
likely along the lines of:
ssh user at remote remote_script
or
ssh user at remote "command && command ; command"
. A local script would not work unless it invoked all the commands on a single
command line. Hope this helps.
-Reid
PS here's the FAQ note you're referencing:
(If your only connection to the machine running OVS is through the
IP address in question, then you would want to run all of these
commands on a single command line, or put them into a script.)
On Tue, Feb 19, 2013 at 2:15 PM, Jing Ai <ai_jing2000 at hotmail.com> wrote:
> Hey,
>
> I've noticed that there is already a FAQ illustrating the steps to add eth0
> to the bridge, e.g., br0 as follows.
>
> ovs-vsctl add-br br0
> ovs-vsctl add-port br0 eth0
> ifconfig eth0 0.0.0.0
> ifconfig br0 <eth0's IP address>
>
> Since I issued the above commands on a remote host via ssh, I also put them
> in a script as instructed. However, when I run such a script, I immediately
> lost the connection to the remote host. Any idea?
>
> Best,
> Jing
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
More information about the discuss
mailing list