LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ipv4 syntax question (https://www.linuxquestions.org/questions/linux-networking-3/ipv4-syntax-question-752214/)

vlyamtse 09-02-2009 04:55 PM

ipv4 syntax question
 
can someone explain me ipv4 notation like:
192.168.1.0/255.255.255.0
Does it mean "any host on 192.168.1.x" network?

sparc86 09-02-2009 10:00 PM

Quote:

Originally Posted by vlyamtse (Post 3667397)
can someone explain me ipv4 notation like:
192.168.1.0/255.255.255.0
Does it mean "any host on 192.168.1.x" network?

Precisely! This means 24 bits (255.255.255.*) for subnetting and 8 bits (*) for hosts.

In other words, you can assign on this network any host from 192.168.1.1 to 192.168.1.254

This is commonly used for networks with less than 254 hosts. (e.g home and small offices networks)


All times are GMT -5. The time now is 09:01 AM.