From: Henry Hollenberg on
Hey gang,

I added some routes in /etc/network/interfaces:

auto eth0
iface eth0 inet static
address 10.x.y.z
netmask 255.255.255.0
broadcast 10.x.y.255
gateway 10.x.y.1
up /sbin/route add -net 10.a.b.0/16 gw 10.x.y.250
down /sbin/route del -net 10.a.b.0/16 gw 10.x.y.250

which fails to add any routes when I run

/etc/init.d/networking restart

but errors out with:


* /etc/network/options is deprecated.
Setting up IP spoofing protection...done (rp_filter).
Reconfiguring network interfaces...ifup: interface lo already configured
SIOCADDRT: File exists
Failed to bring up eth0.
done.

What am I leaving out?

hgh.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Laurent CARON on
Henry Hollenberg a ?crit :
> Hey gang,
>
> I added some routes in /etc/network/interfaces:
>
> auto eth0
> iface eth0 inet static
> address 10.x.y.z
> netmask 255.255.255.0
> broadcast 10.x.y.255
> gateway 10.x.y.1
> up /sbin/route add -net 10.a.b.0/16 gw 10.x.y.250
> down /sbin/route del -net 10.a.b.0/16 gw 10.x.y.250
>
> which fails to add any routes when I run
>
> /etc/init.d/networking restart
>
> but errors out with:
>
>
> * /etc/network/options is deprecated.

means that you have to use sysctl.conf instead

> Setting up IP spoofing protection...done (rp_filter).
> Reconfiguring network interfaces...ifup: interface lo already configured
> SIOCADDRT: File exists

you probably already have that particular route active.

> Failed to bring up eth0.
> done.
>
> What am I leaving out?
>
> hgh.
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org