>>> This might have already been answered somewhere, but I have been
>>> looking and can't seem to find an answer to this simple question. How
>>> do you specify a Class B ip range for iptables? In other words: -A
>>> INPUT -i eth0 -s 150.202.x.x -j ACCEPT obviously it is not this: -A
>>> INPUT -i eth0 -s 150.202.0/24.0/24 -j ACCEPT, so what is it?
>> correct me if im wrong
>> network 18.104.22.168
>> client 0.0.x.x
> I'm sorry, I don't understand what you are saying/asking. Can you
> explain further?
As far as i know an IP adress consists of 2 parts. the network adress and
the host adress.
22.214.171.124/24 defines a subnet within 126.96.36.199.
the /24 means that the first 24 bits of the address are reserverd for the
definition of the network, the other 8 bits can be used to define hosts
within the network.
if u have a host with the host adress
0.0.0.1 within this network the full ip adress of the host will be
take a look at these sites for more detailled information about subnet
http://public.pacbell.net/dedicated/cidr.html <== very good
and browse the web for cidr (Classless Inter-Domain Routing)
this is exactly what u need
Take a look at ==> http://www.dtch.org
if u have a minute or two...