Product Line: VERDE
As of this writing, a script has been developed to create the required NIC interface files and the appropriate configuration in support of VLANs. The target VLAN should be available and recognized on your switch.
You will need to
- Download the attached script (verde-vlan.sh.zip)
- Upzip it
- Move it to the VERDE server's /root directory
- Make it an executable ( chmod a+x verde-vlan.sh)
- Execute the script ( ./verde-vlan.sh create)
It will immediately check to ensure a program entitled "socat" is installed. if it's not, it tell you to do the following and then exit from the script:
yum install -y socat
Once "socat" is installed, run the script again ./verde-vlan.sh create
it will continue and ask the following:
physical-NIC[eg: eth0]: <----You need to supply the NIC interface name that this VLAN will be using. Mine is em1, so I respond as follows:
physical-NIC[eg: eth0]: em1
After pressing enter, you'll see the following:
verde-primary-ip-address[eg: 192.168.5.10]: <-----You need to input your VERDE server's IP address. I input as 192.168.0.7, so I respond as follows:
verde-primary-ip-address[eg: 192.168.5.10]: 192.168.0.7
After pressing enter, you'll see the following:
vlan-id[eg: 100]: <------This is asking for the VLAN name/tag to be assigned to ID this vlan. My vlan tag name is 25, so I respond as follows:
vlan-id[eg: 100]: 25
After pressing enter, you'll see the following:
vlan-ip-address[eg: 10.0.1.1]: <-----This is asking the IP address of your new VLAN. Mine is 192.168.50.20 so I respond as follows:
vlan-ip-address[eg: 10.0.1.1]: 192.168.50.20
After pressing enter, you'll see the following:
vlan-netmask[eg: 255.255.255.0]: <-----This is asking the netmask for you new VLAN. Mine is 255.255.255.0 so I respond as follows:
vlan-netmask[eg: 255.255.255.0]: 255.255.255.0
After pressing enter, you'll see the following:
Restarting network (via systemctl):
vlan 25 created [ Verde bridge : bridge-25 ]
The script has created the interface files and restarted the network. if you do an ifconfig, you'll see the new interfaces:
Following are the contents of the two interface files:
Finally, in the Management Console/Configuration/Session Settings/Network, in order to use my new VLAN, I implement the following: