Re: iproute2 tunnel name parsing

2015-09-17 Thread Wilhelm Wijkander
Thanks for the reply Vadim, 2015-09-17 22:10 GMT+02:00 Vadim Kochan : > You can use 'name' before 'hel' Yes, "name" enables me to create the tunnel, things do get trickier when I'm trying to bring the tunnel device up: # ip link set dev hel up Usage: ip link add [link DEV] [ name ] NAME

Re: iproute2 tunnel name parsing

2015-09-17 Thread Vadim Kochan
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

iproute2 tunnel name parsing

2015-09-17 Thread Wilhelm Wijkander
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 pa