Subject: RE: ip masquerading
From: Michael A. Peters (Moonglue@141.com )
Date: Sun Aug 06 2000 - 21:26:15 MDT
>I've setup a couple of Linux boxes do do firewalling and ip masquerading but
>never with a single interface. You'd have to assign the NIC two ip
>addresses, one for your internal network and the external one your ISP gives
>you. In doing so you have to convince that interface (probably eth0) that
>it's sitting on two different networks at the same time. If you figure out
>how to do that let me know!
ethernet aliasing
cp /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth0:0
then edit ifcfg-eth0:0 and change all its references from eth0 to
eth0:0 and change its IP to the IP you want to use.
/etc/sysconfig/network-scripts/ifup eth0:0
Don't know for a fact that it would work in the case of ipmasq- but I
don't see why it wouldn't, either.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters-- http://24.5.29.77/Linux_Pages/
http://www.omnilinux.com/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This archive was generated by hypermail 2a24 : Mon Aug 07 2000 - 06:34:12 MDT