LinuxQuestions.org
Review your favorite Linux distribution.
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 10-12-2002, 02:14 AM   #1
meshcurrent
Member
 
Registered: Oct 2002
Posts: 38

Rep: Reputation: 15
Multiple IP Addresses


I have a Linux server that I would like to connect to the Internet with two different IP addresses on the same Ethernet interface.

There are two parts:

1. Getting the outside world to talk to the server vthrough either IP address.. I was able to do this by simply adding the second address like this: `ip addr add dev eth0 2.2.2.2/24`.

2. Getting the server to talk to the outside world through both IP addresses by implementing something like a "round robin," perhaps.. (The different addresses belong to different ISPs, so being able to distribute outgoing traffic over both will get the server more bandwidth.) I am having trouble with this part.

Any help is appreciated.

Youssef Eldakar
Bibliotheca Alexandrina
 
Old 10-12-2002, 05:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
please search this site, i have already answered this twice this week.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Multiple static IP addresses fr0zen Linux From Scratch 5 11-23-2005 06:47 PM
Multiple IP Addresses mikemrh9 Linux - Networking 6 05-26-2005 05:15 AM
Multiple IP Addresses on Startup mikemrh9 Suse/Novell 1 12-01-2004 09:01 AM
Multiple IP addresses james_cwy Linux - Newbie 6 06-13-2004 11:34 PM
Multiple IP addresses on one NIC hrr Linux - Networking 2 03-07-2003 12:04 PM


All times are GMT -5. The time now is 03:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration