DPSET: Multiple connections in Ryu SDN Controller - sdn

I install latest Ryu controller from pip install(Python3) in Ubuntu 14.04 on VM(VM-A), and NIC configure as bridge mode(192.168.88.252).
I assume VM-A's host is "Host-A"
And connect physical Zodiac FX Openflow switch, port4(reserve for connect with controller, 192.168.88.252) to router(192.168.88.0/24)
Zodiac FX port3 connect to router(192.168.88.0/24)
And connect Two RPI(AKA Host-B,C) on Zodiac FX port 1,2(so, two rpi will get 192.168.88.250, 192.168.88.249)
And connect controller Host-A to router(192.168.88.253)
It work fine, and two rpi able to connect internet.
Host-A able to connect two rpi.
But if I trying to use VM-A to do any kind of connect with two rpi.
Hole controller will stuck for few minute, an get message:
DPSET: Multiple connections {dpid}
I wounder to know there is illegal when I using SDN controller to communicate with openflow networking devices?
In my case, my ryu app run simple_switch_13.py.
Thanks!

If I spread another subnet(192.168.80.0/24) for sdn switch communicate with controller.
This problem solved!, SDN controller need another NIC to connect another subnet.
I still can using SDN controller access 192.168.88.0/24 without DPSET problem.

Related

Can WebRTC be used to broadcast from one machine and view on another machine?

I have been trying to work with WebRTC for live streaming it on one machine and view it on another machine. The thing is i am able to broadcast and view it on same machine, but with different machines it not working. Can anyone guide me through it to stream from one machine and view it on another?
One of possible issues: if your machines are not in the same network then you have to use STUN/TURN server so that the machines could find each other. You can try to use these:
stun.l.google.com:19302
stun1.l.google.com:19302
stun2.l.google.com:19302
stun3.l.google.com:19302
stun4.l.google.com:19302
Also this example of using STUN might be helpful: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/

How to access servers on a KVM guest like in VMWare?

I'm trying to establish a connection to my Guest without making it available for anyone else than my Host.
When using VMWare Guests are automatically available under their NAT IPs (at least when using Windows as a host), which makes accessing servers running on the guest.
How would I achieve something like this when using KVM?
I already tried using bridges, but that led me nowhere
I'm using Manjaro (mostly Arch under the hood)
You don't mention what you're using to launch KVM, but since you've tagged this with 'libvirt' I'll assume you're running with libvirt.
Libvirt provides a 'Virtual network' capability which can provide simple NAT based IP connectivity to guests. This uses a bridge device underneath, but that bridge device is not connected to any physical NIC, and uses iptables rules to setup NAT routing to allow outbound only connectivity. On most distros this is visible via 'virsh net-list' as a network named 'default'. If you connect your guest to that you'll get NAT eg in the guest XML use
<interface type="network">
<source network="default"/>
</interface>

communication between two phone via USB

I want to communication between two different android phone via USB. I look at Google SDK guide I don't know how can i do.Somebody can give me some suggests ? Thank you very much !
The USB-Standard requires to work as host-client-mechanism. This means in particular, that you usually have a host-controller (for example inside your PC) which a client (USB-drive, MP3-player, mobile phone) can connect to.
The host is responsible for negotiating and establishing a connection. If you want to connect two clients with each other, one of them must Support USB-On-The-Go to serve as a host with limited capabilities.
From Wikipedia
The design architecture of USB is asymmetrical in its topology, consisting of a host, a multitude of downstream USB ports, and multiple peripheral devices connected in a tiered-star topology. Additional USB hubs may be included in the tiers, allowing branching into a tree structure with up to five tier levels. A USB host may implement multiple host controllers and each host controller may provide one or more USB ports. Up to 127 devices, including hub devices if present, may be connected to a single host controller.[20][21] USB devices are linked in series through hubs. One hub—built into the host controller—is the root hub.

How can I configure a Client Hyper-V (on Windows 8) to connect to the host and other VMs without a network connection?

I'm trying to develop an interface to an application that doesn't run on Windows 8. Hence, I've created a VM with Windows 7 running the integration service and another service running on the Windows 8 host.
I have three Virtual Network scenarios configured for Hyper-V: Wireless, Shared and Internal. Where Wireless allows all VMs and the host to connect to a wireless network (External), Shared let's the VMs connect through the host via a VPN (Internal) and Internal creates a network within the host where the VMs don't have network access (Private).
When I'm in Wireless (External) mode and there's a wireless network to connect to, everything works fine as if I were testing using to physical PCs on a wireless network. However, today I had a situation where I wasn't connected to a network but still wanted to do some testing and I could not get the VM to see the host and vice-versa. This scenario was quite straight forward to create on VMware which I used before switching to Hyper-V...
Has anyone managed to make Client Hyper-V VMs and the host communicate without a network? Can you guide me how to set it up?
Wireless networking under Windows 8 Hyper V can not communicate with multiple VM the Wireless NIC is assign to only one Hyper V internet connection,
Meaning only one Hyper V can connect to the Internet preventing others from connecting unless you use multiple Nic's Wireless Network Cards or USB Wireless Network.
It is only after you restart or shut down your computer that Hyper-V problems start.
So if you can not connect any of your Hyper VMs then you problem could be due to a shutdown error that Hyper-v in counted Try restarting the whole computer then Hyper- VMs your problem should fix itself.
Might want to try this. I am having similar problems as you and all signs point to this particular solution working, but for me it is not. Might help you, though.
http://blogs.technet.com/b/doxley/archive/2008/07/07/disconnecting-hyper-v.aspx
The solution that DID end up working for me was this:
http://www.elmajdal.net/Win2k8/Enabling_Wireless_Network_For_Hyper_V_Virtual_Machine.aspx

If possible, how to connect iPhone to an external device and a router programmatically, both WiFi

I would like to create an application that connects to the internet by using WiFi. That's easy, but i also want to connect the iOS device to a standalone WiFi device. (Device is classified)
So basically i want to connect programmatically to two devices at once using a single WiFi chip
Is this even possible (couldn't find anything that proves so on internet). And if possible, how do i do it?
iOS device can't be connected to two different wireless networks at the same time.
Even more: you can't programmatically switch between the two networks - user has
to do it trough the settings application.
So: if the device is on the same wireless network as your router (gateway to internet) then you'll have no problems connecting iOS to internet and to your classified device.
However: if classified device is on a seperate (possibly AdHoc) network then user will have to switch between connection to internet and connection to classified devices's wireless network.
If you're the designer of classified device it would be best if you can manage the connection trough wireless access point. This would be the only way to connect iOS device to your classified device and internet at the same time.