Re: VLAN naming

Ben Greear <[email protected]>
Newsgroups gmane.linux.drivers.vlan
Organization Candela Technologies
Message-ID <[email protected]>
Parthasarathy Vivek-VPARTHA1 wrote:
> Hi,
>  
> Does Linux provide the user process the ability to name VLANs in any 
> manner? I would like to deviate from options in the vlan_name_types enum 
> in /linux/if_vlan.h.
> Any help is appreciated.

The 'ip' tool can rename an interface to whatever name you want...

[root@ns2 htdig]# ip link help
Usage: ip link set DEVICE { up | down |
                              arp { on | off } |
                              dynamic { on | off } |
                              multicast { on | off } |
                              allmulticast { on | off } |
                              promisc { on | off } |
                              trailers { on | off } |
                              txqueuelen PACKETS |
                              name NEWNAME |
                              address LLADDR | broadcast LLADDR |
                              mtu MTU }
        ip link show [ DEVICE ]


Thanks,
Ben

>  
> Thanks
> vivek
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Vlan mailing list
> [email protected]
> http://www.lanforge.com/mailman/listinfo/vlan


-- 
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.