ddosdn icon indicating copy to clipboard operation
ddosdn copied to clipboard

ERROR:mininet:Error setting vict1-eth0 up:

Open viettd14 opened this issue 1 year ago • 15 comments

Hi Sluca,

My name is Tran Duc Viet, and I am a student at UIT. I am research DDos SDN project in my University. So i want reference your project I followed your instructions to install onos, mininet, docker, containernet. I run the file topo.py, i get mininet error: ERROR:mininet:*** Error: ERROR:mininet:*** Error: ERROR:mininet:Error setting vict1-eth0 up: ERROR:mininet:*** Error: ERROR:mininet:*** Error: ERROR:mininet:Error setting vict2-eth0 up: ERROR:mininet:*** Error: ERROR:mininet:*** Error: *** Ping: testing ping reachability Level 25:mininet:*** Ping: testing ping reachability

ids1 -> Level 25:mininet:ids1 -> X Level 25:mininet:X X Level 25:mininet:X ..........

Level 25:mininet:

*** Results: 100% dropped (0/702 received)

Level 25:mininet:*** Results: 100% dropped (0/702 received) I can't fix bug This project is very important to me. You can give me your email or any contact information (eg: facebook, instagram), I will actively contact you.

I have been researching anti-DDoS models in software-defined networking (SDN), and I am particularly interested in the approach you proposed in your paper. I believe that the source code would greatly aid my research by allowing me to reproduce and build upon your findings.

Thank you for your time and consideration. I look forward to hearing from you soon.

Best regards,

viettd14 avatar Apr 24 '23 03:04 viettd14

Hi Tran, What is your OS?

ssulca avatar Apr 24 '23 13:04 ssulca

My OS is Ubuntu 18.04 desktop I tried to fix the bug on topo.py file, but it didn't work, because mininet doesn't return error log

viettd14 avatar Apr 24 '23 13:04 viettd14

do you have ova file your project, can you share to me

viettd14 avatar Apr 24 '23 13:04 viettd14

what is your mininet version?

do you have ova file your project, can you share to me

No, last time that ddosdn was update was run locally when mininet pass from python2 to python 3

ssulca avatar Apr 24 '23 13:04 ssulca

I have tried with 2 mininet versions: 2.2.2 and 2.3.1b1. Both mininet versions have error ERROR:mininet:Error setting vict1-eth0 up: I am using python3 for run file topo.py

viettd14 avatar Apr 24 '23 13:04 viettd14

Im going to try reproduce your error.

ssulca avatar Apr 24 '23 16:04 ssulca

Im going to try reproduce your error.

Yes, thank you. hope you can help me fix my error. i tried using os ubuntu 20 desktop and using mininet 2.3.1b1, also got error ERROR:mininet:Error setting vict1-eth0 up. also, in your demo video, https://www.youtube.com/watch?v=oPERE8d_F40 you have accessed the link locahost:5000/control, i tried accessing this link but it doesn't work. Can you tell me more information what service or software is using port 5000 on your system. how to install an run it

viettd14 avatar Apr 24 '23 17:04 viettd14

locahost:5000/control this service was done by @GastonLopez and I think he didn't share their project.

ssulca avatar Apr 25 '23 12:04 ssulca

locahost:5000/control this service was done by @GastonLopez and I think he didn't share their project. Hi @GastonLopez and @ssulca, I am researching on the topic of ddos attack detection on sdn network. Gaston, can you share with me your project on monitoring and get log on localhost:5000? I will not share it publicly or anyone, I only use it for research purposes

viettd14 avatar Apr 25 '23 13:04 viettd14

your openvswitch-switch service is enable ? you can check using

sudo systemctl status openvswitch-switch

ssulca avatar Apr 25 '23 22:04 ssulca

My openvswitch-switch service is running

will@ubuntu:~$ sudo systemctl status openvswitch-switch ● openvswitch-switch.service - Open vSwitch Loaded: loaded (/lib/systemd/system/openvswitch-switch.service; enabled; vendor preset: enabled) Active: active (exited) since Tue 2023-04-25 19:50:27 PDT; 5min ago Process: 883 ExecStart=/bin/true (code=exited, status=0/SUCCESS) Main PID: 883 (code=exited, status=0/SUCCESS)

Apr 25 19:50:27 ubuntu systemd[1]: Starting Open vSwitch... Apr 25 19:50:27 ubuntu systemd[1]: Finished Open vSwitch.

viettd14 avatar Apr 26 '23 02:04 viettd14

locahost:5000/control this service was done by @GastonLopez and I think he didn't share their project.

Hi ssula, Can you help me fix my mininet error? Also you can share me email of @GastonLopez, I want to contact him, share locahost:5000. I would like to consult your thesis and Gaston for research purposes at my university Best regards,

viettd14 avatar Apr 26 '23 08:04 viettd14

I think openvsiwitch-switch is not enabled try

sudo systemctl restart openvswitch-switch

ssulca avatar Apr 26 '23 13:04 ssulca

@viettd14 if you want to contact to @GastonLopez try to do via linkedin

ssulca avatar May 03 '23 15:05 ssulca

@viettd14 if you want to contact to @GastonLopez try to do via linkedin

Oh great. Thank you Sulca for your sharing. I will contact Gaston immediately

viettd14 avatar May 04 '23 13:05 viettd14