Home page logo
/

firewall-wizards logo Firewall Wizards mailing list archives

RE: What is "/24" in front of the IP number?
From: "Kehoe, Anthony" <AKehoe () hsdinc com>
Date: Wed, 1 Nov 2000 09:19:24 -0600

/24 refers to the subnet bitmask for the network number in question. In this
case, 24 bits.

i.e. 255.255.255.0 = 11111111.11111111.11111111.00000000 in Binary
Counting the 1's, you get 24.

Since the , for NET0 refers to the separation of unique IP Addresses, you
couldn't use NET0=192.168.1.0,192.168.10.0/24 to mean two class C subnets.
You would have to use NET0=192.168.1.0/24,192.168.10.0/24

Of course, it doesn't have to be /24 if this isn't your subnet mask.

-----Original Message-----
From: Fabio Losnak [mailto:fabiolosnak () yahoo com]
Sent: Tuesday, October 31, 2000 6:44 AM
To: firewall-wizards () nfr com
Subject: [fw-wiz] What is "/24" in front of the IP number?


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

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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]