Skip to content

I am receiving a score of 0/100. Here is the output from the script: #8

@umerjillani

Description

@umerjillani

I am reaching out regarding an issue with my Coursera assignment submission. Despite following the instructions and running the provided scripts, I am receiving a score of 0/100. Here is the output from the script:

INFO[0000] Containerlab v0.44.0 started
INFO[0000] Parsing & checking topology file: 4node-part1.clab.yml
INFO[0000] Creating docker network: Name="clab", IPv4Subnet="172.20.20.0/24", IPv6Subnet="2001:172:20:20::/64", MTU="1500"
INFO[0002] Creating lab directory: /home/vagrant/lab1/part1/clab-lab1-part1
WARN[0002] SSH_AUTH_SOCK not set, skipping pubkey fetching
INFO[0002] Creating container: "switch"
INFO[0007] Creating container: "host1"
INFO[0010] Creating link: host1:eth1 <--> switch:eth1
INFO[0010] Creating container: "host2"
INFO[0013] Creating link: host2:eth1 <--> switch:eth2
INFO[0013] Creating container: "host3"
INFO[0016] Creating link: host3:eth1 <--> switch:eth3
INFO[0016] Creating container: "host4"
INFO[0019] Creating link: host4:eth1 <--> switch:eth4
INFO[0020] Adding containerlab host entries to /etc/hosts file
INFO[0020] 🎉 New containerlab version 0.57.0 is available! Release notes: https://containerlab.dev/rn/0.57/
Run 'containerlab version upgrade' to upgrade or go check other installation options at https://containerlab.dev/install/
+---+------------------------+--------------+--------------------------------+-------+---------+----------------+----------------------+
| # | Name | Container ID | Image | Kind | State | IPv4 Address | IPv6 Address |
+---+------------------------+--------------+--------------------------------+-------+---------+----------------+----------------------+
| 1 | clab-lab1-part1-host1 | cb9b22fe90ee | ekellercu/network-testing:v0.1 | linux | running | 172.20.20.3/24 | 2001:172:20:20::3/64 |
| 2 | clab-lab1-part1-host2 | c199a9ad3c66 | ekellercu/network-testing:v0.1 | linux | running | 172.20.20.4/24 | 2001:172:20:20::4/64 |
| 3 | clab-lab1-part1-host3 | b36f22e1caae | ekellercu/network-testing:v0.1 | linux | running | 172.20.20.5/24 | 2001:172:20:20::5/64 |
| 4 | clab-lab1-part1-host4 | dcd8a235c967 | ekellercu/network-testing:v0.1 | linux | running | 172.20.20.6/24 | 2001:172:20:20::6/64 |
| 5 | clab-lab1-part1-switch | 03b8c156e6f0 | ekellercu/network-testing:v0.1 | linux | running | 172.20.20.2/24 | 2001:172:20:20::2/64 |
+---+------------------------+--------------+--------------------------------+-------+---------+----------------+----------------------+
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
Running as user "root" and group "root". This could be dangerous.
Running as user "root" and group "root". This could be dangerous.
Running as user "root" and group "root". This could be dangerous.
Running as user "root" and group "root". This could be dangerous.
Capturing on 'eth1'
Capturing on 'eth1'
Capturing on 'eth1'
** (tshark:41) 16:18:38.592554 [Main MESSAGE] -- Capture started.
** (tshark:41) 16:18:38.607184 [Main MESSAGE] -- File: "/lab-folder/h4.pcap"
** (tshark:39) 16:18:38.664948 [Main MESSAGE] -- Capture started.
** (tshark:39) 16:18:38.682420 [Main MESSAGE] -- File: "/lab-folder/h3.pcap"
** (tshark:40) 16:18:38.896694 [Main MESSAGE] -- Capture started.
** (tshark:40) 16:18:38.905606 [Main MESSAGE] -- File: "/lab-folder/h2.pcap"
Capturing on 'eth1'
** (tshark:40) 16:18:40.924220 [Main MESSAGE] -- Capture started.
** (tshark:40) 16:18:40.951516 [Main MESSAGE] -- File: "/lab-folder/h1.pcap"
.
Sent 1 packets.
.
Sent 1 packets.
.
Sent 1 packets.
.
Sent 1 packets.
.
Sent 1 packets.
context canceled
context canceled
context canceled
context canceled
INFO[0002] Parsing & checking topology file: 4node-part1.clab.yml
INFO[0002] Destroying lab: lab1-part1
INFO[0010] Removed container: clab-lab1-part1-host1
INFO[0010] Removed container: clab-lab1-part1-host2
INFO[0011] Removed container: clab-lab1-part1-host3
INFO[0012] Removed container: clab-lab1-part1-host4
INFO[0012] Removed container: clab-lab1-part1-switch
INFO[0012] Removing containerlab host entries from /etc/hosts file
Issues Noted:

Permission Errors:

Errors such as permission denied for /lab-folder/onepkt.py and ./do-lab.sh suggest that there might be permission issues with the scripts and files being executed within the containers.
File and Directory Checks:

The script requires the existence of certain directories and files. Ensure that all necessary files, including ./provided/onepkt.py and /lab-folder/ directories, are correctly set up and have the proper permissions.
Please let me know if there are specific issues or additional steps I can take to address the problems and improve the submission.

Thank you for your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions