Hi,

I am using openvswitch for years but I am experimenting issues with systemd-netcl to manage openvswitch bridges. Sometimes my bridges are not up and I have tested a ton of configuration I am unable to find the reason.
Trying to get ovs starting in the right order I have added

nano /etc/systemd/system/multi-user.target.wants/ovs-vswitchd.service
After          = sys-subsystem-net-devices-pnic_wan.device
After          = sys-subsystem-net-devices-pnic_free.device
After          = sys-subsystem-net-devices-pnic_wlan.device

netctl example :
nano /etc/netctl/vswitch_wwan
Description='Virtual Switch'
Interface=vswitch_wwan
Connection=openvswitch
BindsToInterfaces=(pnic_wwan)
IP=static
Address='10.20.100.1/24'

It is better but I have still issue to fire up some bridges...
Solution is to manually ip link set bridge up but it is not ok for me as it is a server and needs to be independent...

Question : is there a proper way to use ovs with systemd-netctl?
Question : is there a best practice to start ovs at boot time and set the ip address and link up the bridges without systemd-netcl? Should I use a script for that?

Many thanks in advance,

belette
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to