Questions tagged [network-interface]
Anything related to network interfaces, i.e. the hardware subsystems that allow systems to connect to a network. DO NOT USE this tag for purely hardware-related questions, which are off-topic on SO.
network-interface
300
questions
0
votes
0
answers
11
views
Dnsmasq printed out "forwarded to" correctly but tx count of network interface is not increased
I have problem about working of dnsmasq.
To forward dns queries from other devices to external network, I used dnsmasq v2.86.
When problem was happened, dnsmasq printed out forward log successfully ...
0
votes
0
answers
25
views
How to confirm multicast packets flow to specified network interface with python socket?
My Os is Linux, CentOS7.
I want to write a multicast sender that sends UDP packets periodly, and want to confirm the UDP packets flow to specified network interface. In my system, I have 6 interface, ...
1
vote
0
answers
139
views
How to add a second permanent private IP to ec2 instance via cloudfomation
I'm running an EC2 instance through ECS and I have a requirement where I need two private IP addresses for my instance:
The default primary IP address that gets assigned automatically (this can change ...
2
votes
0
answers
148
views
How to create a veth pair without ip command in c
Is there a way to use syscalls like ioctl or netlink to create a veth pair. Generally the common way for veth pair creation is using ip command -
ip link add dev veth1 type veth peer name veth2
How ...
0
votes
1
answer
82
views
Azure - create VM instance with IP using API
I would like to spawn new instances of my image by using a nodejs API.
I already create a network interface (NIC) and an IP for this.
But when the VM instance is created, i do not see my public IP.
...
0
votes
0
answers
143
views
Network Interface Error and NicInUse error on Azure when creating VM from image using typescript & react
I have an Azure subscription and an image I created.
Now, using my typescript / react code, I'd like to spawn more instances of the image I have.
Here's the code I have:
// pages/api/azure-create-...
-2
votes
1
answer
309
views
"GENERAL FAILURE" ping 127.0.0.1 after `route delete` and `route add` restoring [closed]
alt spelling: https://forums.tomshardware.com/threads/restart-software-loopback-interface.2880183/
is there a way to restart Software Loopback Interface without restarting windows ?
to reproduce:
...
0
votes
1
answer
334
views
Configure dds in config file to work with 2 network interfaces
How can I configure RTI DDS in the user_QoS_profiles.xml config file to work on a device with 2 NICs(network interface card)?
I want that the publisher(datawriter) sends data with one NIC and the ...
0
votes
1
answer
422
views
router interface list reading through ssh and python script to read traffic over a particular interface
Hello everyone، I am new to python and netmiko. I want to read multiple interfaces on a Cisco router to monitor live traffic's by using python script through a netmiko ssh connection.
There should be ...
3
votes
1
answer
2k
views
AWS change primary public IPv4 for an NAT Gateway
I'm having an private subnet and a NAT gateway connected to it. The NAT gateway has its own primary public IPv4 assigned by default while creating.
I have an EC2 inside the private subnet which is ...
1
vote
0
answers
70
views
Binding socket to a network interface ip transfers data through loopback
I'm running some experiments regarding network communication and wrote a simple client-server application using the IP address of a specific network interface. Here is a sample:
server.c
serv_addr....
0
votes
0
answers
74
views
Measure baseline Linux network stack bandwidth for a specific network interface
I'm running Linux on x86_64 and in my network configuration eth0 is bind to the ip address 20.20.20.20.
I'm trying to measure a baseline network stack bandwith on my stack for eth0. By baseline ...
2
votes
0
answers
195
views
ioctl() invocation with 'SIOCGIWNAME' returns EOPNOTSUPP for wireless interface
I'm trying to run the following code in the native stack of my app on Pixel 6 running Android 13. Unfortunately, the ioctl() API invocation for the wireless interface wlan0 is returning error code 95 (...
1
vote
0
answers
10
views
Boost::asio linux tcp client - how to set network interface? [duplicate]
I want to use boost::asio for simple TCP client on linux, but I need to set up a network interface through which the client will communicate. Is this possible in boost::asio?
Here is a piece of code ...
0
votes
1
answer
2k
views
Unable to retrieve MAC address on Android 11 and above using getHardwareAddress()
I have been using the following code snippet to retrieve the MAC address on Android devices running 9 and 10 successfully: But this function is not working on android 11 and above
public String ...