[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150917201057.GA32635@angus-think.lan>
Date: Thu, 17 Sep 2015 23:10:57 +0300
From: Vadim Kochan <vadim4j@...il.com>
To: Wilhelm Wijkander <lists@...e.se>
Cc: netdev@...r.kernel.org
Subject: Re: iproute2 tunnel name parsing
On Thu, Sep 17, 2015 at 09:55:29PM +0200, Wilhelm Wijkander wrote:
> Hi,
>
> I'm trying to create a sit tunnel called "hel": ip tun add hel mode
> sit remote 10.200.0.2 local 10.200.1.2 ttl 255, however it seems like
> this is interpreted as the help argument and I get the usage text. Is
> there a way to escape names that I've missed, or is this an error
> somewhere in argv parsing?
>
> (I'm not subscribed, so a cc would be appreciated)
> Thanks,
> Wilhelm
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Wilhelm,
You can use 'name' before 'hel' like:
$ ip tun add name hel mode sit remote 10.200.0.2 local 10.200.1.2 ttl 255
and it should work, actually I just tried and it works.
Regards,
Vadim Kochan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists