Solved

VLAN Configuration and teaming on two Redhat clustered nodes

Posted on 2012-04-09
2
247 Views
Last Modified: 2013-09-16
Hello

We want to configure teaming of 2 NICs and assign it to specific vlan id. All server are connected to network blade switch which is also connected to a cisco switch already configured as trunk port and port channel is enabled to allow all vlans. We could not do the configuration by vlan port-based due to limited number of the uplinks to the cisco switch.

My questions:

1. Can we follow up this article http://www.mysidenotes.com/2008/01/30/vlan-configuration-on-fedora-core-red-hat-centos/ or suggest any method can do the same.

2. Are you recommending this configuration to be done on clustered nodes running in production environment?

OS : Redhat Linux 5.7 64x
4  NICs ( one is used for heartbeat network BTW the two nodes )

Thanks
Ahmed,
0
Comment
Question by:AhmedQme
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
rickygm earned 500 total points
ID: 37829213
ok , first you need install package vconfig

- yum -y install vconfig
- edit the file /etc/sysconfig/network and add: VLAN=yes

Assuming that is used the interface eth1 to access to the local network, to edit the configuration file:

vim /etc/sysconfig/network-scripts/ifcfg-eth1

To remove all the parameters of network, and to only leave the following thing:

DEVICE=eth1
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
HWADDR=xx:xx:xx:xx:xx:xx
NM_CONTROLED=no

To restart the service of network in order that it applies the change and so that loading of automatic way the module 8021q of the nucleus of Linux

service network restart

They can be created temporary way (they will be lost after to reinitiate the system) the devices of VLAN of the following way:

vconfig add eth1 2
vconfig add eth1 3
vconfig add eth1 4
ifconfig eth1.2 172.16.0.65 netmask 255.255.255.192
ifconfig eth1.3 172.16.0.129 netmask 255.255.255.192
ifconfig eth1.4 172.16.0.193 netmask 255.255.255.192

test and tries :)

regardss
0
 

Author Closing Comment

by:AhmedQme
ID: 39495611
thank you
0

Featured Post

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question