On Tue, 10 Jul 2001 16:51, Chris Buxton wrote:
> I'm using Mandrake 8.0 as my NAT/DNS/HTTP/SMTP/etc. server. I have 4
> addresses from my ISP, and two related questions.
>
> 1. How do I set up IP aliasing? In other words, how do I get my 4
> public IP's configured on the public side of the machine?
>
> I've done this before in other Linux distributions, but it was a long
> time ago, and I remember it being a serious pain - I truly despise vi
> [whatever happened to pico?]. I don't see a way to do this with
> Linuxconf or the Mandrake Control Center.

I don't really know how to solve your main problem (since I've never tried it 
myself), so I'll just say this. There are plenty of console text editors out 
there. GNU Nano is a GNU clone of Pico (which is not GPL). I personally am a 
big fan of Jed.

> 2. This question may be naive, but I had trouble with this with my
> last gateway machine. How do I make sure, if a network connection
> comes in on a secondary IP interface (eth0:1, for example), that the
> response will go out through that same interface? I don't want a
> connection to come in on one IP address and have the response go out
> from another, as this causes problems with delivery.
>
> To add to the fun, what if I offload a service to another machine and
> port-map the correct port(s) to that machine's IP address? How do I
> ensure that the response goes out through the correct public IP? I
> have problem giving the NAT sever multiple internal IP addresses to
> handle this sort of thing, and I don't mind adding multiple
> additional internal IP's to the internal server, if necessary - it's
> not like I could ever run out of internal IP addresses.
>
> I expect the answers to these questions will involve iptables, but so
> far I've been unable to grok this new system [is there any
> documentation for it, anywhere?]. I never had time to figure out
> ipchains, either, though it looked promising.
>
> Thanks in advance for any thoughts, be they solutions or not.
> Chris Buxton

-- 
Sridhar Dhanapalan.
        "There are two major products that come from Berkeley:
        LSD and UNIX. We don't believe this to be a coincidence."
                -- Jeremy S. Anderson

Reply via email to