31 lines
967 B
Python
31 lines
967 B
Python
"""Your plan: the commands each node runs, in order. You write this file.
|
|
|
|
Every interface starts with no address and no router forwards anything. For
|
|
each node, list the Linux commands that set it up. The README lists the
|
|
commands you will need and links their manuals; lab.py runs your lists and
|
|
then checks the network.
|
|
|
|
Work in the order the lab does: first nets A and B with r1 (part 1), then
|
|
net C with r2 and the routes that join everything (part 2).
|
|
"""
|
|
|
|
PLAN = {
|
|
"h1": [
|
|
# YOUR TASK: an address on net A, and where to send traffic for other networks
|
|
],
|
|
"h2": [
|
|
# YOUR TASK
|
|
],
|
|
"r1": [
|
|
# YOUR TASK: an address on each of its two networks; forwarding on; and (part 2) a route to net C
|
|
],
|
|
"h3": [
|
|
# YOUR TASK: h3 is on net B, between both routers. Which router does each other network sit behind?
|
|
],
|
|
"r2": [
|
|
# YOUR TASK (part 2)
|
|
],
|
|
"h4": [
|
|
# YOUR TASK (part 2)
|
|
],
|
|
}
|