I aggregated two interfaces, eth0 and eth1, into a bonded interface called bond0 using the following commands:
ip link add name bond0 type bond mode 4
ip link set dev eth0 master bond0
ip link set dev eth1 master bond0
ip link set dev bond0 up
ip addr add 10.30.40.10/16 dev bond0
Now, I want to assign the bond0 interface to the green network. Is this possible?
Are you sure that will work? I tested it once last month and got an error saying “no such device: bond0” after setting the MAC address of bond0 to the green interface.
I am not knowledgeable at all regarding bonded interfaces.
What I see is that you already assigned an IP to the bonded interface pu the link into up mode.
It could be that therefore the IPFire code can’t find an available bond0 interface as it has already been assigned.
I would suggest to only carry out the first three of your instructions and then go into the setup mode, assign the bond0 interface to the green zone and then assign the IP in the following set up stage.