How to Implement VLANs on VERDE (rpm)

How to Implement VLANs on VERDE (rpm)

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
  1. Download the attached script (verde-vlan.sh.zip)
  2. Upzip it
  3. Move it to the VERDE server's /root directory
  4. Make it an executable ( chmod a+x verde-vlan.sh)
  5. 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:
Created symlink from /etc/systemd/system/multi-user.target.wants/verde-socat-25.service to /etc/systemd/system/verde-socat-25.service.
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:


    • Related Articles

    • Adding VLANs to VERDE (rpm) networking.

      Product Line:  VERDE In order to implement VLANs, the customer's switch needs to be set up first to support the needed IP ranges.  Once that's completed, perform the following for each VLAN: On the VERDE server, I do an ifconfig.  It shows that VERDE ...
    • Enabling VLAN in the VERDE 8.x environment

      Produce Line:  VERDE Steps for Existing Customers:   Customer should switch all the nodes in their VERDE cluster to Linux Native Networking and install verde-brctl script in all the nodes.  Full instructions are located at the following link:      ...
    • How to Manually Create a VLAN with VERDE (rpms)

      Product Line:  VERDE Currently, if a customer wants VLANx for their users.  They must implement them manually.  There's a command built into Centos:  nmtui Verde servers on VLAN - guest images getting Server IP address PCs on 10.xxx   IT in VLAN,  ...
    • VLAN Prep Steps - Enable Linux Networking and Installing verde-brctl

      Product Line:  VERDE The following steps need to be implemented before enabling VLAN. Switching VERDE Node from Openvswitch to Linux Native:  Disable openvswitch and enable “Standard Linux Network Configuration” (verde-menu -> 1 Network Configuration ...
    • Verde VDI Network Terms and Descriptions - VLANs

      Product Line:  VERDE Introduction:      The information contained within this document refers to the networking aspects of the VERDE VDI software solution being installed via a set of RPMs (program modules) on top of CentOS7.  The following ...