Linux Netfilter discussions
 help / color / mirror / Atom feed
* Linux routing scenario - is this possible?
@ 2003-03-16 21:25 Miguel Manso
  2003-03-16 22:00 ` Joel Newkirk
  0 siblings, 1 reply; 5+ messages in thread
From: Miguel Manso @ 2003-03-16 21:25 UTC (permalink / raw)
  To: netfilter

Hi there,

I'm having a problem with linux routing and maybe
someone on the list could help me out or point me to
the right direction.

I've subscribed an DSL line (1024 kbit) that included
2 static IPs (123.123.123.100 and 123.123.123.101).

My goal is to share the line with two companies that
will have two totaly separed networks.

I've a linux machine with 3 eth's with the following
configuration:

eth0   -> 123.123.123.100  Company 1 static IP
eth0:1 -> 196.168.1.254    Company 1 gateway

eth1   -> 196.168.0.5      DSL line is connected here

eth2   -> 123.123.123.101  Company 2 static IP
eth2:1 -> 196.168.2.254    Company 2 gateway

The gateway of the router is 192.168.0.1 (DSL modem
IP).

The main idea here is having two companies on two
different networks: 192.168.1 and 192.168.2.

What I'd like to achive is:

- external connections to 123.123.123.100 should go to
the eth0 and external connections to 123.123.123.101
should go to the eth2;
- people from 192.168.1 network should connect the
outside world with IP 123.123.123.100 and people from
the 192.168.2 network should use the 123.123.123.101
IP.

Ok, this is my main goal. Am I wrong in any concept?
Is this possible?

If someone could point me to the right direction, I
would appreciate it.

Thanks a lot...


=====
Miguel Manso
mmanso@yahoo.com

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-18 19:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-16 21:25 Linux routing scenario - is this possible? Miguel Manso
2003-03-16 22:00 ` Joel Newkirk
2003-03-17  0:29   ` Miguel Manso
2003-03-17  6:34     ` Joel Newkirk
2003-03-18 19:18       ` Miguel Manso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox