On Wed, Nov 21, 2007 at 05:21:15PM -0500, Eric Faden wrote: > So I have a server hosted at Serverbeach (Debian Etch). This box has an > IP (eth0) in one subnet (192.168.0.2 netmask 255.255.255.128). I have > also been granted 3 extra IPs (eth0:0, eth0:1, eth0:2) in another subnet > (192.168.1.2 through 192.168.1.4 netmask 255.255.255.0). I have read > through the Aliased IP docs, but still can't seem to get it to work. My > goal is to have EACH of the IPs be able to be able controlled (e.g. I > would like each IP to have its own zone). Here is what I have setup: > > zones: > fw firewall > net0 ipv4 > net1 ipv4 > net2 ipv4 > net3 ipv4 > Why do you need a seperate zone for each IP? > > interfaces: > - eth0 192.168.0.128,192.168.1.255 > norfc1918,routefilter,dhcp,tcpflags,logmartians,nosmurfs (NOTE: I > tried without any options) > I don't think that you realistically have an interface with an RFC1918 address and then give it the norfc1918 option.
> hosts: > net0 eth0:192.168.0.2 > net1 eth0:192.168.1.2 > net2 eth0:192.168.1.3 > net3 eth0:192.168.1.4 > If you don't insist on having a different zone for each IP, then you don't need a hosts file. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com
signature.asc
Description: Digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
