Pages

Friday, January 31, 2014

Feedback on Lab 1

01/31

So I posted feedback to everyone on the first lab assignment. Please check out the blogs that I +1'd and +2'd so that you know what you were missing. Please also look at your individual comments.

In general no one was really able to answer question 4 although 2 of you had the correct idea. If you looked at the question carefully, you will see what was expected (there is an example below the question). Please follow the format below, see the +1'd and +2'd posts and edit your blogs. 

Open Socket:

int socket (int namespace, int style, int protocol)

header file: sys/socket.h

Creates a socket and specifies communication style (SOCK_STREAM, SOCK_DGRAM or
SOCK_RAW), namespace (PF_LOCAL or PF_INET) and protocol designates the specific
protocol (default is zero which usually works best).

The return value from socket is the file descriptor for the new socket, or -1 in case of error


Lastly , I wished someone actually did the locations in a map :)

Thursday, January 30, 2014

Chapter 1 lab assignment Questions 2-4


Tiara Barias                                            Chapter 1 lab assignment.  




2) Use traceroute to trace the route of any two IP addresses on the campus network. Explain each line in the output.



Explanation: The first domain i used was york.cuny.edu which IP address is 198.61.16.7 location at Jamaica NY and returned four outputs. The first IP address that i got was 172.25.1.1 which is also on campus, the second IP address is 172.16.25.10 which is also on campus, the third is 192.168.25.101 and lastly which is specifically located in Huntington station.
The second domain i used was the blackboard website bbhosted.cuny.edu which IP address is 128.228.38.168 and returned eighteen outputs after that it timed out. So the first and second outputs are located on campus, the 3rd output comes up in California, the 4th in Virginia, the 5th in NY specifically time warner cable, the 6th is another time warner cable in Wichita Kansas state, the 7th is in Herdon Virginia, the 8th-14th are in Kansas, the 15th through 17th in Hudson valley NY, and lastly the 18th output is in Kansas state.



3)Use traceroute to any dotcom website hosted in your home country. This might not work from
campus because traceroute is blocked by the firewall so try at home. Then copy all IP addresses in the
trace and do a web search "where is <IP address>". Note and write or draw the geographic route your
query took. 
 
 
 
 Explanation: For question 3 i chose the domain livio.com which is a website from the Dominican Republic which IP address is 63.247.69.131 located in Atlanta. This domain returned 14 outputs. The first two are located on campus, then California, followed by Kansas, then the next two are in Ontorio LA, then Chicago IL, followed by Maryland, then three outputs in Chicago IL, and finally ends back to where it started in Atlanta GA. 

4) Open socket:
header file: sys/socket.h
int socket (int socket, int sock_raw, int protocol)
return 0;