[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

VLAN Configuration and teaming on two Redhat clustered nodes

Posted on 2012-04-09
2
Medium Priority
?
258 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 2000 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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

650 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