LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-26-2007, 11:32 PM   #1
WCowger
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
Linux Routing virtuial mac address?


I am looking for a way to use a virtual mac address and ip address that a number of Linux routers can share to work as load balancing... I have seen this done with Windows Load balancing,,, Their has to be a way to do with Linux,,
What I am trying to do is, I have several Linux routers that perform QOS and bandwidth shaping for a wireless network.. currently up to now they were just working as simple fail over with ucarp but as well as this works I would much rather load balance them to share the load, and pick up the slack if one went down.. In order to do this I will have to make a virtual mac address and ip address to server as the gateway. The number of servers will share these mac and ip address and load balance something similar to Round Robin.

I have seen load balancing to this affect with windows, is there any implementation for Linux? I am currently running Gentoo and Slackware.
 
Old 01-27-2007, 02:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
check out linux-ha.org for active / active and active / passive failover solutions.
 
Old 02-02-2007, 08:27 AM   #3
WCowger
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Will This work for a router?

I see lots of documentation for end servers, but using heartbeat and VLS, will this work with routers?
 
Old 02-02-2007, 09:34 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well heartbeat will just provide functionality to migrate an ip address from box a to box b and such like on detected failure. it's laregly irrelevant what is being done at that ip address... LVS includes keepalived which is an implementation of VRRPv2, which is exactly the protocol most clustered routers use.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting MAC Address with C++ (Linux) silentangel Programming 7 11-03-2012 02:36 PM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
Linux: Determining MAC address from C Mad_C Programming 9 02-11-2005 04:27 AM
MAC address cloning in Linux sb73542 Linux - Security 1 08-02-2003 07:38 PM
Mac & Linux Routing/DHCP TheMuffinMan Linux - Networking 1 09-19-2002 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration