# iproute2: Optional 'name' keywork in ip link is broken

- From: Mehdi Abaakouk \<hidden\>
- Date: 2014-08-27 06:22:08 
- List: netdev
- Page: https://ratatoskr.run/netdev/2014/08/10963226

```text
Hi,

I got an issue since iproute2 3.16, this command is not working anymore:

# ip link add bar type veth  peer name foo
Error: argument "bar" is wrong: Unknown device

My current workaround is to use the optional "name" keywork for the first veth

# ip link add name bar type veth  peer name foo


This issue was introduced by:

http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=9a02651a87d0fd56e2e7eedd63921a050a42b3ec


Regards,

-- 
Mehdi Abaakouk
mail: sileht@sileht.net
irc: sileht
```
