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 [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]