This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:dhcpcd [2026/09/07 16:26] – oemb1905 | computing:dhcpcd [2026/09/07 17:01] (current) – oemb1905 | ||
|---|---|---|---|
| Line 78: | Line 78: | ||
| You can now reboot, restart each service and DNS is not altered, nor is the gateway. This only took about a year to figure out. It was much easier in isc-dhcp-client; | You can now reboot, restart each service and DNS is not altered, nor is the gateway. This only took about a year to figure out. It was much easier in isc-dhcp-client; | ||
| - | --- // | + | ------------------------------------------- |
| + | === Updates === | ||
| + | |||
| + | It is not enough to simply instruct dhcpcd to not set routes for the bridges, you also have to tell Network Manager the same. To do this, open nm-connection-editor and open the routes submenu in each bridge. Click both the options there for all the IoT or restricted bridges; leave the primary or private bridge untouched. Then, restart networking and NetworkManager and you should only see the default route for the private subnet/lan. Here is what that looks like: | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | This worked flawlessly on two machines. However, one machine insisted on making routes no matter what I did. So, for that machine, I additionally stopped Network Manager from doing that using nmcli: | ||
| + | |||
| + | nmcli connection modify br1 ipv4.ignore-auto-routes yes ipv6.ignore-auto-routes yes | ||
| + | nmcli connection modify br2 ipv4.ignore-auto-routes yes ipv6.ignore-auto-routes yes | ||
| + | nmcli connection modify br3 ipv4.ignore-auto-routes yes ipv6.ignore-auto-routes yes | ||
| + | |||
| + | If you instead want the routes, but just don't want them to be default, then: | ||
| + | |||
| + | nmcli connection modify br1 ipv4.never-default yes ipv6.never-default yes | ||
| + | nmcli connection modify br2 ipv4.never-default yes ipv6.never-default yes | ||
| + | nmcli connection modify br3 ipv4.never-default yes ipv6.never-default yes | ||
| + | |||
| + | Just adapt this command to whatever your bridges are named. This final change took care of the most stubborn machine I had. | ||
| + | |||
| + | --- // | ||