How to Configure a VLAN100 via the Linux Prompt

How to Configure a VLAN100 via the Linux Prompt

Product Line:  VERDE

Steps to configure VLAN100 at the Linux prompt

You will have to create a ifcfg- file for your VLAN100.  You will
create a file named “/etc/sysconfig/network-scripts/ifcfg-vlan100 with the following information within this file.

You will enter at the root #]   vi /etc/sysconfig/network-scripts/ifcfg-vlan100    (hit enter)

Remember, when you are in ‘vi’ you will just type the letter ‘i’ for ‘insert mode’, so you can enter the lines below. 

To ‘save’ the file, click the ‘esc’ key, then enter ‘:’ and then enter ‘wq!’.  If you need to abandon the edit session, enter ‘q!’ instead.

 

VLAN=yes

VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD

DEVICE=vlan100

PHYSDEV=eth4

BOOTPROTO=static

ONBOOT=yes

TYPE=Ethernet

IPADDR=xx.xx.xx.xx       
<<<< =====  This is the IP address of the Verde server for the VLAN100 network

NETMASK=255.255.255.0

 

The “PHYSDEV” line is needed to tell the “ifup” script what device to attach the VLAN to. Once you've done this, “ifup vlan100” should bring up your vlan100 interface with the IP information specified above. “ONBOOT” says the interface should be brought up at boot.


    • Related Articles

    • 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 ...
    • 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:      ...
    • Install vSpace Pro 10 Via Elevated Command Prompt

      vSpace 10 is no longer available, nor supported. However, for a best article on how to do this procedure on current versions of vSpace Pro, please visit this article:  ...
    • VERDEOS - Changing from OVS to Native Linux

      Product Line:  VERDE It may become necessary to disable OVS and run on Native Linux.  Here are instructions to do so: Standard Linux Network Configuration - VERDEOS From the Linux command line: - Login as admin - VERDE-Menu Welcome screen - Press "1" ...
    • Instructions for using MAC with SPICE to access Linux and Windows Images

      Product Line:  VERDE As of VERDE/VERDEOS 8.2.1, it is now possible to access Linux and Windows images if you have a MAC, via SPICE protocol.  To quote the engineer: Don't forget to install XQuartz (https://www.xquartz.org) before using the spice ...