Tom H a écrit :
> On Thu, Jul 24, 2014 at 2:41 PM, Mickael MONSIEUR
> <mickael.monsi...@gmail.com> wrote:
>>
>> post-up /sbin/route add 1.2.3.4 dev eth0
> 
> your "route ..." syntax looks wrong to me.

Not to me.

zenith:~# /sbin/route add 1.2.3.4 dev eth0
zenith:~# /sbin/route -n
Kernel IP routing table
Destination   Gateway      Genmask         Flags Metric Ref    Use Iface
1.2.3.4       0.0.0.0      255.255.255.255 UH    0      0        0 eth0

> There's no netmask and no gateway.

Because it does not need any. It is a direct route to a host address.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53d5041f.2030...@plouf.fr.eu.org

Reply via email to