Multiple external IPs, advanced routing.

From: Laban (emperor-laban_at_home.se)
Date: 04/05/04


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.



Relevant Pages

  • Re: upgrading frm XP Home to Pro
    ... Windows XP Home - unless ... The machines in question would access the central file repository ... Windows XP Home computers using very quickly (unless you record a lot of ... connects to the Internet, but I bet there is some sort of Cable/DSL Router ...
    (microsoft.public.windowsxp.general)
  • Re: can we break the wordwrap limit in kmail?
    ... on dumb serial terminals on UNIX machines?" ... I can tell you why your life is actually interfered by my existance: ... HTML is a rendering language and its rendering depends on the ... computers from becoming the remote tools for people who _do_ wish to ...
    (comp.os.linux.misc)
  • Re: USB-2, NTFS, Audio, Reliability
    ... rather suspicious of USB-2 and NTFS (windows) file systems. ... Spread over three computers, dozens of drives (SATA for use ... tweaked XP machines ("tweaked" ... tell you this is why I use only ECC memory in my machines. ...
    (rec.audio.pro)
  • Re: Towards a theory of the semiotic mind-body link
    ... Here are some comments from backgammon masters about TD-Gammon. ... computers fascinating. ... like how the brain works than a typical game program. ... machines and you will use every excuse you can think up to cling to that ...
    (comp.ai.philosophy)
  • Re: User permissions - Server 2003
    ... However the easiest way to prevent them from browsing other computers is to turn on the firewall on the clients. ... On the A.D. machine I create the shared folder Home and give Everyone full permissions. ... in place over to the left of the Home folder entry box. ... What I desire is to have the Access Denied message popup when users try and open other machines that are listed in the domain. ...
    (microsoft.public.windows.server.general)