[ovs-discuss] [Fwd: Re: auto starting bridge fails]

Flavio Leitner fbl at redhat.com
Thu Mar 27 19:56:53 UTC 2014


On Thu, Mar 27, 2014 at 12:05:12PM -0700, Neil Schneider wrote:
> I had a configuration error that was causing my interfaces to not come up
> properly. Here's what ifcfg-br0 looked like, with the error line commented
> out.
> 
> DEVICE="br0"
> ONBOOT="yes"
> DEVICETYPE="ovs"
> TYPE="OVSBridge"
> BOOTPROTO="none"
> HOTPLUG="no"
> #OVS_OPTIONS="tag=100"
> 
> Not sure why this failed, but I have the information in ifcfg-vlan100

Because they are different things, one is a bridge and another is a port

> DEVICE=vlan100
> ONBOOT=yes
> DEVICETYPE=ovs
> TYPE=OVSIntPort
> BOOTPROTO=static
> IPADDR=10.1.4.2
> NETMASK=255.255.255.0
> OVS_BRIDGE=br0
> OVS_OPTIONS="tag=100"
> HOTPLUG=no
> 
> I haven't yet discovered how to make sure this part is right and that the
> vlan tags are getting applied as I expect. But I do see this output:
> # ifconfig vlan100
> vlan100   Link encap:Ethernet  HWaddr 4E:5F:E9:7B:31:CE
>           inet addr:10.1.4.2  Bcast:10.1.4.255  Mask:255.255.255.0
>           inet6 addr: fe80::4c5f:e9ff:fe7b:31ce/64 Scope:Link
>           UP BROADCAST RUNNING  MTU:1500  Metric:1
>           RX packets:8 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:468 (468.0 b)  TX bytes:636 (636.0 b)
> 
> 
> Still moving forward.

I don't know what you're trying to archive because you seem to
be trying to add a vlan tag on a bridge device that doesn't have
either static IP address nor DHCP enabled.

Look at the FAQ, maybe that helps you with something.
http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=FAQ;h=eec2d4f370f93b42d0d5a933c487633a175aac60;hb=b6c4da210dccd802d775a58af1b6eac2e866d011

fbl



More information about the discuss mailing list