Ip addresses

syco83

Member
Apr 18, 2003
62
0
0
Why cannot be all "1"s or all "0"s in the network portion of the IP address?
This is in binary numbers.
I really need to know a good explanation of why you can not
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
You can't have all 1's or 0's at the beginning or end of an IP address. 255 (what all 1's adds up to) is a broadcast address. A 0 (what all 0's adds up to) can also be a broadcast address (old school, probably not recognized anymore by modern IP stacks).
192.168.0.1 is fine, but 192.168.0.0 would be a network address, usually followed by a /24.
 

SpunkyJones

Diamond Member
Apr 1, 2004
5,090
1
81
All 0's in the network portion would be a network with a first octet of 0, which is invalid. First valid network is 1.0.0.0, or 00000001

All 1's in the network portion would be a network starting with 255 for the first octet, which is a class E network, which is an invalid network for ip addressing. It is used for experimental purposes.
 

Goosemaster

Lifer
Apr 10, 2001
48,775
3
81
Originally posted by: SpunkyJones
All 0's in the network portion would be a network with a first octet of 0, which is invalid. First valid network is 1.0.0.0, or 00000001

All 1's in the network portion would be a network starting with 255 for the first octet, which is a class E network, which is an invalid network for ip addressing. It is used for experimental purposes.

as is this answer.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: syco83
that wasn't the right answer

I'm not the one taking the class.

My answer was definitely rough, but unless I REALLY misunderstood your poorly worded homework question, I got it just about right.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Not sure what's wrong with my statement. The 0 thing only becomes a problem really at the beginning or end of the ip address, and 255 is definitely a broadcast address...
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Originally posted by: Goosemaster
Originally posted by: gcbrowni
Now explain how /31's work and why the lower /64 of an IPv6 address can't be all 0's.

31's will give you 0 hosts.....!!??!?

you can use them for WAN circuits where there are only two hosts. In this case there is no need for a subnet broadcast.

-ps- hey NOC, he said "network" portion of a IPv4 address, not host.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: spidey07
Originally posted by: Goosemaster
Originally posted by: gcbrowni
Now explain how /31's work and why the lower /64 of an IPv6 address can't be all 0's.

31's will give you 0 hosts.....!!??!?

you can use them for WAN circuits where there are only two hosts. In this case there is no need for a subnet broadcast.

-ps- hey NOC, he said "network" portion of a IPv4 address, not host.

Yeah, I got it. Not enough sleep I guess.
 

rfb

Junior Member
Jan 5, 2001
18
0
0
Originally posted by: gcbrowni
Now explain how /31's work and why the lower /64 of an IPv6 address can't be all 0's.
An IPv6 address can be all 0's in the lower 64 bits. A subnet-router anycast address is an IPv6 address that has the interface ID set to all 0's. For all IPv6 addresses that start with a value other than b'000', the interface ID is 64 bits in length. So, for all IPv6 addresses that start with anything other than b'000', an address with the lower 64 bits set to 0's is a subnet-router anycast address.

Roy
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |