View previous topic :: View next topic |
Author |
Message |
nasaiya Apprentice
Joined: 17 May 2007 Posts: 157
|
Posted: Fri Dec 15, 2017 5:35 pm Post subject: Why does default route reappear in main after some time? |
|
|
Hello,
Hopefully this is an easy one... I've got a weird routing setup with vpns and multiple routing tables.
For this setup to work I need to have NO default route in table main, I remove it (using iproute tools) but after a while it reappears!
I tried switching the main IF from dhcp to static thinking dhcp was re-adding it, but that wasn't it.
Where else could this route be coming from?
Thanks for any help! _________________ If it ain't broke - fix it till it is! |
|
Back to top |
|
|
P.Kosunen Guru
Joined: 21 Nov 2005 Posts: 309 Location: Finland
|
Posted: Fri Dec 15, 2017 5:50 pm Post subject: Re: Why does default route reappear in main after some time? |
|
|
nasaiya wrote: | I tried switching the main IF from dhcp to static thinking dhcp was re-adding it, but that wasn't it. |
Any DHCP enabled interface will set it. |
|
Back to top |
|
|
nasaiya Apprentice
Joined: 17 May 2007 Posts: 157
|
Posted: Fri Dec 15, 2017 6:10 pm Post subject: |
|
|
Thanks your answer led me to discover that I forgot to add the interface to the default runlevel (though something was apparently causing it to start anyway) and that same something was apparently starting dhcpcd. I'm assuming dhcpcd was the culprit... Hopefully it's fixed now.
I don't know how I missed that
Thanks a lot! _________________ If it ain't broke - fix it till it is! |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
|