Send 'hello' message between 2 PCs using mininet - networking

I am trying to connect two external laptops to two different Mininet hosts in order to transfer a "hello" message from one laptop to another. Could you please assist me with the proper steps to accomplish this task?
Thank you for your time and expertise.
I use mininet in a Linux virtual machine and open daylight controller on another VM
I made some researches but they all fail

Related

Cannot ping across router (see details)

I'm trying to go through an online course to study for my CCENT and CCNA certification exams, and I've come across a trouble spot.
In the module, he's going over basic network setup, including setting up interfaces, assigning ip addresses, the works.
At the end of the video for that portion, he's testing the connection by pinging a second machine from across the router, and having no issue in doing so, however I can't seem to make it work. Crude ASCII topology drawing below.
Currently, I can ping both ends of the router from either machine, and can ping both machines from the router no problem. What am I missing, or what have I not done in order to be able to ping one machine to the other? I want to make sure I have this working before I move on in the course.
10.0.0.0/25 10.0.0.128/25
|CPU 1|-------G0/0--|R1|--G0/1----------|CPU 2|
R1: G0/0: 10.0.0.1/25
G0/1: 10.0.0.129/25
CPU 1:10.0.0.10/25
default gateway: 10.0.0.1
CPU 2:10.0.0.130/25
default gateway: 10.0.0.129
Are the PCs in question "physical" machines? One common cause for PC to PC ping failure on "Physical" machines is the windows firewall. It would need to be disabled on the remote machine you wish to ping in order to get a response.
Thank you
Please vote on this answer if it was helpful.

ping issue in Mininet custom topology

I have build custom network topology in mininet 105 switches connected with each other by speficied logic, and every switch has a node connected with that.
the problem is when i ping s2 --> s94 packet reaches to the destination but when i invoke ping from h2 --> h94 it shows total packet loss.
can anyone guide me why is that? its important since i have to generate traffic over network.
i am using Mininet Vm http://mininet.org/download/
For Mininet 2.0.0, the default controller for the mn command is ovs-controller (which can be installed automatically in Ubuntu.) Unfortunately ovs-controller only supports up to 16 switches. If you want to use more than 16 switches, you should use a controller that supports more than 16 switches .
Solution: Try POX controller!
GITHUB download link
Documentation
Use a pox controller. In the controller terminal,
$cd pox
$./pox.py openflow.discovery forwarding.l2_learning
Now try a pingall
If the topology contains loops I'm not sure if pox will do the job. Previously had a similar issue when I basically needed STP or similar. The Onos controller can do this for you.
What could be mentioned here is that switches in mininet are running in the host net namespace (as apposed to hosts that are running in their own namespaces). So pinging from s2 is likely to give you weird results anyway. If you for example would do s2 ifconfig you would see all interfaces of all switches. My point is, testing connectivity by using the switches can be misleading.
Also, as the other posts tell you, you obviously need a OF controller.

Raspberry Pi - run a program with specified internet connection

Is it possible without virtual machines to do the following on RPi (raspbian image) via console only?
I'll have 5 open vpn connections. I have a program that will be started in 5 instances too. Can I specify somehow what connection should each instance use? First of all I thought about 'screen' command, but I think that I'll have no luck.
The program is a client, which connects to a server with specified IP:port and sending USB hardware parameters.
For example:
openvpn --config "1"
start1.sh
openvpn --config "2"
start2.sh
...
openvpn --config "5"
start5.sh
I would like to have something like this. But I think that every started process will use only last established connection.
Thank you.
Well, it seems that I should use network namespaces. Here are the links, that may be helpfull to visitors of this question. I didn't find another ways how to do it.
link one
link two
link three

Application Level Network Sniffer

Is there a better tool than WireShark to sniff out where given application is trying to connect and at which port. (So that I could easily overwrite it with my HOSTS file). Being able to log packet data is helpful too.
Ultimately I would prefer an application that I could just throw a running process at and start logging the network activities of the given app
Of course the application and sniffer will be running on the same PC. Preferably I would love a Windows sniffer. Since running that app on Linux will be .... difficult.
Answering myself: http://www.sysprobs.com/monitor-network-traffic-windows-7-microsoft-network-monitor-34
This article helped me big time. The tool in there is really great.
Have you tried socket sniff?
It should let you monitor specific applications:
socket sniff

Creating a wired connection b/w two vms in vmware

I was just curious if i can connect any two interfaces of any two vms running on the same box using vmware player as if the two interfaces were connected by network wire. I need this setup for simulating some networking test.
Under workstation you can create very easily what you're after, however, in player, if you select host only there would be 3 things on the network, the host, and the 2 guests.
I don't know the reason of down voting.
Anyway i think that creating one more virtual network like vmnetX and then let the two interfaces connect to the same will solve the problem. Please rectify if i am wrong.
P.S: It is obvious you cannot connect the two vms using 'Wire' :)

Resources