[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] PMFirewall and IPChains: Traceroute Stops Working



On Wednesday 16 January 2002 07:18 pm, Troy Arnold wrote:
> Hi again. Still can't get this firewall thing licked. But after further
<SNIP>
> # OUTERMASK=`ifconfig $OUTERIF | grep Mas | cut -d : -f 4`
> # OUTERNET=$OUTERIP/$OUTERMASK
> OUTERNET=$OUTERIP/255.255.255.0

I remember this. It seemed to me like you originally said that you had
more than 256 ip addresses. Maybe 512?? which is a /23 network ?
And I said to use a mask to fit your /23
But 255.255.255.0 is a mask for a /24 network (256 ip addresses)
So if your address range is 1.2.0.0  to  1.2.1.255, I think the mask would be 
255.255.254.0
OUTERNET=$OUTERIP/255.255.254.0

What does ifconfig eth0 say your mask is?

-- 
Gerald Waugh
Registered Linux User 255245
Register at http://counter.li.org