Solved

VLAN Configuration and teaming on two Redhat clustered nodes

Posted on 2012-04-09
2
235 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
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now