nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Can Virtual IPs be tied to bonded slaves

This is a discussion on Can Virtual IPs be tied to bonded slaves within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi guys, Need some help here. My RHEL4 server is currently setup such that two physical NICs are bonded to ...


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-05-2009, 10:20 PM
Junior Member
User
 
Join Date: May 2009
OS: RHEL
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
taihc is on a distinguished road
Default Can Virtual IPs be tied to bonded slaves

Hi guys,

Need some help here. My RHEL4 server is currently setup such that two physical NICs are bonded to one logical IP address:

1) ipcfg-bond0 (master)
2) ipcfg-eth0 (slave)
3) ipcfg-eth2 (slave)

I now have a need for more virtual ip address but do not have extra NIC. As such, I would like to know if its possible to tie these VIPs to one of the bonded slaves such that my configuration is as follows:

1) ipcfg-bond0 (master)
2) ipcfg-eth0 (slave)
3) ipcfg-eth2 (slave)
4) ipcfg-eth0:1 (VIP)

Any assistance is grately appreciated.

Thanks so much.
Reply With Quote
  #2 (permalink)  
Old 05-05-2009, 01:12 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Have you tried to assign virtual ips to ipcfg-bond0?
Code:
ifconfig bond0:0 new-ip up
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 05-05-2009, 06:08 AM
Junior Member
User
 
Join Date: May 2009
OS: RHEL
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
taihc is on a distinguished road
Default

Yap, and it caused a kernel panic. What i have done currently is to create a vip on eth0:1 and it seems to be working okay, although eth0:1 shows up as running slave multicast when ifconfig is used.

Anyone forsee any problem with such a setup?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Resolving virtual OS ip in physical OS pravesh.mahawar83 Linux software 2 06-05-2009 06:49 PM
Virtual box JATA01 CentOS / RHEL / Fedora 0 10-10-2008 09:21 AM
virtual interfaces asim.mcp Networking, Firewalls and Security 3 16-07-2008 01:19 PM
different php.ini for different virtual users kasimani Web servers 1 15-04-2008 02:17 PM
Virtual Host NeoGreen Web servers 3 12-08-2007 12:01 PM


All times are GMT +5.5. The time now is 03:45 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38