CS168: Discussion 1
Intro to the Internet I
Fall 2024
Agenda
Light discussion today
About Me - Arjun (He/Him)
I’m a 4th year undergrad student studying CS and Applied Mathematics
I’m from LA (lowkey actually from Simi Valley which is a lot less interesting), and like climbing, photography, sleeping, yapping, and walking doggs.
Disclaimer: I have NOT taken this class
My office hours (Soda 411), VERY subject to change:
My email: arjundamerla@berkeley.edu (Edstem is faster)
About Me - Anita (She/Her)
I’m a 4th year undergrad student studying CS.
I’m from the East Bay. I like snowboarding, playing the guitar, and CTFs.
My office hours: Monday 2-5 pm @ Soda 411
My email: anitading556@berkeley.edu (Edstem is faster though)
About Me - Ian
I’m a 4th year undergrad student studying CS and DS.
I’m from the East Bay. I like playing basketball, tennis, and exploring new restaurants
My office hours: Tuesday 2-5 pm @ Soda 411
My email: ihdong@berkeley.edu
(Edstem is faster though)
About Me - Jaewon (He/Him)
I’m a 4th year undergrad student studying EECS and ORMS.
I’m from South Bay. I like playing tennis, hiking, and urban exploration!
My office hours (Soda 411):
My email: jaewon.lee@berkeley.edu (please include “[CS 168]” in the header; Edstem is faster though)
Deadlines
Project 1A: Basic Traceroute
Project 1B: Traceroute Error Handling (there are a few hard tests)
Additional Information
Terms
Terms
Terms
Header
“Go Bears”
Body
Terms
Name: mywebsite.com
Addr: 142.250.72.206
Name: mywebsite.com
Addr: 208.117.236.69
Terms
Terms (cont’d)
Poking the Internet
Ping, Traceroute
Think of this as a “tinker discussion” - you aren’t expected to know any of these concepts yet. We’ll learn about them throughout the semester.
Ping, Traceroute
Ping, Traceroute
ping berkeley.edu -c 3
PING berkeley.edu (141.193.213.21): 56 data bytes
64 bytes from 141.193.213.21: icmp_seq=0 ttl=50 time=14.142 ms
64 bytes from 141.193.213.21: icmp_seq=1 ttl=50 time=20.024 ms
64 bytes from 141.193.213.21: icmp_seq=2 ttl=50 time=17.540 ms
--- berkeley.edu ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 14.142/17.235/20.024/2.411 ms
ping csail.mit.edu -c 3
PING csail.mit.edu (128.52.132.19): 56 data bytes
64 bytes from 128.52.132.19: icmp_seq=0 ttl=32 time=108.253 ms
64 bytes from 128.52.132.19: icmp_seq=1 ttl=32 time=109.574 ms
64 bytes from 128.52.132.19: icmp_seq=2 ttl=32 time=98.613 ms
--- csail.mit.edu ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 98.613/105.480/109.574/4.886 ms
Ping: A prediction
Ping, Traceroute
1
2
traceroute berkeley.edu
traceroute: Warning: berkeley.edu has multiple addresses; using 141.193.213.20
traceroute to berkeley.edu (141.193.213.20), 64 hops max, 40 byte packets
1 sut-mdc-sr9--ae0-558.net.berkeley.edu (10.40.232.2) 6.154 ms 10.428 ms 7.135 ms
2 sut-mdc-cr1--xe-2-1-13.net.berkeley.edu (128.32.255.96) 16.284 ms 19.354 ms 7.312 ms
3 reccev-cev-cr2--et-0-2-8.net.berkeley.edu (128.32.255.177) 5.652 ms
sut-mdc-cr2--et-0-2-8.net.berkeley.edu (128.32.255.41) 10.454 ms *
4 * * *
5 * sut-mdc-fw9--xe-0-0-1-3.net.berkeley.edu (128.32.255.143) 6.366 ms 5.512 ms
6 reccev-cev-sr1--xe-0-1-1-0-2.net.berkeley.edu (128.32.255.140) 5.309 ms 4.949 ms 5.388 ms
7 reccev-cev-sr1--lt-0-1-0-0.net.berkeley.edu (128.32.255.166) 4.160 ms 5.037 ms 4.338 ms
8 reccev-cev-cr2--et-0-0-0-3.net.berkeley.edu (128.32.255.74) 5.742 ms 9.072 ms 7.551 ms
9 sut-mdc-cr1--et-0-1-0.net.berkeley.edu (128.32.255.40) 7.412 ms
sut-mdc-cr1--et-0-1-5.net.berkeley.edu (128.32.255.176) 5.063 ms
reccev-cev-cr1--et-0-1-0.net.berkeley.edu (128.32.255.174) 6.135 ms
10 reccev-cev-br1--et-1-1-1.net.berkeley.edu (128.32.0.38) 4.994 ms 5.771 ms
reccev-cev-br1--et-1-1-0.net.berkeley.edu (128.32.0.36) 5.349 ms
11 emvl1-agg-01--ucb--100g.cenic.net (137.164.3.26) 9.055 ms 5.400 ms 5.872 ms
12 svl-agg10--emvl1-agg-01--400g--01.cenic.net (137.164.11.94) 9.312 ms 9.272 ms 8.780 ms
13 198.32.251.193 (198.32.251.193) 18.352 ms * 33.886 ms
14 172.68.188.80 (172.68.188.80) 10.743 ms
172.68.188.94 (172.68.188.94) 10.407 ms
172.68.188.80 (172.68.188.80) 26.217 ms
15 141.193.213.20 (141.193.213.20) 8.597 ms 9.852 ms 8.677 ms
Traceroute: Notice anything?
Traceroute
Visualizing Traceroute
TTL=1
TTL=2
TTL=3
TTL=4
Destination unreachable
Time Exceeded
Time Exceeded
Time Exceeded
Time to Live:
Error:
Traceroute
How many bytes are the headers for IP, ICMP, and UDP packets?
What are the fields in each protocol header?
What ICMP error messages are relevant to traceroute?
Hint 1: What’s included in the ICMP response packets?
Hint 2: Check out some of the professional traceroute implementations.
Hint 3: Implement logging in your code to track the receipt and handling of each packet.
Questions?
Feedback Form: https://tinyurl.com/cs168-disc-fa24