Re: [systemd-devel] Systemd setting up two Microchip switch ports as individual network interfaces and then bonding them

2020-10-15 Thread Brian Hutchinson
Ok systemd experts. I finally got my DSA driver bonding feature working like I want it ... now I'd just like to know the best way for systemd to set everything up. This is on a custom board based off an i.MX8M Mini EVK. I built the latest Yocto Dunfell release for the OS. I know systemd has api

Re: [systemd-devel] Systemd setting up two Microchip switch ports as individual network interfaces and then bonding them

2020-10-13 Thread Brian Hutchinson
... would be nice if someone could add a systemd-networkd section to Documentation/networking/bonding.txt Looks like all methods but systemd-networkd are covered. Regards, Brian On Tue, Oct 13, 2020 at 4:06 PM Brian Hutchinson wrote: > > > On Tue, Oct 13, 2020 at 10:06 AM Brian Hutchinson >

Re: [systemd-devel] Systemd setting up two Microchip switch ports as individual network interfaces and then bonding them

2020-10-13 Thread Brian Hutchinson
On Tue, Oct 13, 2020 at 10:06 AM Brian Hutchinson wrote: > > On Tue, Oct 13, 2020 at 9:16 AM Kevin P. Fleming wrote: > >> While I can't comment on the specifics of configuring systemd-networkd >> to use ports through DSA (although the linked GitHub issue shows that >> it can be done), I really d

Re: [systemd-devel] Systemd setting up two Microchip switch ports as individual network interfaces and then bonding them

2020-10-13 Thread Brian Hutchinson
On Tue, Oct 13, 2020 at 10:06 AM Brian Hutchinson wrote: > > On Tue, Oct 13, 2020 at 9:16 AM Kevin P. Fleming wrote: > >> While I can't comment on the specifics of configuring systemd-networkd >> to use ports through DSA (although the linked GitHub issue shows that >> it can be done), I really d

Re: [systemd-devel] Systemd setting up two Microchip switch ports as individual network interfaces and then bonding them

2020-10-13 Thread Brian Hutchinson
On Tue, Oct 13, 2020 at 9:16 AM Kevin P. Fleming wrote: > While I can't comment on the specifics of configuring systemd-networkd > to use ports through DSA (although the linked GitHub issue shows that > it can be done), I really doubt you are going to be able to > successfully bond any group of s

Re: [systemd-devel] Systemd setting up two Microchip switch ports as individual network interfaces and then bonding them

2020-10-13 Thread Kevin P. Fleming
While I can't comment on the specifics of configuring systemd-networkd to use ports through DSA (although the linked GitHub issue shows that it can be done), I really doubt you are going to be able to successfully bond any group of such ports, because they all have the same MAC address. In your pro

[systemd-devel] Systemd setting up two Microchip switch ports as individual network interfaces and then bonding them

2020-10-13 Thread Brian Hutchinson
Hi, I have my device tree exposing two Microchip KSZ9567 switch ports. I need to use them as individual NIC's. I've tested the DSA driver as individual nics and they work fine. I do this with: ip addr add 192.168.0.4/24 dev lan1 ip addr add 192.168.2.4/24 dev lan2 ip link set eth0 up ip link