lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 7 Oct 2008 14:48:21 +0200
From:	Milan Kocian <milon@...cz>
To:	Denys Fedoryshchenko <denys@...p.net.lb>
Cc:	Patrick McHardy <kaber@...sh.net>,
	Ben Greear <greearb@...delatech.com>,
	Stephen Hemminger <shemminger@...tta.com>,
	netdev@...r.kernel.org
Subject: Re: Could you make vconfig less stupid?

On Tue, Oct 07, 2008 at 03:20:56PM +0300, Denys Fedoryshchenko wrote:
 
> 

> diff -Naur iproute2.backup/ip/iplink.c iproute2/ip/iplink.c
> --- iproute2.backup/ip/iplink.c	2008-10-05 15:41:59.000000000 +0000
> +++ iproute2/ip/iplink.c	2008-10-07 12:14:28.000000000 +0000
> @@ -54,6 +54,10 @@
>  	fprintf(stderr, "	                     mtu MTU }\n");
>  	fprintf(stderr, "	                     netns PID }\n");
>  	fprintf(stderr, "       ip link show [ DEVICE ]\n");
> +	fprintf(stderr, "       ip link add link PARENTDEV type { vlan | veth } { ... | help }\n");
> +	fprintf(stderr, "       ip link add link PARENTDEV NEWDEVICE type macvlan { ... | help }\n");
> +	fprintf(stderr, "       ip link change link PARENTDEV type { vlan | veth } { ... | help}\n");
> +	fprintf(stderr, "       ip link del dev DEVICE\n");
>  	exit(-1);
>  }
>  
hello,

btw. How can I see vlan id on device ?
After:
# ip l a l eth0 type vlan id 100
# ip a
I see:

64: vlan0@...0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN 
    link/ether 00:16:d3:3e:4e:b9 brd ff:ff:ff:ff:ff:ff

No vlan id in interface name ?

# ip -V
ip utility, iproute2-ss080725

regards,

-- 
Milan Kocian

Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