site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
678
Share Topic
view:
normal
Posting?
Post a:
Post a:
page: 1 · 2
AuthorAll Replies

genseek

join:2013-03-06

v6 subnetting

Looking to get my understanding around on ipv6 subnetting more firm as we have migrations coming up.

Any help would be great!!!

To begin with say, IANA, has given 2340::/12 to ARIN

ARIN assigns 2340:1111::/32 to ISPA

Now, I want to understand in as detailed as possible way how

a . the subnet 1111 was arrived?
b. how to number the hosts?
c. how to easily write the subnets and hosts, if at all.

thanks - genseek


timcuth
Braves Fan
Premium
join:2000-09-18
Pelham, AL
Reviews:
·AT&T Southeast

My best recommendation is to start taking the free IPv6 course from Hurricane Electric. The concepts of IPv6 are quite different from IPv4 because so many addresses are available.

»ipv6.he.net/

See the link at the top center of the page, "Try our free certification program!"

Tim
--
"Life is like this long line, except at the end there ain't no merry-go-round." - Arthur on The King of Queens
~ Project Hope ~


genseek

join:2013-03-06

thank you for replying and for the suggestion tim.

I ve seen the link but it as such does not give information on subnetting, which i'm looking for. indeed, have registered in the site and will keep doing that.

but for now I m still looking answer to my question.

If you can help me understand v6 subnetting for the example, it would be gr8!!!

genseek



Clever_Proxy
Premium
join:2004-05-14
Villa Park, IL

»www.ipv6calculator.net/

Above is a pretty decent site for helping with the math. Ultimately, if you want to fully understand how the subnetting prefix system works, you need to break out the math of the slash notation. It follows the same general principles of IPv4.

2340:1111::/32 will have a range of:

2340:1111:0000:0000:0000:0000:0000:0000 - 2340:1111:ffff:ffff:ffff:ffff:ffff:ffff



Cabal
Premium
join:2007-01-21
Austin, TX
Reviews:
·Suddenlink

reply to genseek

said by genseek:

thank you for replying and for the suggestion tim.

I ve seen the link but it as such does not give information on subnetting, which i'm looking for. indeed, have registered in the site and will keep doing that.

Then you did not read it. It is almost entirely about subnetting.
--
If you can't open it, you don't own it.

HELLFIRE

join:2009-11-25
kudos:7

reply to genseek
Do you know how to subnet in IPv4 notation genseek See Profile ?

If you do, then the only difference you have to keep in mind is :

a) each IPv6 octet is 16bits instead of 8 bits for IPv4.
b) IPv6 address length is 128bits instead of 32bits for IPv4.

Clever_Proxy See Profile gave you the address range, so you'd have 2^96 hosts, including
the network and broadcast address; 2^96-1 if you're not counting these two addresses.

Regards



kontos
xyzzy

join:2001-10-04
West Henrietta, NY

reply to genseek

said by genseek:

Looking to get my understanding around on ipv6 subnetting more firm as we have migrations coming up.

Any help would be great!!!

To begin with say, IANA, has given 2340::/12 to ARIN

ARIN assigns 2340:1111::/32 to ISPA

Now, I want to understand in as detailed as possible way how

a . the subnet 1111 was arrived?

ARIN's IPv6 policies:
»www.arin.net/policy/nrpm.html#six

said by genseek:

b. how to number the hosts?

That kinda depends on how and what size subnet your ISP assigns you. It's likely to be
IPv6 Stateless Autoconfiguration or DHCPv6 or DHCP6-PD

said by genseek:

c. how to easily write the subnets and hosts, if at all.

Pretty much exactly like you did when you started the thread.


rchandra
Stargate Universe fan
Premium
join:2000-11-09
14225-2105

reply to HELLFIRE
You misunderstand what an octet is. It comes from the prefix "oct," meaning of course 8. It is precisely 8 bits (not 16). It was a name chosen to be architecture neutral. They're not the same as bytes, because bytes can have parity or ECC bits associated with them, making them 9, 10, or some other bits wide (think RAM modules and controllers). "Words" have had several (bit) widths, but most commonly a power of 2 which is also some multiple of 8.

You're confusing "octet" with "some number in some base between separators." In the case of IPv4, they're octets separated by ".". In IPv6, they're 16 bit words in hexadecimal separated by ":".
--
English is a difficult enough language to interpret correctly when its rules are followed, let alone when a writer chooses not to follow those rules.

Jeopardy! replies and randomcaps REALLY suck!



rchandra
Stargate Universe fan
Premium
join:2000-11-09
14225-2105

reply to genseek
I have found TLDP's HOWTO Linux+IPv6, especially section 2.3 through chapter 3 helpful for understanding addressing and subnetting. I would say you really should understand both, not just subnetting.

