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
| ||
|
Date: Thu, 05 Jul 2012 16:20:38 -0700 From: John Fastabend <john.r.fastabend@...el.com> To: "Fabien C." <kczy1jafrl3jpq1@...able.org> CC: netdev@...r.kernel.org Subject: Re: [iproute2] display vlan configuration On 7/5/2012 4:06 PM, Fabien C. wrote: > Hello, > > it looks like there is no way to show the vlan configuration with iproute (nor with any other tool apparently). > > This can lead to trouble since : > # ip link add link eth0 name eth2.333 type vlan id 444 > > will create an interface that will show up like this with "ip link show" : > 51: eth2.333@...0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN > > The only hint we have is the interface name, which may not be related to the vlan id we set earlier. Here you need to show the details, #ip -d link show dev eth2.333 From my current setup, # ip -d link show dev vlan0 33: vlan0@...3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN link/ether 00:1b:21:55:23:59 brd ff:ff:ff:ff:ff:ff vlan id 101 <REORDER_HDR> -- 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