Solved

VLAN Configuration and teaming on two Redhat clustered nodes

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

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,…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

911 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

23 Experts available now in Live!

Get 1:1 Help Now