This repository has been archived by the owner on Jul 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
topology.json
1 lines (1 loc) · 1.75 KB
/
topology.json
1
{"switches": {"s3": {}, "s2": {}, "s1": {}}, "hosts": {"h8": {"ip": "10.0.8.88/32", "mac": "08:00:00:00:08:88", "commands": ["route add default gw 10.0.8.88 dev eth0", "arp -i eth0 -s 10.0.8.88 08:00:00:00:08:88"]}, "h9": {"ip": "10.0.9.99/32", "mac": "08:00:00:00:09:99", "commands": ["route add default gw 10.0.9.99 dev eth0", "arp -i eth0 -s 10.0.9.99 08:00:00:00:09:99"]}, "h2": {"ip": "10.0.2.22/32", "mac": "08:00:00:00:02:22", "commands": ["route add default gw 10.0.2.22 dev eth0", "arp -i eth0 -s 10.0.2.22 08:00:00:00:02:22"]}, "h3": {"ip": "10.0.3.33/32", "mac": "08:00:00:00:03:33", "commands": ["route add default gw 10.0.3.33 dev eth0", "arp -i eth0 -s 10.0.3.33 08:00:00:00:03:33"]}, "h1": {"ip": "10.0.1.11/32", "mac": "08:00:00:00:01:11", "commands": ["route add default gw 10.0.1.11 dev eth0", "arp -i eth0 -s 10.0.1.11 08:00:00:00:01:11"]}, "h6": {"ip": "10.0.6.66/32", "mac": "08:00:00:00:06:66", "commands": ["route add default gw 10.0.6.66 dev eth0", "arp -i eth0 -s 10.0.6.66 08:00:00:00:06:66"]}, "h7": {"ip": "10.0.7.77/32", "mac": "08:00:00:00:07:77", "commands": ["route add default gw 10.0.7.77 dev eth0", "arp -i eth0 -s 10.0.7.77 08:00:00:00:07:77"]}, "h4": {"ip": "10.0.4.44/32", "mac": "08:00:00:00:04:44", "commands": ["route add default gw 10.0.4.44 dev eth0", "arp -i eth0 -s 10.0.4.44 08:00:00:00:04:44"]}, "h5": {"ip": "10.0.5.55/32", "mac": "08:00:00:00:05:55", "commands": ["route add default gw 10.0.5.55 dev eth0", "arp -i eth0 -s 10.0.5.55 08:00:00:00:05:55"]}}, "links": [["h1", "s1-p1"], ["h2", "s1-p2"], ["h3", "s1-p3"], ["h4", "s2-p1"], ["h5", "s2-p2"], ["h6", "s2-p3"], ["h7", "s3-p1"], ["h8", "s3-p2"], ["h9", "s3-p3"], ["s1-p4", "s2-p4"], ["s2-p5", "s3-p5"], ["s3-p4", "s1-p5"], ["s1-p6", "s1-p7"], ["s2-p6", "s2-p7"], ["s3-p6", "s3-p7"]]}