Turns out OVS got stuck in the systemd cycle. After waiting 5 minutes,
it came up.

brian

On Sun, Jul 01, 2018 at 09:06:48AM -0700, Brian E. Lavender wrote:
> I did a fresh install and tried things from scratch.
> 
> I tried again bringing up the switch manually using the command line and
> for some reason, when I attempt to do the same with
> /etc/network/interfaces, it doesn't work. The only thing that seems
> different from when I did this before is the fact that I have to bring
> the link up on the device. 
> 
> ip link set dev eno1 up
> ovs-vsctl add-br br0
> ovs-vsctl add-port br0 eno1
> dhclient br0
> 
> This is what I put in /etc/network/interfaces . It's what I thought
> worked before and seems pretty straight forward, but after boot, I get
> no switch. :( Do I have to add something for the link up?
> 
> allow-ovs br0
> iface br0 inet dhcp
>     ovs_type OVSBridge
>     ovs_ports eno1
> 
> allow-br0 eno1
> iface eno1 inet manual
>     ovs_bridge br0
>     ovs_type OVSPort
> 
> Any suggestions?
> 
> On Sat, Jun 30, 2018 at 11:08:07PM -0700, Brian E. Lavender wrote:
> > I am using Debian and I am just trying to get a simple bridge going and
> > connect the ethernet to it. It is an Intel NUC and the ethernet shows up
> > as "eno1". I don't know why it doesn't come up as "eth0".
> > 
> > iface eno1 inet dhcp
> > auto eno1
> > 
> > But, if I replace that with the following, it doesn't come up.
> > 
> > allow-ovs br0
> > iface br0 inet dhcp
> >     ovs_type OVSBridge
> >     ovs_ports eno1
> > 
> > allow-br0 eno1
> > iface eno1 inet manual
> >     ovs_bridge br0
> >     ovs_type OVSPort
> > 
> > I check the system and when I look at the output of "ip address", it
> > shows DOWN for interface "eno1". If I do the following from the command
> > line, the bridge comes up and I get an IP address. The "#" indicates ran
> > as root.
> > 
> > # ip link set dev eno1 up
> > # ovs-vsctl add-br br0
> > # ovs-vsctl add-port br0 eno1
> > # dhclient br0
> > 
> > Is there something I am missing in my interfaces file on Debian?
> > 
> > brian
> > -- 
> > Brian Lavender
> > http://www.brie.com/brian/
> > 
> > "There are two ways of constructing a software design. One way is to
> > make it so simple that there are obviously no deficiencies. And the other
> > way is to make it so complicated that there are no obvious deficiencies."
> > 
> > Professor C. A. R. Hoare
> > The 1980 Turing award lecture
> > _______________________________________________
> > discuss mailing list
> > disc...@openvswitch.org
> > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
> 
> -- 
> Brian Lavender
> http://www.brie.com/brian/
> 
> "There are two ways of constructing a software design. One way is to
> make it so simple that there are obviously no deficiencies. And the other
> way is to make it so complicated that there are no obvious deficiencies."
> 
> Professor C. A. R. Hoare
> The 1980 Turing award lecture



> _______________________________________________
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


-- 
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture

Attachment: signature.asc
Description: PGP signature

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to