Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio...

26
Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University

Transcript of Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio...

Page 1: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Problem Statement

Map of OSU Routers

Gopi Krishna TummalaRupam Kundu

Graduate StudentsThe Ohio State University

Page 2: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Significance

• Analyzing the map of routers helps to understand how internet works.

• how client host and a remote host in different places establishes a connection between them

• A map of routers can lead to localiztion

Page 3: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Traceroute

• In computing, traceroute is a computer network diagnostic tool for displaying the route (path) and measuring transit delays of packets across an Internet Protocol (IP) network.

• Traceroute:– list the router hops between the client host and a

remote host.– The IP address and domain name (if there is one)

of each router is returned to the client

Page 4: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Basic Concepts

• Each IP packet that you send on the internet has got a field called as TTL. TTL stands for Time To Live.

• TTL is measured by the no of hops. It is the maximum number of hops that a packet can travel through across the internet, before it is discarded.

• Each router that comes in between the source and destination will go on reducing the TTL value before sending to the next router.

Page 5: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Basic Concepts

• If the destination is not found even when TTL value becomes 0 the receiving router will drop the packet and informs the original sender .

• The information send by the router back to the original sender is called as "ICMP TTL exceeded messages". Of course in internet when you send something to a receiver, the receiver will come to know the address of the sender.

• Hence when an ICMP TTL exceeded message is sent by a router, the original sender will come to know the address of the router.

Page 6: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

How Traceroute Works

• Traceroute makes use of this TTL exceeded messages to find out routers that come across your path to destination(Because these exceeded messages send by the router will contain its address).

• Traceroute works by sending UDP packets with gradually increasing TTL value, starting with TTL value of 1. The first router receives the packet, decrements the TTL value and drops the packet because it then has TTL value zero.

• The router sends an ICMP Time Exceeded message back to the source.

Page 7: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Source Router 1 Router 2 Destination

1st UDP packet

TT

L = 0

ICMP

Time Exceeded

TTL=1

•Traceroute makes a note of the router’s address and the time taken for the round-trip.

•It sends two more packets in the same way to get an average value of the round-trip time.

2nd UDP packet

TTL=2

ICMP

Time Exceeded

TTL=1

TT

L = 0

3rd UDP packet

TTL=3 TTL=2 TTL=1•UDP packet dropped due to error in port number

ICMP

Destination port Unreachable

How Traceroute Works

•Once the destination is reached, Time exceeded ICMP message is NOT sent back this time because the destination has already been reached.•But, the UDP packet used by Traceroute specifies the destination port number to be one that is not usually used for UDP. Hence, when the destination computer verifies the headers of the UDP packet, the packet gets dropped due to improper port being used and an ICMP message (this time – Destination Unreachable) is sent back to the source.•When Traceroute encounters this message, it understands that the destination has been reached.

Page 8: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Installing Traceroute in Linux(using Terminal)

Page 9: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Executing Traceroute in Linux

Program name

Remote host domain name

Page 10: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Results of Traceroute in Linux

Hop 1-4: OSU router

Page 11: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Traceroute in Windows

Program name

Remote host domain name

Page 12: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Traceroute results

Hop 1-4: OSU routers

Page 13: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

* means?

The stars in the output mean that they are filtered, most likely by a firewall.

traceroute to google.com (192.232.16.55), 30 hops max, 60 byte packets 1 se4-vl3020.net.ohio-state.edu (140.254.204.1) 4.228 ms 4.721 ms 4.747 ms 2 kc1-forg2-3.net.ohio-state.edu (164.107.2.149) 17.871 ms 18.444 ms 18.472 ms 3 kc3-teng1-1.net.ohio-state.edu (164.107.2.193) 5.024 ms 5.062 ms 6.383 ms 4 clmbk-r9-xe-1-0-1s330.core.oar.net (199.18.169.1) 6.591 ms 7.010 ms 7.273 ms 5 clmbs-r9-xe-0-0-0s100.core.oar.net (199.218.38.46) 9.798 ms 10.610 ms 11.306 ms 6 clmbs-r5-xe-3-3-0s100.core.oar.net (199.218.20.14) 11.308 ms 4.232 ms 4.462 ms 7 * * * 8 * * * 9 * * *10 * * *11 * * *12 * * *13 * * *

