LinuxQuestions.org
Visit Jeremy's Blog.
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 09-30-2002, 08:10 PM   #1
skeletal29
Member
 
Registered: Apr 2002
Location: Nyc
Distribution: Gentoo
Posts: 127

Rep: Reputation: 15
two ips and one server


Ok well this is the situation

i have a connection from roadrunner and a connection from rcn.

I have one server where i run http,ftp,smtp,imap bla bla bla.

both those connections are behind a router but all the ports i need for me are forwarded. Now my question is

how can i set my system to listen to both ip adresses?

i dont want to set all my servers configs and stuff (beside i dont know how to do it .. i just dont feel like it)

is there a way i can just have both hooked up and set as default route?

ii dont know if that explained it. let me try one more time.

i have a hostname from free dyndns .

hostname1(roadrunner) and hostname2(rcn) right now the roadrunner one is active so if you goto http://hostname one it will goto my apache server now what i want to do when i have rcn connected too is when a user goes to hostname2 it would goto the same apache server just using another route.

=====================================================

another question.
is there a way i can set up my system that when a user goes to hostname1 or hostname2 that what ever data he needs would be sent half over hostname one and half over hostname2?

ive been reading the howtos... now im trying to make sense out of them.
 
Old 09-30-2002, 08:41 PM   #2
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Well first you must have two NICs in the same server for obvious reasons. Now I'm not exactly sure but I believe that all the services you mentioned will just listen for connections on their respective ports regardless of the ip address it used to get there. So setup the two NICs so they interface with the desired ISPs. Setup dyndns to your liking. Now when you tell a computer to connect to host1 or host2 they should take their own routes. On thing to note is that the NIC assosiated with your default gateway will always be the interface that sends information back. So if data comes in on eth0 and goes out on eth1 to your default gateway route there MIGHT be a conflict as the end station won't know where this mysteriosly address data is from. So maybe there is a way to make sure information that comes in on an interface goes OUT on that interface.

--tarballedtux
 
  


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
Comcast Ips? kemplej Linux - Security 5 12-04-2004 09:29 AM
how to define a specific range of IPs and/or multiple IPs in an iptables rule?... TheHellsMaster Linux - Security 9 09-20-2004 10:06 AM
2 IPs on 1 NIC mephitic Linux - Networking 6 07-19-2004 02:39 PM
eth0:9 incorrect IPs ,and eth0 not IPs WannaLearnLinux Linux - Networking 10 10-26-2003 08:50 PM
adding ips to red hat 7.1 server antigravityboy Linux - Networking 1 08-27-2001 08:49 AM

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

All times are GMT -5. The time now is 06:55 PM.

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