Re: how to save ipv6 routing table permanently

Peter Bieringer <[email protected]>
Newsgroups gmane.network.ipv6.general
Message-ID <[email protected]>

--On Tuesday, October 18, 2005 05:47:01 AM -0700 Susan Zheng
<[email protected]> wrote:

> The Linux OS is:
> Red Hat Linux Enterprise 3 (2.4.21-4.EL)
>  
> Here is the result by "uname" command:
> =============================
> [root@spring nc]# uname -a
> Linux spring 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386
> GNU/Linux  
> Thank you!
> Susan
> 
> 
> Fredrik Tolf <[email protected]> wrote:
> On Mon, 2005-10-17 at 12:35 -0700, Susan Zheng wrote:
>> I've manually added some static ipv6 routes on Linux, but after reboot
>> the
>> machine, the route entries added before will disappear, then have to
>> added back again by hand.
>> 
>> Just wonder how could I save my good ipv6 routing table that is to
>> make it
>> permannently on linux platform ?
> 
> The routing table is initialized by the initscripts, and since the
> initscripts are one of the things the differ very much between different
> distros, the answer to your question depends on what distro you're
> using.
> 
> If you reply with what distribution you're using, I can probably answer
> for real.

See above, RHEL3.

If you would take a look into 

/etc/sysconfig/network-scripts/ifup-ipv6

you would found that either
/etc/sysconfig/network-scripts/static-routes-ipv6
or
/etc/sysconfig/network-scripts/route6-$DEVICE

is supported, same config like for IPv4.


See also
<http://www.deepspace6.net/projects/initscripts-ipv6.html>

Regards,
        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/
---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [email protected]
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.