Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VLAN Configuration and teaming on two Redhat clustered nodes

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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

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…
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.
Suggested Courses
Course of the Month20 days, 15 hours left to enroll

810 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