[ovs-discuss] Debian init script

Pavel V. Kaygorodov pasha at inasan.ru
Tue Jul 8 09:08:35 UTC 2014


Hi!

I have installed openvswitch-2.3.90 on Debian wheezy, and changed /etc/network/interfaces:

auto lo eth1 br0
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

allow-ovs br0
  iface br0 inet static 
  address 192.168.111.1
  netmask 255.255.255.0
  ovs_type OVSBridge
  ovs_ports eth1

allow-br0 eth1
  iface eth0 inet manual
  ovs_bridge br0  
  ovs_type OVSPort
  pre-up ifconfig $IFACE up
  post-down ifconfig $IFACE down

after reboot I see br0 interface with proper IP address, but without eth1 port added:

# ovs-vsctl show
3ec07e03-5a5a-44ec-8543-3a9bc380bfdb
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
    ovs_version: "2.3.90"

I think this is because openvswitch-switch isn't started before network interface configuration stage, I see following errors on boot screen:



How can I fix this?

Pavel.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140708/57272d10/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 12635 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140708/57272d10/attachment-0002.png>


More information about the discuss mailing list