Re: File system storage for alternate ip routing tables and additional ip rules

Grant Taylor <[email protected]>
Newsgroups org.kernel.vger.lartc
Message-ID <[email protected]>
On 05/25/2018 03:04 PM, Leroy Tennison wrote:
> Are these stored anywhere (other than system ram) when 'ip route 
> add ... table <whatever>' and 'ip rule add ...' are used from the 
> command line?  I'm using Ubuntu and am assuming they need to be added 
> to /etc/network/interfaces or elsewhere (/etc/rc.local) to be applied 
> on startup unless someone knows otherwise.

I'm not aware of any persistent storage for this in any Linux distribution.

I've always just created a shell script with the commands and arranged 
for it to be run on start up.

There may be something if you look at Bird / Quagga / Zebra / etc that 
supports multiple routing tables through their config.



-- 
Grant. . . .
unix || die
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.