The key thing to remember is that IPv6 attempts to aggregate better than IPv4 so that the routing tables are more manageable. Another key to remember is the subnet used mostly for "non-routers" is /64 to accommodate stateless address autoconfiguration for link local addresses and in combination with router advertisements for global addresses.
--
English is a difficult enough language to interpret correctly when its rules are followed, let alone when a writer chooses not to follow those rules.

Jeopardy! replies and randomcaps REALLY suck!


HELLFIRE

join:2009-11-25
kudos:7

reply to rchandra
@ rchandra See Profile
Point taken about 'octet'... I'm just using that as it's a term i'm comfortable with.

Tellya what, you find the official name for the 4-character 'chunk' of an IPv6 address between two ::'s and you
can post it up here. I'm sure we're all for learning something new every day.

Regards



NormanS
Premium,MVM
join:2001-02-14
San Jose, CA
kudos:6
Reviews:
·SONIC.NET
·Pacific Bell - SBC

I don't know of an official word. Considering that "octet" refers to an 8-bit (octal) segment rendered in decimal format, and IPv6 is a 16-bit segment rendered in hexadecimal, I would propose a mouthful of: "hexadecimet".

I swear I just thought it out without research! But:

»www.ietf.org/mail-archive/web/ip···871.html

--
Norman
~Oh Lord, why have you come
~To Konnyu, with the Lion and the Drum



Clever_Proxy
Premium
join:2004-05-14
Villa Park, IL

Hexadecimet is a mouthful, however, like all things IPv6, it's much longer and verbose than it's predecessor.

Welcome to the new more verbose internet :P



cablegeek01

join:2003-05-13
USA
kudos:1

reply to NormanS
I've always heard the segments referred to as "words" or "Chunks". Does anyone know if the IETF ever settled on a formal term?



Wily_One
Premium
join:2002-11-24
San Jose, CA

RFC 4291 defines the IPv6 addressing scheme, and the authors refer to the field as the "16-bit pieces of the address" twice, and "16-bit chunk of the address" once. I think they were purposely being careful to use generic terms rather than invent some new buzzword.

Based on the computer science definition, I believe the correct term for a 16-bit value is "word". Sixteen bits = two bytes = one word.


HELLFIRE

join:2009-11-25
kudos:7

...works for me Wily_One See Profile

said by Wily_One:

I believe the correct term for a 16-bit value is "word". Sixteen bits = two bytes = one word.

Tongue in cheek comment here :

- 16bits = 2bytes = 1 word
- 8 bits = 1 byte = ??? word

1/2 a word?

Regards


NormanS
Premium,MVM
join:2001-02-14
San Jose, CA
kudos:6

reply to Wily_One
But is the 8-bit value of a dotted quad number a, "byte", or an, "octet"? Consider the context.
--
Norman
~Oh Lord, why have you come
~To Konnyu, with the Lion and the Drum



Wily_One
Premium
join:2002-11-24
San Jose, CA

reply to HELLFIRE

said by HELLFIRE:

- 16bits = 2bytes = 1 word
- 8 bits = 1 byte = ??? word

1/2 a word?

Sort of, half a word is a byte. Half a byte is a nybble, so 8 bits = 2 nybbles.


Wily_One
Premium
join:2002-11-24
San Jose, CA

reply to NormanS

said by NormanS:

But is the 8-bit value of a dotted quad number a, "byte", or an, "octet"? Consider the context.

Not sure what point you're trying to make. Octet and byte are synonymous; they both mean 8 bits. A "word" traditionally meant 16 bits and a "double word" was 32 bits. (You see this in the Windows Registry as the DWORD data type.)


NormanS
Premium,MVM
join:2001-02-14
San Jose, CA
kudos:6
Reviews:
·SONIC.NET
·Pacific Bell - SBC

Really? Synonymous I mean. I have only encountered "octet" in the context of the IPv4 IP address. In which sense, all "octets" are "bytes", but not all "bytes" are "octets".
--
Norman
~Oh Lord, why have you come
~To Konnyu, with the Lion and the Drum



leibold
Premium,MVM
join:2002-07-09
Sunnyvale, CA
kudos:5
Reviews:
·SONIC.NET

Historically a byte was however many bits the hardware would take in (bite) at once. It was only over time that the meaning of 1 byte = 8 bits became standardized.

An octet unambiguously specifies 8 bits.

Wikipedia credits IBM engineer Werner Buchholz for coining the term byte in 1956.
--
Got some spare cpu cycles ? Join Team Helix or Team Starfire!


Sunday, 07-Apr 20:41:30 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics