2013-09-30 11:10 AM
I want to know how to create another vlan for an existing vif , Anyone has a KB article?
The filer has an vif with ip 10.*.*.50,51 and 52. and want to change the network id.
I do not want to destroy the existing vif and recreate since the datastores are mounted for Esxi hots, instead I want to create another vlan for NFS ,I do not know it is possible?
Solved! SEE THE SOLUTION
2013-10-01 07:09 AM
Thank you for your reply.
It is ver 8.1.3 7-mode. it has already a vlan with alias ips 10.10.40.59 ,10.10.40.60
I wonder how do i create another vlan with ips 10.10.50.55, 10.10.50.61, you do mind to put some steps ?
Do I have to down the interfaces?
2013-10-01 08:33 AM
If a physical interface/VIF does not belong to any VLAN, you can use the vlan create. If VIF is already a member of a VLAN, you should use the "vlan add" command to add the interface to subsequent VLANs.
In your case, VIF is already created and VLAN exits on top of it.
In order to add another VLAN with network Identifier '50'.
filer>vlan add interface_name vlanid
filer>vlan add vif 50
Note: Substitute vif with your vif name.
Next, configure the newly created VLAN:
filer>ifconfig vif-50 10.10.50.55 netmask 255.255.255.0
Next, add the alias:
filer>ifconfig vif-50 alias 10.10.50.60 netmask 255.255.255.0
Ensure that these commands are added to the /etc/rc file as they are not persistent across reboots.
2013-10-01 09:24 AM
You can use CLI or notepad/wordpad. I usually do it using CLI, b'cos, sometimes rc file dosent like notepad/wordpad edits.
In CLI, you'll need to use the "rdfile" and "wrfile" commands.
Login via putty:
1) rdfile /vol/vol0/etc/rc ---- This will display the current "rc" file, cut and paste this into a Notepad.
2) modify the "rc" in Notepad to include the vlan changes you made.
3) wrfile /vol/vol0/etc/rc ----- Copy the updated Notepad version of the "rc" file and right click and paste into the Putty session window
5) rdfile /vol/vol0/etc/rc ---- And review the changes
2013-10-01 10:44 AM
Well, the interface_name is the interface you want to add to a VLAN. This could be physical interface such as e0a ,e0b etc, or it could be a virtual interface, simply called VIF. If you already have a VIF (with teamed interfaces such as e0a, e0b, etc), then you don't have to give physical interfaces name, instead you give VIF name. Basically you are building a VLAN on top of VIF. Isn't it.
Is that your query ?