IP Addresses - Brief Overview
What is an IP address: (according to http://www.whatismyip.com/ and http://whatismyIPaddress.com)
Converting IP addresses:
203 184 17 253
11001011 10111000 00010001 11111101
Remove the spaces as rewrite as 11001011101110000001000111111101
STEP 2: Simply convert each binary nibble into the hexadecimal equivalent
1100 1011 1011 1000 0001 0001 1111 1101 ( _____ _____ _____ _____ )
12 11 11 8 1 1 15 13 8 4 2 1
C B B 8 F D
Rewrite as CBB811FD
Homework - IP Addresses:
- Your IP address is something you probably rarely think about, but it's vitally important to your online lifestyle.
- An IP or Internet Protocol address is an exclusive number online devices use to identify and communicate with each other through computer networks.
- This process can best be compared to how we receive mail to our home address. An IP address would be most similar to a mailing address, while the network would be compared to the town you live in. Just like our home addresses, information cannot be sent or received by devices without a specific address.
- Learning your own IP address is crucial for online gaming, tech support, using remote desktop connections, detecting proxies, tracing email, or even running an email server.
- Without an IP address, you wouldn't be able to get today's weather, check the latest news or look at videos online. Why? Because without your IP address, websites like weather.com, CNN or ESPN wouldn't know where to send the information you asked for. They wouldn't be able to get it to YOUR computer.
- If you are interested in learning more, be sure to check out the Internet for more information or read this article from http://whatismyIPaddress.com
Converting IP addresses:
- Thank goodness that each hex digit is worth four binary bits and that we can use hex as shorthand for binary numbers.
- For example, an IP version 6 address is represented as a 32-digit hex number. Assuming that we still have to manipulate IP addresses in the future, would you rather type or write 32 hex digits, or its equivalent as 128 binary digits?
- Convert the address 20.184.17.253
203 184 17 253
11001011 10111000 00010001 11111101
Remove the spaces as rewrite as 11001011101110000001000111111101
STEP 2: Simply convert each binary nibble into the hexadecimal equivalent
1100 1011 1011 1000 0001 0001 1111 1101 ( _____ _____ _____ _____ )
12 11 11 8 1 1 15 13 8 4 2 1
C B B 8 F D
Rewrite as CBB811FD
Homework - IP Addresses:
- Find the IP address of the computer you are working on in class or at home
- Under the Apple Icon > About This Mac > System Report > Network
- Use an online service to find your address http://www.whatismyip.com/ or http://whatismyipaddress.com/ - Working with a partner, I would like you to convert your IP address into both its binary and its hecidecimal equivalents
Homework: Part 2
Convert the following IP addresses in "dotted-decimal" notation to their 32-bit binary equivalents and their hexadecimal equivalents:
a) 255.255.0.0
b) 10.253.135.99
c) 124.36.0.226
d) 255.255.248.0
e) 80.90.100.110
f) 224.0.0.6
g) 255.255.255.252
Homework: Part 3
Convert the following binary IP addresses to dotted-decimal and Hexadecimal Equivalents:
a) 01101010 11010010 10101010 01011010
b) 00011110 10101010 01101001 01010101
c) 11111111 00000000 00000000 00000000
d) 11111001 00000000 00000000 11011101
e) 10000000000000010110011011111110
f) 11111111111111111111111000000000
g) 01001100011100001111000001111101
h) 10110011100011110000111110000010
Convert the following IP addresses in "dotted-decimal" notation to their 32-bit binary equivalents and their hexadecimal equivalents:
a) 255.255.0.0
b) 10.253.135.99
c) 124.36.0.226
d) 255.255.248.0
e) 80.90.100.110
f) 224.0.0.6
g) 255.255.255.252
Homework: Part 3
Convert the following binary IP addresses to dotted-decimal and Hexadecimal Equivalents:
a) 01101010 11010010 10101010 01011010
b) 00011110 10101010 01101001 01010101
c) 11111111 00000000 00000000 00000000
d) 11111001 00000000 00000000 11011101
e) 10000000000000010110011011111110
f) 11111111111111111111111000000000
g) 01001100011100001111000001111101
h) 10110011100011110000111110000010
For Interest - Converting subnet masks
A subnet allows the flow of network traffic between hosts to be segregated based on a network configuration. By organizing hosts into logical groups, subnetting can improve network security and performance.
Like IP addresses, a subnet mask contains four bytes (32 bits) and is often written in the same "dotted-decimal" notation.
A subnet mask neither works like an IP address, nor does it exist independently from them. Instead, subnet masks accompany an IP address and the two values work together. Applying the subnet mask to an IP address splits the address into two parts, an "extended network address" and a host address.
Example of how to convert:
FA subnet mask is given as FF-FF-FC-00. What is its representation in dotted-decimal notation
First, expand each hex digit into its binary nibble equivalent:
F F F F F C 0 0
1111 1111 1111 1111 1111 1100 0000 0000
Now, make an octet out of each nibble pair:
11111111 11111111 11111100 00000000
Convert each octet to its decimal equivalent:
11111111 11111111 11111100 00000000
255 255 252 0
Separate the values by periods to get 255.255.252.0
Similarly, a very common subnet mask in its binary representation
For those of you interested, do a bit more research on subnet masks and their importance to the world of computers.
Like IP addresses, a subnet mask contains four bytes (32 bits) and is often written in the same "dotted-decimal" notation.
A subnet mask neither works like an IP address, nor does it exist independently from them. Instead, subnet masks accompany an IP address and the two values work together. Applying the subnet mask to an IP address splits the address into two parts, an "extended network address" and a host address.
Example of how to convert:
FA subnet mask is given as FF-FF-FC-00. What is its representation in dotted-decimal notation
First, expand each hex digit into its binary nibble equivalent:
F F F F F C 0 0
1111 1111 1111 1111 1111 1100 0000 0000
Now, make an octet out of each nibble pair:
11111111 11111111 11111100 00000000
Convert each octet to its decimal equivalent:
11111111 11111111 11111100 00000000
255 255 252 0
Separate the values by periods to get 255.255.252.0
Similarly, a very common subnet mask in its binary representation
- 11111111 11111111 11111111 00000000
- 255.255.255.0
For those of you interested, do a bit more research on subnet masks and their importance to the world of computers.