Re: [Wheezy] [networking] post-up NOT executed
On Sun, Jul 27, 2014 at 9:52 AM, Pascal Hambourg <firstname.lastname@example.org> wrote:
> Tom H a écrit :
>> On Thu, Jul 24, 2014 at 2:41 PM, Mickael MONSIEUR
>> <email@example.com> wrote:
>>> post-up /sbin/route add 126.96.36.199 dev eth0
>> your "route ..." syntax looks wrong to me.
> Not to me.
> zenith:~# /sbin/route add 188.8.131.52 dev eth0
> zenith:~# /sbin/route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 184.108.40.206 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.