IP MASQ and IP Aliasing

IP MASQ and IP Aliasing

Post by <pe.. » Thu, 02 Mar 2000 04:00:00



I have an network with a linux gateway to the internet that has multiple
ip address.  Using the internal networked machines with private addresses,
when the internal addresses get masked, what ip address does the outside
world see: eth0, eth0:0, eth0:1 etc.

Any info would be appreciated.

--
Posted via CNET Help.com
http://www.help.com/

 
 
 

IP MASQ and IP Aliasing

Post by Latk » Thu, 02 Mar 2000 04:00:00



> I have an network with a linux gateway to the internet that has multiple
> ip address.  Using the internal networked machines with private addresses,
> when the internal addresses get masked, what ip address does the outside
> world see: eth0, eth0:0, eth0:1 etc.

When you set up IP Masquerading with:

ipchains -A forward -i eth0 -j MASQ

I beleive you are choosing which alias you are using. Substitute eth0:0
to change the masquerading IP, I would think.

Latka.
Still working on ipchains myself, so get a second opinion on this.

 
 
 

IP MASQ and IP Aliasing

Post by <pe.. » Thu, 02 Mar 2000 04:00:00


I have a home network, with linux gateway box and win98 and NT4 machines
in the internal private network.  The gateway box has multiple IP
addresses assigned to it using IP aliasing.  Using IP MasQ, when a request
from the private network goes out to the outside world, what IP address is
used for the MASQing: eth0,eth0:0,eth0:1 etc.?

--
Posted via CNET Help.com
http://www.help.com/