default route resets after reboot


pappaq

Recommended Posts

I've solved the docker issue for now. I changed the following setting:

image.thumb.png.e6e688a24d40b7390d672dc6c4da58eb.png

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 by pappaq
Link to comment
  • 3 months later...

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.

Link to comment
  • 11 months later...

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 by Xoron
Link to comment
  • 1 month later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.