Thanks for the response Vincent, thats what I'm trying to figure out at the
moment, wether or not it is part of my ppp configuration or not. I do run
iptables as my firewall and the definition that defines an interface is as
follows:

echo -n "INPUT "
        iptables -A INPUT -i eth0 -j input-eth0
        iptables -A INPUT -i ppp0 -j input-eth1

So you can see that the IP is not directly configured in my firewall script,
but rather inherited from the ppp0 interface. As I was saying, I remember
doing this in FreeBSD by creating virtual interfaces eth0_1 eth0_2 using the
alias directive in FreeBSD's ifconfig. I see that Linux's does refer to an
alias in man ifconfig, but doesn't give much detail.

Does anybody know if this is all just a function of aliasing interfaces or
is there some cunning configuration I need to do in /etc/ppp/options?

Cheers
Michael.

-----Original Message-----
From: Vincent Favre-Nicolin [mailto:[EMAIL PROTECTED]
Sent: 01 April 2003 12:21
To: [EMAIL PROTECTED]
Cc: Michael Bartlett
Subject: [speedtouch] Re: Mutiple Static IPs



        Hi,

> I was wondering if somebody could give me some assistance. I have
> the option of moving ISP to one that can provide me with up to 5
> static IPs, which would be great for NATing some of my services
> across multiple machines on my network. I was wondering how one
> would implement this with PPP? I currently have a dynamic ip and so
> have noipdefault in my options file. The examples I've seen allow
> me to specify a single static IP address, but not a range. I assume
> for iptables to NAT public class static IPs onto local interfaces,
> it will need to have them somehow associated with devices. I
> remember when I did this on FreeBSD with a 64k leased line I had to
> assign virtual interfaces (eth0_1, eth0_2, etc...) - any idea what
> the implications are on RedHat Linux with PPP?

   I'm not sure this is the correct mailing list. I'm not a specialist 
on this either, but it looks like you need some sort of firewall. 
With Mandrake is installed Shorewall, which is very easy to setup. 
You can certainly use it with RedHat. I don't think the actual 
connection to the outside world you are using matters.

http://www.shorewall.net/

   From the doc it seems that you do not need several static IP (which 
means I'm not actually answering your question !), as the firewall 
can redirect specific incoming connections to machines on your local 
network. See DNAT in http://www.shorewall.net/Documentation.htm#Rules

They have a mailing list:
https://lists.shorewall.net/mailman/listinfo/shorewall-users

        HTH
                Vincent
-- 
Vincent Favre-Nicolin
Universit� Joseph Fourier & CEA Grenoble (France)
http://v.favrenicolin.free.fr
ObjCryst & Fox : http://objcryst.sourceforge.net



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire :
mailto:[EMAIL PROTECTED]

        

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to