Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

really basic dumb question...

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
LostGen
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Wed Feb 02, 2005 3:49 pm

really basic dumb question...

  • Quote

Post by LostGen » Tue Jun 28, 2005 11:16 am

I could probly wait and ask someone at work but I figure I will get a much quicker response from all of you.

When you see somthing like this: "192.168.1.0/24". Does this mean 192.168.1.0 through 192.168.1.24. Ive never had to use this method for specifying a subnet and am alittle confused. I am guessing this is what it means but could be completely off. So on this same logic if I wanted to specify in a ACL or somthing an entire subnet it would be 192.168.1.0/255? correct?

Sorry and thanks for the help,

LG
Top
chratnox
n00b
n00b
User avatar
Posts: 11
Joined: Wed Aug 04, 2004 12:12 pm
Location: Netherlands

  • Quote

Post by chratnox » Tue Jun 28, 2005 11:28 am

No, /24 means there are 24 bits in use for the network. So, seeing as you have /32 with ipv4 you have 8 bits left to use for host addresses (2 ^8). So you'll have 256 addresses to use for the network. However, 2 addresses are unusable (.0 (network), .255 (broadcast)), so you can use 254 address for the network.

If you want to specify a complete subnet in an ACL which has a /24 you'll have 192.168.1.0/24 (thus, 192.168.1.0 till 192.168.1.255).
Top
LostGen
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Wed Feb 02, 2005 3:49 pm

  • Quote

Post by LostGen » Tue Jun 28, 2005 11:35 am

Wild, and I wasnt even close!

Thanks for clarifing that.

LG
Top
tomk
Bodhisattva
Bodhisattva
User avatar
Posts: 7221
Joined: Tue Sep 23, 2003 1:41 pm
Location: Sat in front of my computer

  • Quote

Post by tomk » Tue Jun 28, 2005 1:39 pm

Moved from Documentation, Tips & Tricks, please don't post support questions there.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic