Bridge and bond interface support
by Pieter Cardoen
Dear
Is it possible to use connmand to configure and enable a bridge at boot-time and then use connmand to manage this interface?
Same question for bonding interfaces.
I would like to use a config file like this:
[service_br0]
Type=bridge
IPv4=dhcp
IPv6=off
ports=eth0,eth1
Thanks
Pieter Cardoen
1 year, 6 months
DSA support - bug
by Pieter Cardoen
Dear
I am using connmand on our embedded devices which have an on-board marvell switch, configured using dsa. I noticed that, using latest release, the network connections were not working. After debugging i found that this patch needed to be applied to have connmand properly working with dsa ports:
diff --git a/src/rtnl.c b/src/rtnl.c
index dfe6bb6..b2fea44 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -174,6 +174,9 @@ static void read_uevent(struct interface_data *interface)
} else if (strcmp(line + 8, "vlan") == 0) {
interface->service_type = CONNMAN_SERVICE_TYPE_ETHERNET;
interface->device_type = CONNMAN_DEVICE_TYPE_ETHERNET;
+ } else if (strcmp(line + 8, "dsa") == 0) {
+ interface->service_type = CONNMAN_SERVICE_TYPE_ETHERNET;
+ interface->device_type = CONNMAN_DEVICE_TYPE_ETHERNET;
} else if (strcmp(line + 8, "bond") == 0) {
interface->service_type = CONNMAN_SERVICE_TYPE_ETHERNET;
interface->device_type = CONNMAN_DEVICE_TYPE_ETHERNET;
Kind regards
Pieter Cardoen
Embedded Linux Development Engineer
<https://www.televic-rail.com/>
1 year, 6 months