pappaq Posted October 26, 2020 Share Posted October 26, 2020 Hello there, I've got a problem with my default route in unRAID. After every reboot, the second NIC is used for the default route configuration. I have to change it after every reboot back to my first NIC. Is there a way around that? Thanks in advance! Quote Link to comment
JorgeB Posted October 26, 2020 Share Posted October 26, 2020 37 minutes ago, pappaq said: I have to change it after every reboot back to my first NIC. How are you doing that? It must be done on Settings -> Network Settings -> Interface Rules (reboot required) Quote Link to comment
pappaq Posted October 26, 2020 Author Share Posted October 26, 2020 Perhaps I did not express myself properly. I change the default route after each reboot as described above. Gonna check the GUI later, if somebody answers my question regarding my "File not found." GUI problems! Quote Link to comment
JorgeB Posted October 26, 2020 Share Posted October 26, 2020 Are you doing it in the Interface rules? Doesn't look like it since it requires a reboot. Quote Link to comment
pappaq Posted October 27, 2020 Author Share Posted October 27, 2020 So my interface rules are set as follows: But after each reboot, unraid sets the default gateway to br1, like this: It should use 192.168.1.210 via br0! I can't delete the default route via GUI, so I do it after every reboot by hand via SSH. What am I doing wrong? Quote Link to comment
JorgeB Posted October 27, 2020 Share Posted October 27, 2020 I misunderstood your issue, sorry, not a network guy so something I can't help with. 1 Quote Link to comment
pappaq Posted October 27, 2020 Author Share Posted October 27, 2020 Some docker, which are part of the network via br0 can't resolve DNS. I can't figure out what's wrong. Pleas help! dringenet-ms-diagnostics-20201027-1905.zip Quote Link to comment
pappaq Posted October 28, 2020 Author Share Posted October 28, 2020 I've pinned the issue down to all the dockers with a static IP address and br0 as their network. They can't resolve any address. What am I missing? Do I have to configure the second NIC any different to not intervene with the traffic of br0 or sth like that? Has anyone an idea? Quote Link to comment
pappaq Posted October 28, 2020 Author Share Posted October 28, 2020 (edited) I've solved the docker issue for now. I changed the following setting: There was a second entry for br1 with no gateway etc. I've unchecked the entry and restarted the docker service. The dockers are resolving the addresses correctly now. I have no clue, why a docker with an IP in the 192.168.1.0/24 net would try to communicate via br1 and its not available gateway. It's a mystery to me. My problem from the first post isn't resolved yet. Maybe someone could help? Thanks a lot in advance! Edited October 28, 2020 by pappaq Quote Link to comment
ShovelHead Posted February 16, 2021 Share Posted February 16, 2021 I have the same problem. I added an additional physical NIC for a lab network. I only used the interface for a short while and do not have anything operating on that network anymore. The cable is disconnected and the interface shutdown. However, every time the server reboots it starts up with the default route assigned to the secondary NIC. I have to manually add the default route to the primary gateway and shutdown the secondary NIC. It happens every reboot. Quote Link to comment
Xoron Posted January 29, 2022 Share Posted January 29, 2022 (edited) I have the same exact problem. My main network is 10.168.10.0/24 which on my unraid box is on the br0 interface. As well, I have interfaces for non-internet accessible VLans (br2, br2.200). Whenever I reboot, unraid changes my default route to the 10.168.200.1 IP address on the br2.00 vlan interface. I can add a default route to the 10.168.10.1 address using the GUI, but I can't remove the default one on br2.200. I have to SSH in and run the command root@Nas:~# route del -net 0.0.0.0 gw 10.168.200.1 This happens on every reboot, with no way to have the default I set stick to 10.168.10.1 after a reboot. Edited January 29, 2022 by Xoron Quote Link to comment
obowan Posted March 3, 2022 Share Posted March 3, 2022 (edited) I am having the same issue as well. I've deleted my network config on my flash drive multiple times but it always wants to use my secondary NIC as the primary default route upon reboot. Does anyone have a fix? Edited March 3, 2022 by obowan Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.