packages icon indicating copy to clipboard operation
packages copied to clipboard

proto-bonding: Modify ipaddr as optional

Open findlayfeng opened this issue 11 months ago • 3 comments

Maintainer: Helge Mader [email protected] Compile tested: x86_64, main Run tested: x86_64, main

Description: The configuration of ipaddr in proto-bonding is not necessary, such as adding the bond interface to the bridge or performing pppoe dialing on the bond interface, etc.

findlayfeng avatar Mar 23 '24 04:03 findlayfeng

@findlayfeng Can you please add to your commit description, why this change is needed? At some point in the future, if you want to see why this has been changed, a good description would not be bad. Also please update the pullrequest description with correct values.

feckert avatar Mar 25 '24 14:03 feckert

I prefer to rewrite the content of the bond interface into a bond device. Bond is more suitable as a device, but that seems to be a relatively large modification and destroys compatibility. The current modification is quite appropriate. It retains the compatibility of the old configuration and allows for more flexible use of the bond interface. In addition, I also submitted a PR on luci-proto-bonding to remove the ipaddr check.

findlayfeng avatar Mar 29 '24 13:03 findlayfeng

@feckert Is this appropriate? My description in English requires the help of Google Translate

findlayfeng avatar Mar 29 '24 13:03 findlayfeng

Thanks merged!

feckert avatar Apr 08 '24 08:04 feckert

@findlayfeng I think that there was/is a limitation in netifd that requires static protocol interfaces to have an IP address unless they are virtual. That said, netifd support bonding devices since https://github.com/openwrt/netifd/commit/5ba9744aac6d42da1e56357aca951b52f86cfacb but luci does not.

I've implemented luci support in https://github.com/openwrt/luci/pull/7086

hitech95 avatar Apr 27 '24 09:04 hitech95