Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:mininet:Error setting vict1-eth0 up: #27

Open
viettd14 opened this issue Apr 24, 2023 · 15 comments
Open

ERROR:mininet:Error setting vict1-eth0 up: #27

viettd14 opened this issue Apr 24, 2023 · 15 comments

Comments

@viettd14
Copy link

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,

@ssulca
Copy link
Owner

ssulca commented Apr 24, 2023

Hi Tran, What is your OS?

@viettd14
Copy link
Author

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
Copy link
Author

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

@ssulca
Copy link
Owner

ssulca commented Apr 24, 2023

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

@viettd14
Copy link
Author

viettd14 commented Apr 24, 2023

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

@ssulca
Copy link
Owner

ssulca commented Apr 24, 2023

Im going to try reproduce your error.

@viettd14
Copy link
Author

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

@ssulca
Copy link
Owner

ssulca commented Apr 25, 2023

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

@viettd14
Copy link
Author

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

@ssulca
Copy link
Owner

ssulca commented Apr 25, 2023

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

sudo systemctl status openvswitch-switch

@viettd14
Copy link
Author

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
Copy link
Author

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,

@ssulca
Copy link
Owner

ssulca commented Apr 26, 2023

I think openvsiwitch-switch is not enabled try

sudo systemctl restart openvswitch-switch

@ssulca
Copy link
Owner

ssulca commented May 3, 2023

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

@viettd14
Copy link
Author

viettd14 commented May 4, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants