Summary: | Network bridging settings are not fully applied from "rc .conf" | ||
---|---|---|---|
Product: | Base System | Reporter: | Zoomion <assiszoom> |
Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | zarychtam |
Priority: | --- | ||
Version: | 13.0-STABLE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Zoomion
2021-06-30 14:31:32 UTC
(In reply to Zoomion from comment #0) >Tried adding additional settings to "rc.conf": >if_bridge_load="YES" >bridgestp_load="YES" Please place those in /boot/loader.conf. If helped, please consider closing this PR. (In reply to Marek Zarychta from comment #1) The error is here: >ifconfig_bridge0="addm igb0 addm igb1 addm igb2 addm igb3 up" >ifconfig_bridge0="inet 192.168.1.1 netmask 255.255.255.0" Second line overrides the first one, try to combine them ifconfig_bridge0="inet 192.168.1.1 netmask 255.255.255.0 addm igb0 addm igb1 addm igb2 addm igb3 up" It's not a bug (In reply to Marek Zarychta from comment #2) Tried it like this: ifconfig_bridge0 = "addm igb0 addm igb1 addm igb2 addm igb3 up inet 192.168.1.1 сетевая маска 255.255.255.0" does not work! I'll try both options in the evening. Thank you. (In reply to Zoomion from comment #4) Try this one ifconfig_bridge0="inet 192.168.1.1/24 addm igb0 addm igb1 addm igb2 addm igb3 up" (In reply to Marek Zarychta from comment #5) I also tried the shortened version, did not try to swap places - IP/24 abbm... (In reply to Zoomion from comment #6) I'll try to add filter loading in boot.loader ... (In reply to Marek Zarychta from comment #1) These lines are probably not needed, since the bridge is enabled by default in the kernel. But you are right, they need to be placed in boot.loader Problem solved! Indeed, if you bring the configuration line, in "rc.conf", to the form: ... cloned_interfaces="bridge0" ifconfig_bridge0="inet 192.168.17.1/24 addm igb0 addm igb1 addm igb2 addm igb3 up" ifconfig_igb0="up" ifconfig_igb1="up" ifconfig_igb2="up" ifconfig_igb3="up" .... , then the network bridge and the connected interfaces will work correctly! It is necessary to indicate this case in the manuals so that beginners do not go down the wrong path! Thank you for your help and quick response !!! Thank you Marek Zarychta! If the problem is solved, then please consider closing this PR. I think this is a bug, but not a software bug, but a bug in the documentation! This needs to be fixed! Thanks again! |