Multiple external IPs, advanced routing.
From: Laban (emperor-laban_at_home.se)
Date: 04/05/04
- Next message: moma: "Re: New to linux..looking for program I can boot and run off CD"
- Previous message: Andy Fraser: "Re: New to linux..looking for program I can boot and run off CD"
- Next in thread: zion1459: "Re: Multiple external IPs, advanced routing."
- Reply: zion1459: "Re: Multiple external IPs, advanced routing."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Apr 2004 11:59:30 -0700
Here's my problem:
I have 5 static IP's from my ISP, they are however in two different
series. They look like this:
111.236.113.145
111.236.113.146
111.236.113.147
111.237.38.163
111.237.38.164
These also have different GW's. 111.236.113.1 and 111.237.38.1.
What I want to do is to add all these IP's to a linuxbox that act like
a router/gateway and send those IP's through to a local ip
(192.168.100.x). Four IPs should be passed on, the last one should be
the machines own, which is also used for the general internetsharing.
111.236.113.145 -> 192.168.100.10 Machine1
111.236.113.146 -> 192.168.100.11 Machine2
111.236.113.147 -> 192.168.100.12 Machine3
111.237.38.163 -> 192.168.100.13 Machine4
111.237.38.164 -> 192.168.100.* Machine5+
So, I want all internet trafic that commes to/from Machine1 to go in
and out through the given ISP-IP. Machine2 through that given one etc
etc. Machine5 (server) shares it's IP with the rest of the computers
that doesn't have an external IP of their own, some regular nat
solution there.
There are currently two NICs in the machine.
Can someone give me a hand here? I've thought about using iptables for
it, perhaps there's some other solution that you know of, please tell
me anything you can about this.
- Next message: moma: "Re: New to linux..looking for program I can boot and run off CD"
- Previous message: Andy Fraser: "Re: New to linux..looking for program I can boot and run off CD"
- Next in thread: zion1459: "Re: Multiple external IPs, advanced routing."
- Reply: zion1459: "Re: Multiple external IPs, advanced routing."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|