Re: route goes on reboot ?
Someone more knowledgeable than me will correct this if I'm wrong, but I
think /etc/rc.boot gets executed after everything else. You can put route
commmands there.
Then again, you need to worry about what happens on a networking restart.
If that clears the routing table then you'll need to call your route
script again. I haven't looked that deep into it yet.
--
Sincerely,
David Smead
http://www.amplepower.com.
On Thu, 2 May 2002, Patrick Hsieh wrote:
> Hello David Smead <smead@amplepower.com>,
>
> BTW, if I have multiple routing table, where can I define so that it
> will work upon reboot?
>
>
> On Wed, 1 May 2002 21:59:25 -0700 (PDT)
> David Smead <smead@amplepower.com> wrote:
>
> > Put the info in /etc/network/interfaces. Mine looks like:
> >
> > auto eth0
> > iface eth0 inet static
> > address 192.168.8.30
> > netmask 255.255.255.0
> > network 192.168.8.0
> > broadcast 192.168.8.255
> > gateway 192.168.8.254
> >
> > Technically you don't need all the fields but I put them all in as a
> > reminder.
> >
> > --
> > Sincerely,
> >
> > David Smead
> > http://www.amplepower.com.
> >
> > On Thu, 2 May 2002, Kapil Khosla wrote:
> >
> > > Hi,
> > > In my current configuration , I have to do an
> > > ifconfig eth0 IP addr and route commands everytime I reboot.
> > > The problem is on reboot, all these settings "vanish" and I have to give these commands again.
> > >
> > > I sort of know that these have to be put in some /etc/rc**
> > > but am not sure which file do I have to put these files and if they should be put early in the booting procedure or in the last will do.
> > >
> > > Thanks
> > > Kapil
> > >
> > >
> > >
> > >
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: