network-interface Questions
0
I need to emulate a network, introducing for instance random delay, and I need help to use NetEm.
The scenario consists in two Ubuntu 14.04 machines: A and B.
A and B have ip addresses 192.168.0.1...
Aeolis asked 2/7, 2015 at 13:30
1
Solved
I wrote the following code to get the IPv4 address of the eth0 interface I am using on a machine. However the code only finds fe80:x:x:x:xxx:xxxx:xxxx:xxxx which is not returned since I am looking ...
Piotr asked 26/6, 2015 at 18:50
1
I have two processes and I am trying to simulate the situation where the two processes represent two switches which are connected by a wire. I want to be able to send a packet from one process to t...
Plant asked 9/10, 2014 at 2:48
1
In android, I have found network interface names & IP address associated with that interface by below code.
// Iterate over all network interfaces.
for (Enumeration<NetworkInterface> en ...
Pettit asked 9/7, 2014 at 7:7
3
Solved
Is this kind of link aggregation even possible?
On a Windows machine, there are several 3rd-party applications which make use of bonding and load balancing multiple network interfaces for increase...
Kosak asked 13/1, 2014 at 3:15
3
Solved
In either http.request or net.connect, is there an option that I can specify a network interface to initiate a connection?
EDIT: AFAIK in OS level I can specify address level, or load balancing in...
Hawkins asked 28/11, 2012 at 9:42
2
Solved
I would like to send a syn packet to my httpd server and get a responding syn-ack packet. But when I monitor with Wireshark, the packet is beeing sent by my local interface, lo and not eth0.
I ha...
Neuron asked 31/12, 2013 at 10:10
2
Solved
Given an IPv4 address, how can I obtain its associated network interface name, like "Ethernet adapter Local Area Connection", in Windows using C++? Alternately, how can I obtain a list of both netw...
Kerwon asked 25/6, 2013 at 3:56
0
I have two network adapters in Windows 7 environment, and both of them are connected to Internet:
Ethernet Adapter (local address 10.9.187.251, external address 32.181.63.52)
Wireless LAN Adapter...
Cogent asked 27/1, 2013 at 10:30
2
Solved
I have a PC with two network interfaces: eth0 and eth1.
eth0 - Has an ip of 192.168.11.X/24.
eth1 - Has an ip of 192.168.130.X/24. eth1 has internet connectivity.
How does my OS know which int...
Fogged asked 24/8, 2012 at 12:47
2
I have the following code:
f = urllib2.urlopen(url)
data = f.read()
f.close()
It's running on a machine with two network interfaces. I'd like to specify which interface I want the code to use. S...
Hebraist asked 23/11, 2011 at 16:37
1
Solved
I am trying out an example of obtaining advanced information about installed n/w devices from WinPcap.
I have even followed the instructions for including WinPcap library ,still the compiler compl...
Teague asked 10/3, 2011 at 7:22
1
I'm writing a UPnP AV/DLNA DMS which needs to send and receive SSDP messages. In response to some M-SEARCH packets I need to send a reply with the URL of a resource (in this case a HTTP server), wh...
Heartbreak asked 4/3, 2011 at 12:8
© 2022 - 2024 — McMap. All rights reserved.