Contents

CS 144 Checkpoint 7 - Putting it all together

Contents

“In this checkpoint, you won’t necessarily need to do any coding (assuming your previous checkpoints are in good working shape). Instead, to cap off your accomplishment, you’re going to use all of your previous labs to create a real network that includes your network stack (host and router) talking to the network stack implemented by another student in the class.”

Server

pcloud@ubuntu:~/minnow/build$ ./apps/endtoend server cs144.keithw.org 3000 < /tmp/big.txt
DEBUG: Network interface has Ethernet address 02:00:00:17:4b:1f and IP address 172.16.0.1
DEBUG: Network interface has Ethernet address 02:00:00:c3:95:a9 and IP address 10.0.0.172
DEBUG: adding route 172.16.0.0/12 => (direct) on interface 0
DEBUG: adding route 10.0.0.0/8 => (direct) on interface 1
DEBUG: adding route 192.168.0.0/16 => 10.0.0.192 on interface 1
DEBUG: Network interface has Ethernet address 52:86:ab:a4:be:a2 and IP address 172.16.0.100
DEBUG: minnow listening for incoming connection...
DEBUG: minnow new connection from 192.168.0.50:4681.
DEBUG: Outbound stream to 172.16.0.100 finished.
DEBUG: minnow outbound stream to 192.168.0.50:4681 finished (63000 seqnos still in flight).
DEBUG: minnow outbound stream to 192.168.0.50:4681 has been fully acknowledged.
DEBUG: minnow inbound stream from 192.168.0.50:4681 finished cleanly.
DEBUG: Inbound stream from 172.16.0.100 finished.
DEBUG: minnow waiting for clean shutdown... DEBUG: minnow TCP connection finished cleanly.
done.
Exiting... done.

Client

pcloud@ubuntu:~/minnow/build$ ./apps/endtoend client cs144.keithw.org 3001 > /tmp/big-received.txt
DEBUG: Network interface has Ethernet address 02:00:00:db:75:79 and IP address 192.168.0.1
DEBUG: Network interface has Ethernet address 02:00:00:d4:6d:30 and IP address 10.0.0.192
DEBUG: adding route 192.168.0.0/16 => (direct) on interface 0
DEBUG: adding route 10.0.0.0/8 => (direct) on interface 1
DEBUG: adding route 172.16.0.0/12 => 10.0.0.172 on interface 1
DEBUG: Network interface has Ethernet address ce:92:1a:b7:02:40 and IP address 192.168.0.50
DEBUG: Connecting from 192.168.0.50:4681...
DEBUG: minnow connecting to 172.16.0.100:1234...
DEBUG: minnow successfully connected to 172.16.0.100:1234.
DEBUG: minnow inbound stream from 172.16.0.100:1234 finished cleanly.
DEBUG: Inbound stream from 172.16.0.100 finished.
DEBUG: Outbound stream to 172.16.0.100 finished.
DEBUG: minnow outbound stream to 172.16.0.100:1234 finished (0 seqnos still in flight).
DEBUG: minnow waiting for clean shutdown... DEBUG: minnow outbound stream to 172.16.0.100:1234 has been fully acknowledged.
DEBUG: minnow TCP connection finished cleanly.
done.
Exiting... done.

Checksums

pcloud@ubuntu:/tmp$ sha256sum big-received.txt
5ac64cfe5b5fd4c5391387cdefc1ec6036cf1c0d1e7c19ffdeeb017c59f38e46  big-received.txt
pcloud@ubuntu:/tmp$ sha256sum big.txt
5ac64cfe5b5fd4c5391387cdefc1ec6036cf1c0d1e7c19ffdeeb017c59f38e46  big.txt

Congratulations on completing the CS 144 labs! 🎉