Re: [Wheezy] [networking] post-up NOT executed
On Sun, Jul 27, 2014 at 9:52 AM, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
> Tom H a écrit :
>> On Thu, Jul 24, 2014 at 2:41 PM, Mickael MONSIEUR
>> <mickael.monsieur@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.
Thanks. And sorry, brain-fart.
Reply to: