Damn subnetting - Help!
-
- Posts: 2941
- Joined: Fri Mar 17, 2000 8:00 am
Damn subnetting - Help!
never got my head around this...
From the IP addresses listed below, select the two that are on the same subnet. Assume that each address is using a subnet mask of 255.254.0.0
46.85.254.121
46.88.1.254
46.89.46.34
46.90.112.12
I'm looking for a way to answer the questing by understanding it.... not just giving me the answer. Anyone around to help?
From the IP addresses listed below, select the two that are on the same subnet. Assume that each address is using a subnet mask of 255.254.0.0
46.85.254.121
46.88.1.254
46.89.46.34
46.90.112.12
I'm looking for a way to answer the questing by understanding it.... not just giving me the answer. Anyone around to help?
[url=http://www.dumpt.com][img]http://www.giraffe-hunter.com/images/dumpt.gif[/img][/url]
[size=85]DUMPT.com fully revamped, simple image hosting/dumping ground
No registration required![/size]
[size=85]DUMPT.com fully revamped, simple image hosting/dumping ground
No registration required![/size]
-
- Posts: 2941
- Joined: Fri Mar 17, 2000 8:00 am
Just read it imo. Its pretty simple if you can read through that.Giraffe }{unter wrote:tx, reading now, anyone with a more narrow explanation?

LoL. yeah, i posted and went "doh, fuck it"Scourge wrote:You could have deleted them one by one before someone else posted.SOAPboy wrote:Holy fucking Quad post batman. :-\
[size=75][i]I once had a glass of milk.
It curdled, and then I couldn't drink it. So I mixed it with some water, and it was alright again.
I am now sick.
[/i][/size]
[img]http://img162.imageshack.us/img162/3631/171164665735hk8.png[/img]
It curdled, and then I couldn't drink it. So I mixed it with some water, and it was alright again.
I am now sick.
[/i][/size]
[img]http://img162.imageshack.us/img162/3631/171164665735hk8.png[/img]
-
- Posts: 2941
- Joined: Fri Mar 17, 2000 8:00 am
255.254.0.0 = 11111111.11111110.00000000.00000000
254 octet = 11111110
the unmasked area allows me 1 so
46.88.1.254
46.89.46.34
would be the correct answer
254 octet = 11111110
the unmasked area allows me 1 so
46.88.1.254
46.89.46.34
would be the correct answer
[url=http://www.dumpt.com][img]http://www.giraffe-hunter.com/images/dumpt.gif[/img][/url]
[size=85]DUMPT.com fully revamped, simple image hosting/dumping ground
No registration required![/size]
[size=85]DUMPT.com fully revamped, simple image hosting/dumping ground
No registration required![/size]
-
- Posts: 4755
- Joined: Mon Oct 22, 2001 7:00 am
Nope:Underpants? wrote:46.90.0.0 and 46.89.0.0 as well--two possible answers there, tubby.
1011000 = 88
1011001 = 89
1011010 = 90
1111110 = Mask
So 90 violates the mask by altering the second bit.
FWIW though, I had to resort to paper to work out the binary values. My conversion ability is not what it was. At least I remembered the method ;()
-
- Posts: 2941
- Joined: Fri Mar 17, 2000 8:00 am
ahh so I was doing this wrong, but got the answer right I assumed the last bit was in the binary slot for 1 and you can alter the second octet by 1 increment. 88 + 1 = 89Foo wrote:Nope:Underpants? wrote:46.90.0.0 and 46.89.0.0 as well--two possible answers there, tubby.
1011000 = 88
1011001 = 89
1011010 = 90
1111110 = Mask
So 90 violates the mask by altering the second bit.
FWIW though, I had to resort to paper to work out the binary values. My conversion ability is not what it was. At least I remembered the method ;()
so you are saying:
convert all second octet values to binary
all digits masked by ones in the subnet must be the same
the only digit in the binary that can change is the one not masked (0)?
[url=http://www.dumpt.com][img]http://www.giraffe-hunter.com/images/dumpt.gif[/img][/url]
[size=85]DUMPT.com fully revamped, simple image hosting/dumping ground
No registration required![/size]
[size=85]DUMPT.com fully revamped, simple image hosting/dumping ground
No registration required![/size]
Re: Damn subnetting - Help!
46.x.x.x = class aGiraffe }{unter wrote:never got my head around this...
From the IP addresses listed below, select the two that are on the same subnet. Assume that each address is using a subnet mask of 255.254.0.0
46.85.254.121
46.88.1.254
46.89.46.34
46.90.112.12
I'm looking for a way to answer the questing by understanding it.... not just giving me the answer. Anyone around to help?
mask of 255.254.0.0 is borrowing 7 bits to subnet
producing 2^7 networks and 2^16 hosts
2^7=128
256/128 =2
so you have a network every 2 in the second octet of the decimal ip
so the .88 and .89 are on the same subnet. (since the subnets will start on evens and end on odds)
46.88.0.0 = network
46.89.255.255 = broadcast
if you need more explination about how to do the binary AND/XOR operations that explain the nuts and bolts i have some easy to understand slides laying around from a network theory class somewhere.
-
- Posts: 2941
- Joined: Fri Mar 17, 2000 8:00 am
Re: Damn subnetting - Help!
When you have the time I would appreciate those slides. I believe my understanding of this is not 100% and would like to learn more :icon30: you can gmail them to me = giraffehunterDr_Watson wrote:46.x.x.x = class aGiraffe }{unter wrote:never got my head around this...
From the IP addresses listed below, select the two that are on the same subnet. Assume that each address is using a subnet mask of 255.254.0.0
46.85.254.121
46.88.1.254
46.89.46.34
46.90.112.12
I'm looking for a way to answer the questing by understanding it.... not just giving me the answer. Anyone around to help?
mask of 255.254.0.0 is borrowing 7 bits to subnet
producing 2^7 networks and 2^16 hosts
2^7=128
256/128 =2
so you have a network every 2 in the second octet of the decimal ip
so the .88 and .89 are on the same subnet. (since the subnets will start on evens and end on odds)
46.88.0.0 = network
46.89.255.255 = broadcast
if you need more explination about how to do the binary AND/XOR operations that explain the nuts and bolts i have some easy to understand slides laying around from a network theory class somewhere.
[url=http://www.dumpt.com][img]http://www.giraffe-hunter.com/images/dumpt.gif[/img][/url]
[size=85]DUMPT.com fully revamped, simple image hosting/dumping ground
No registration required![/size]
[size=85]DUMPT.com fully revamped, simple image hosting/dumping ground
No registration required![/size]
-
- Posts: 4755
- Joined: Mon Oct 22, 2001 7:00 am
Foo wrote:Nope:Underpants? wrote:46.90.0.0 and 46.89.0.0 as well--two possible answers there, tubby.
1011000 = 88
1011001 = 89
1011010 = 90
1111110 = Mask
So 90 violates the mask by altering the second bit.
FWIW though, I had to resort to paper to work out the binary values. My conversion ability is not what it was. At least I remembered the method ;()
