[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: route configuration



Thanks, this was what I wanted.


> You can add this additional routing into /etc/network/interfaces like
> this:
> iface eth0 inet static
> address 217.153.114.164
> netmask 255.255.255.248
> gateway 217.153.114.161
> up route something
> up route something
> iface eth0:1 inet static
> address 212.244.211.19
> netmask 255.255.255.224
> broadcast 212.244.211.31
> network 212.244.211.0
> up route something
> as is described in interfaces manual.

> On Wed, 2001-10-10 at 15:08, Davi Leal wrote:
> > > doesn't the gateway line in /etc/network/interfaces solve the problem?
> > > or do you have additional routing to do?
> >
> > Yes, I think I have additional routing to do because of the host has a
set
> > of virtual inferfaces: eth0:0, ..., eth0:17. Each virtual IP is used to
one
> > extra domain name.
> >
> > Is not there a file to configure this additonal routes, as with
> > 'interfaces'?. If no, have you any idea to realize it?.
> >
> >
> > > Debian GNU/Linux 2.2r3 (potato)
> > > kernel 2.2.19pre
> > >
> > >
> > > I have set the interfaces in the /etc/network/interfaces file,  I need
now
> > > set up the routes.
> > >
> > > Where is the best place to insert the /sbin/route configuration
lines?.
> > What
> > > init script, if any?. What command-tool use, if any?.



Reply to: