Tom H a écrit :
> On Thu, Jul 24, 2014 at 2:41 PM, Mickael MONSIEUR
> <[email protected]> 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 [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to