New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here

lab intro

by: Nishtha

lab intro INFO 330


Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

lab intro
Dikran Kassabian
75 ?




Popular in Networking

Popular in INFO

This 4 page Bundle was uploaded by Nishtha on Wednesday May 18, 2016. The Bundle belongs to INFO 330 at Drexel University taught by Dikran Kassabian in Spring 2016. Since its upload, it has received 9 views. For similar materials see Networking in INFO at Drexel University.


Reviews for lab intro


Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 05/18/16
Basics of IPv4 Addressing Mostly written by Dr. Lee Leitner Last revised December 7, 2006 IPv4 addresses are 32 bits, organized into four groups of 8 bits called octets or bytes. They are shown in decimal (base 10) usually, with each octet converted to decimal, separated by  a period. Each octet can be from 0 to 255 decimal (00000000 to 11111111 binary).   Examples: IP addresses are organized into address classes that separate the network and host portions: the  classes are described in the text and notes on the web page and will not be repeated here. Converting binary to decimal Remember (or calculate) the powers of two from 2^0 to 2^7 128 64 32 16 8 4 2 1 2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0 To convert binary to decimal: place the octet against the powers of two and add the powers of  two where there is a 1 in the binary number Example:  convert 11000111 to decimal: 128 64 32 16 8 4 2 1 1 1 0 0 0 1 1 1 So 11000111 binary equals decimal 128 + 64 + 4 + 2 + 1 = 199. Now convert 01011001 to decimal: 128 64 32 16 8 4 2 1 0 1 0 1 1 0 0 1 So 01011001 binary equals decimal 64 + 16 + 8 + 1 = 89. Convert decimal to binary 1 Find the highest power of two that can be subtracted from the number. Put a 1 in that position.  Subtract it from the number and repeat the process.  Put in zeroes for all the positions not used. Example:  convert 199 to binary. Highest number is 128: 128 64 32 16 8 4 2 1 1 199­128 = 71 highest number remaining: 64 128 64 32 16 8 4 2 1 1 1 71­64 = 7 highest number remaining = 4 (place zeroes for the others) 128 64 32 16 8 4 2 1 1 1 0 0 0 1 7­4 = 3 highest number 2 128 64 32 16 8 4 2 1 1 1 0 0 0 1 1 3­2 = 1 highest number 1 128 64 32 16 8 4 2 1 1 1 0 0 0 1 1 1 Exercise: convert to binary and back 2 Network and host portions To show a network number only, set the host portion to zero Example network numbers: is an example of a class C network number. Last 8 bits are set to zero. is an example of a class B network number. Last 16 bits are set to zero. Netmask The netmask indicates which part of the address is to be considered as the network portion; the  rest is left to identify each host in that network. Set all the bits to 1 if they are network bits Class A netmask: Class B netmask: Class C netmask: = 11111111.11111111.11111111.00000000 Classless: Inside a network or when CIDR (Classless Interdomain Routing) addressing is used, the network administrator may choose to designate hosts bits that are not on nice tidy octet boundaries. Example: How many host bits are available using these netmask The 255’s are all one’s for the first three bytes or 24 bits.  255 = 11111111 (eight 1’s) What is the 224 portion?  Convert 224 to binary. 224 – 128 = 96 96 – 64 = 32 32 – 32 = 0 So 224 is 11100000. Therefore, the first 27 bits in are all ones, so that is the length of the  prefix or netmask.  The remaining 32­27=5 bits are available for host identification.  Hence has five host bits. Exercise: How many host bits are available using the netmask  Possible Net Mask Values Since a mask must be a number of ones, followed by all zeroes, each IP address for a mask  typically has some number of 255 values, possibly followed by one non­255 value, possibly  followed by zeroes.  For example these are all legal net mask values: 3 The non­255 values must be eight bits that start with ones and end with all zeroes, so the only  possible values are: Binary Decimal Number of bits  contributed to mask 00000000 0 0 10000000 128 1 11000000 128+64 192 2 11100000 192+32=224 3 11110000 224+16 240 4 11111000 240+8= 248 5 11111100 248+4= 252 6 11111110 252+2=254 7 11111111 254+1=255 8 So the only non­255 values allowable in a mask are 0, 128, 192, 224, 240, 248, 252, or 254. The prefix length in CIDR is the number of ones in the mask, so the earlier examples would have the following prefix lengths: Mask Prefix length 8+8+0+0 = 16 8+8+2+0 = 18 1+0+0+0 = 1 (the shortest possible prefix!) 8+8+8+3 = 27 4


Buy Material

Are you sure you want to buy this material for

75 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Jennifer McGill UCSF Med School

"Selling my MCAT study guides and notes has been a great source of side revenue while I'm in school. Some months I'm making over $500! Plus, it makes me happy knowing that I'm helping future med students with their MCAT."

Bentley McCaw University of Florida

"I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"


"Their 'Elite Notetakers' are making over $1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.