Google
  Web www.spinics.net

[VLAN] VLAN naming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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
> Vlan@xxxxxxxxxxxxxxx
> http://www.lanforge.com/mailman/listinfo/vlan


-- 
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com


[Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Powered by Linux