Page 14: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

OVERALL MAP(data collected in following places on Campus)

Page 15: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

At Physics research building,We observe 7-hops to exit ohio-state ip-space

IP-Address of each hop is shown below

Tracing route to google.com [216.58.216.238]over a maximum of 30 hops: 1 <1 ms <1 ms <1 ms se4-vl1116.net.ohio-state.edu [128.146.36.1] 2 9 ms <1 ms <1 ms se3-vl59.net.ohio-state.edu [140.254.69.161] 3 5 ms 4 ms 2 ms 140.254.69.162 4 1 ms <1 ms <1 ms se3-vl62.net.ohio-state.edu [140.254.69.121] 5 1 ms <1 ms <1 ms se4-teng7-1.net.ohio-state.edu [164.107.2.222] 6 8 ms 11 ms 43 ms kc1-forg2-3.net.ohio-state.edu [164.107.2.149] 7 <1 ms <1 ms <1 ms kc3-teng1-1.net.ohio-state.edu [164.107.2.193] 8 3 ms 1 ms 1 ms clmbk-r9-xe-1-0-1s330.core.oar.net [199.18.169.1] 9 1 ms 1 ms 4 ms clmbn-r0-xe-1-2-1s100.core.oar.net [199.218.38.33] 10 1 ms 1 ms 1 ms clmbn-r5-xe-4-2-0s100.core.oar.net [199.218.38.13] 11 4 ms 4 ms 4 ms toldb-r5-et-1-0-0s100.core.oar.net [199.218.39.250] 12 14 ms 14 ms 14 ms 192.35.170.50 13 14 ms 14 ms 14 ms 209.85.143.154 14 14 ms 14 ms 14 ms 216.239.51.227 15 14 ms 14 ms 14 ms ord31s22-in-f14.1e100.net [216.58.216.238] Trace complete.

Page 16: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

At Physics research building,We observe 7-hops to exit ohio-state ip-space

IP-Address of each hop is shown below

Yellow bulbs indicate wired experiment

Page 17: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

At Caldwell building,We observe 3-hops to exit ohio-state ip-space

white bulbs indicate wireless experiments

Page 18: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

At Dreese Lab,We observe 3 to 4 hops to exit ohio-state ip-space

Page 19: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

At Bakers system building,We observe 3 hops to exit ohio-state ip-space

Page 20: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

At Thompson Library,We observe 3 to 4 hops to exit ohio-state ip-space

Page 21: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Observations

First hop x.x.even.x routers

Page 22: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Observations using Wireless

First hop x.x.odd.x DHCP servers

Page 23: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

Observations

1) In most of the cases, ip-address of first hop changes from building to building and floor to floor(in case of wireless)

1) We observed first hop ip-address is always in the format of xx.xx.xx.1 and changes from floor to floor but the corresponding hop addresses remains the same.

1) We observed in Thompsons library odd numbers are DHCP servers and even numbers are routers.

xx.xx.even.1 --> dhcp servers xx.xx.odd.1 --> routers

Page 24: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

A step beyond the work

Where am I ??

No GPS !

Track the IP-Address ???

Often the IP-Address registration and location are not updated.

(Try searching where am I in Google )

Page 25: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

A step beyond the work

Solution :

IP-based maps. (with location-IP map information, computer can be localized.)

Additional benefits:

1)Protection against spoofing 2) Network analysis (which link has too much load)

Page 26: Problem Statement Map of OSU Routers Gopi Krishna Tummala Rupam Kundu Graduate Students The Ohio State University.

END