Jesse,
        An easy way to accomplish this would be to use IP to create 
aliases.  You can let one device (eth0) contain multiple IP addresses.

/sbin/ip addr add a.b.c.131 /32 dev eth0

This command will assign .130 and .131 to your external network.  To wipe 
this rule you can simply type.

ip addr add a.b.c.131/24 dev eth0

>From there all you got to do is modify your IP rules to forward 
information with a destination of the new aliased address to wherever on 
your LAN.  


Hope this helps..


Cheers,


Daryl Martin
Computer Engineering
Memorial University
[EMAIL PROTECTED]

 

On Sat, 2 Mar 2002, Jesse.linux wrote:

> hi there....
> 
> i have a Linux box 7.1 and it has two network interface...
> eth0 = external
> eth1 = internal
> 
> i've made my box as a Gateway/Firewall for other servers located internally...i am 
>connected by a dsl connection and my isp provided me 5 static ip's
> 
> let say that these are my static ip's
> a.b.c.130 - 134
> 
> and i've already used a.b.c.130 to my eth0....now my problem is how can i assign the 
>remaining static ip's to my servers in my internal network that is , i want my 
>servers behind my firewall to have their private ip's translated to my remaining 
>static ip's?
> 
> thanks in advance....
> 
> 
> 
> 
> 


Reply via email to