What protocols does KVM use to communicate with host machine? I'm trying to network analyzer but still it is not really clear.
Related
My case is the following: I will install some prototypes connected together with wifi (one device is the AP) in a distant site. I'd like to be able to remotely connect to my network for avoiding to travel.
As there will be 4G networks available there, I was wondering if a simple solution could be to have a smartphone connected to my wifi network, and use it to forward ssh client requests through 4G connection.
I have no idea if it's possible, how/depending on network operators, if there are standards and software (preferably android) for doing so.
Sorry it this question remains a bit vague, but any pointers would be appreciated.
There are also some 4G boxs that provide internet as wifi AP. I could change my network to connect to it, but I have no idea if I can reliabily get an address to this.
Thanks for your help.
A VPN server might be an option. Like DD-WRT on a router, or your own dedicated VPN server.
I'm totally new to DPDK and have some weird questions that I cannot figure out by myself.
Does DPDK require more than 1 NIC on my physical device? I saw some examples (l2fwd, l3fwd) that require 2 NICs, one is used for receiving packets and another one is used for transmitting packets.
Since DPDK takes control of NICs, could I still normally access the Internet if I bind my only NIC to DPDK? I mean doing some normal stuff like surfing the web with Firefox.
After binding the NICs, only DPDK applications can access those NICs, or is there any way that normal applications can access them?
I have been confused with these questions for days. Please purify my mind.
Thanks in advance :)
It depends on the application. In case of l2fwd, yes you need more than 1 NIC. Though, they don't have to be physical. You could create virtual NICs with VmWare or VirtualBox.
You won't be able to surf the web if you bind NIC to DPDK.
I think there is no other way.
For development, you could setup a virtual machine, with 2 virtual NICs for use by DPDK, and one to surf the web.
I'm playing with ovs-dpdk package https://github.com/01org/dpdk-ovs and one thing I don't clearly understand is how can I have OVS bridge and VMs connected to it get access to outside, ie. to the network. On a regular openvswitch the bridge device created by vswitch is 'visible' from linux and can be configured by regular tools (ifconfig, ethtool etc.), so I could create TAP interface and add it to vswitch bridge interface and assign the bridge interface IP address. However with ovs-dpdk this is not the case: any bridge created with ovs-vsctl is not avaialble in userspace linux, at least I don't see it with ifconfig or "ip link show".
Is there another method OVS-DPDK does this? Hopefully someone can shed some light for this problem. Thanks.
ovs-dpdk when it is using DPDK to access the NIC will take over the nic and not allow regular kernel drivers to do their thing.
This means that you will not see the interface any more from the linux host if you bind the hardware with the dpdk io driver. But you can bridge/tap/mirror inside ovs these raw dpdk interfaces in dpdk-ovs to your vm's or to another interface which is visible to the kernel's regular drivers. You just can't do it on the dpdk owned interfaces.
The whole point of integrating dpdk into ovs is to bypass all the kernel drivers and get packets to/from the vswitch as fast as possible so it can route them natively through to your VM's and other local interfaces as you set in your bridge configuration.
I boot my laptop w/o a LAN connection and get the link-local address 169.254.1.1
My local uPNP clients/servers start discovering one another and communicating.
Now I connect to my LAN and DHCP assigns me a proper routable IP address 10.0.0.4.
I would like my uPNP clients and servers to start interacting with others over the LAN.
Do all my clients and servers need to be written to detect this situation and restart their uPNP sessions or is there a better way? For example, is there a uPNP s/w libary that supports IP address changes internally?
thanks,
r
ohNet will detect changes in IP address and update devices, including switching them between network interfaces. Its a C++ library with bindings for C#, Java and C clients. It is liberally licensed and has ports available for desktop and mobile platforms.
Disclaimer: I'm not entirely unbiased here - I maintain the project.
I am creating an iPad app, which has to communicate with a WiFi enable device using TCP/IP protocol. I have the API sets of the device for communication. Now what i want is i would like to see whether the device is responding to the requests send via TCP/IP. Please suggest a good tool for MAC OS, where i can simulate the WiFi communication and get the response messages from the device.
Thanking you guys in advance
I have just started to use MAC OSX recently and I also have the same question as yours.
Luckily I have found a good tool that you can try:
https://packetsender.com/
It's multiplatform, support both TCP and UDP client/server.
If I get your question you may use telnet. With telnet you can establish a TCP connection with the device and communicate with it, sending and receiving messages.