Firewall Wizards mailing list archives

Re: What is "/24" in front of the IP number?


From: "S. Jonah Pressman" <jonah () istar ca>
Date: Wed, 01 Nov 2000 10:00:45 -0500

Fabio:

24 is the subnet mask of 255.255.255.0 (a full class 'C')

You may want to clip and save the following table:

16 - 255.255.0.0
17 - 255.255.128.0
18 - 255.255.192.0
19 - 255.255.224.0
20 - 255.255.240.0
21 - 255.255.248.0
22 - 255.255.252.0
23 - 255.255.254.0
24 - 255.255.255.0
25 - 255.255.255.128
26 - 255.255.255.192
27 - 255.255.255.224
28 - 255.255.255.240
29 - 255.255.255.248
30 - 255.255.255.252
31 - 255.255.255.254
32 - 255.255.255.255

Regards,
Jonah

Fabio Losnak wrote:

Nowadays I'm working with firewall linux, and I'm
configuring one in a client organization. I found in
the script who apply the rules of the firewall
(IPCHAINS) the follow lines:

INT0="eth0"
IP0="192.168.1.125/24"
NET0="192.168.1.0"

What is "/24" in the IP number?
Can I put two networks in the same variable? Exemplo:
NET0="192.168.1.0,192.168.10.0" It's correct?

Thank's

Fabio

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

_______________________________________________
firewall-wizards mailing list
firewall-wizards () nfr com
http://www.nfr.com/mailman/listinfo/firewall-wizards

--

S. Jonah Pressman
President
NCS Data Inc.
Thornhill, Ontario, Canada
jpressman () bigfoot com

------------ 'ome is where you hang your @ -----------------



_______________________________________________
firewall-wizards mailing list
firewall-wizards () nfr com
http://www.nfr.com/mailman/listinfo/firewall-wizards


Current thread: