Questions tagged [network-interface]

hardware (or its representation by software) that connects a computing device (host) to a computer network (net)

Filter by
Sorted by
Tagged with
-3 votes
1 answer
54 views

Debian 11 DHCP Configuration

I am having trouble configuring an interface to use DHCP in Debian 11. Thus, I have my static attempt in /etc/network/interfaces like this: source /etc/network/interfaces.d/* auto lo iface lo inet ...
RRF_user24527818's user avatar
1 vote
1 answer
26 views

How to reset status of a network adapter before assigning the name in a udev ruleset?

Part 4 of the problem with the usb3 nic interfaces after debian 6.1.0-20 kernel update. See the other posts here: Debian 12 - All of sudden my USB3 Lan adapter get assigned random mac address each ...
user3450548's user avatar
  • 2,932
0 votes
1 answer
16 views

Use usb path of an usb nic address in udev rules in order to assign an interface name instead of mac address

Related to: Debian 12 - All of sudden my USB3 Lan adapter get assigned random mac address each reboot Use parrent attribute "serial" in UDEV configuration to assign lan interface another ...
user3450548's user avatar
  • 2,932
1 vote
1 answer
37 views

Use parrent attribute "serial" in UDEV configuration to assign lan interface another name instead of relying on the mac address

Given this kernel problem awaiting to be fixed and that randomly assign mac address to this usb3 lan adapters: Debian 12 - All of sudden my USB3 Lan adapter get assigned random mac address each reboot ...
user3450548's user avatar
  • 2,932
0 votes
0 answers
9 views

Virtual interface pair forwarding packets to each other

The goal is very simple: anything sent to pair1, as outgoing packet, should appear on pair0 as an incoming packet and vice versa. I am thinking on a layer3-only, virtual interface now. tun could do ...
peterh's user avatar
  • 9,733
1 vote
0 answers
24 views

Is it possible to configure Ethertype DSA VLAN tagging on an Ethernet port that has a real PHY connection to the outside world?

I am working on an embedded system that will connect a processor running Linux to an Ethernet switch via a "conduit" Ethernet link (e.g. eth0) using the port-based Ethertype DSA (Marvell) ...
srl100's user avatar
  • 11
3 votes
1 answer
32 views

Which is My Static IPv6 Interface Identifier?

I've been accustomed to IPv4 for so long and I'm really unfamiliar with IPv6. I recently wanted to add a firewall rule to my OpenWRT router to allow inbound IPv6 connection to a certain port of my ...
citrate's user avatar
  • 141
3 votes
2 answers
104 views

How does the Linux Kernel store hardware TX and RX filter modes?

I am working on a C program which gets the timestamping information for a given network interface, like my own version of ethtool. My goal is to get the information printed by $ ethtool -T myNetIf. ...
Robbie's user avatar
  • 63
3 votes
1 answer
86 views

Why is my WiFi is always hard-blocked on my HP Pavilion G6?

I wish you could help me with this matter which is WiFi hard blocked in my Linux machine and can't get the WiFi up. My device is an HP Pavilion G6 and WiFi card is Ralink 5390; the default of the ...
Mike Walter's user avatar
0 votes
0 answers
17 views

Configure BFD OSPF (FRR 3.0.4)

I installed an old version of FRR (v. 3.0.4) and can't figure out why ospf bfd is not working. How to turn it on correctly? I couldn't find user guide documentation for old version of FRR. ...
Fidelity's user avatar
1 vote
1 answer
10 views

Trying to conifugre bridge on GRE interface, facing issue

I have created an ipv6 tunnel by using the following commands: ip link add gre_test type ip6gre remote 2001:4860:4860::8888 local ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ttl 255 removed actual ipv6 ...
vrax's user avatar
  • 11
1 vote
2 answers
93 views

Machine MAC address with Ubuntu on top of WSL2

Running Ubuntu 22.04.3 LTS on top of WSL2 Output of ifconfig: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1492 inet 172.28.193.11 netmask 255.255.240.0 broadcast 172.28.207.255 ...
yossi-matkal's user avatar
0 votes
0 answers
7 views

Routing Rx and Tx traffic to/from a port on separate interfaces

I have a Guest OS that looks sort of like this: Host OS Guest OS Intranet --- eth0 -------|--- eth0 / eth1_in <--|--< eth1 <--\ <some app> | ...
Ken Y-N's user avatar
  • 253
2 votes
0 answers
126 views

Predictable network interface names with BusyBox

I want to map each hardware NIC to a specific linux network interface (ethX) persistently, as currently when an ethernet cable is reconnected, it picks an interface seemingly at random. This is ...
px-wgraj's user avatar
0 votes
0 answers
25 views

Is it correct to physically remove a PCI-E device after 'removing' it via sysfs?

Sometimes I have to replace a PCI Express device, for example a network card (NIC) on a Linux server. I was always wondering if it is possible to do without downtime. I had success with adding new ...
melonfsck's user avatar
  • 143
0 votes
0 answers
20 views

how to get network interfaces in linux of my docker containers

i launch some docker nginx containers liket that : docker run --rm -d nginx docker run --rm -d nginx docker run --rm -d nginx then i get the ip adresses of my containers, by doing.. docker inspect ...
new-temporary's user avatar
2 votes
0 answers
36 views

Prevent process from performing network scan

On a linux 20.04 LTS, I'm trying to stop a process from entering promiscuous mode and/or from scanning my network. To be more specific, I'll have to install LsAgent from LANSWEEPER in a company's ...
Alberto Pires's user avatar
0 votes
0 answers
14 views

How to find out, which network device is created by an USB port?

I see a networking device in the USB bus: lsusb shows it well and it looks working well. As a network device, it also generates a network interface. Yes, ip link ls shows them, and some of them is ...
peterh's user avatar
  • 9,733
1 vote
0 answers
17 views

USBGuard issue with Realtek NIC on Dell Tablet and Docking Station

I am facing an issue with a Dell Tablet running RHEL 8.9 and utilizing a non-Dell docking station. The docking station is equipped with a Realtek NIC, and I've configured usbguard to manage USB device ...
hypersonics's user avatar
0 votes
1 answer
98 views

Connect IPSEC VPN to network interface

I have a StrongSwan IPSEC VPN configured on my Ubuntu 22.04.4 LTS server. The VPN starts up and connects to the primary interface (eno1) successfully. Using qBittorrent, I bind to the IP Address that ...
furnaceX's user avatar
0 votes
0 answers
43 views

linux Invalid ip_forward setting

The Linux system I customized runs on device A, which uses an ARM processor. Device A has two network cards: eth2 (fixed IP: 192.168.5.1) and wlan2 (fixed IP: 192.168.1.6). wlan2 is a USB to WiFi ...
Vimer's user avatar
  • 67
0 votes
0 answers
36 views

Why does the use of traceroute not display the IP address of the route?

My device A uses a Linux customized system and an ARM processor, with two network ports: eth1 (ip: 192.168.1.1) and wlan1 (ip: 192.168.1.6). wlan1 uses a wireless transmitter, so it can be assigned an ...
Vimer's user avatar
  • 67
0 votes
0 answers
59 views

Customized Linux system, wired and wireless connectivity interoperability?

The Linux system I customized runs on device A, which uses an ARM processor. Device A has an eth2 (fixed IP 192.168.5.1) and a wlan2, which is a wireless transmitter with a fixed IP 192.168.1.6. My ...
Vimer's user avatar
  • 67
1 vote
1 answer
123 views

How to create a linux vlan aware bridge with ingress packets untagged and egress packets tagged

I am trying to implement an obscure workaround to a specific problem tied to a switch misconfiguration I observe in a real case scenario. Please just assume the following : My system is plugged to a ...
Almandin's user avatar
7 votes
3 answers
2k views

How to find unspoofed MAC address of NIC

In Red Hat Enterprise Linux (RHEL) 8, if someone does ifconfig eth0 hw ether abcd12341234, all I know is ifconfig and ip -a, so then is there a way to reliably get the real MAC address of that eth0 ...
ron's user avatar
  • 6,647
0 votes
1 answer
105 views

Setting PIN code for ZTE USB 4G Modem recognized as CDC Ethernet device in Linux

Currently facing an issue with setting the PIN code for a ZTE USB 4G modem on a Raspberry Pi 4 (running Rasbian Bookworm). The modem is recognized as a CDC Ethernet device (cdc_ether kernel module), ...
user3607022's user avatar
0 votes
1 answer
129 views

Configure access point on Ubuntu 20.04 with the wwan0 interface

I have Ubuntu 20.04 running on Raspberry Pi4 and have a 5G HAT to get it connected to the internet. I have a wwan0 network interface with the IP. Now I'd like to make this network available as an ...
Liudmila Dobriakova's user avatar
2 votes
2 answers
150 views

How do i start kea-dhcp server with multiple interfaces when first interface in the "interface" list is down

I am very new to kea-dhcp. I am trying to use kea-dhcp 2.0.1 version. below is my interface configuration mentioned in "dhcp.conf" "Dhcp4": { "interfaces-config": { ...
Pranathi's user avatar
0 votes
0 answers
72 views

Troubles setting up fixed IP on Debian 12 VM

I've got Debian 12 VM running on an Macbook (M2) using Lima. I have added a 2nd network to it which created a lima0 network interface in the the Debian VM. By default it tries to get its address from ...
MLu's user avatar
  • 2,100
1 vote
1 answer
81 views

What is header-data split and why it's needed for TCP_ZEROCOPY_RECEIVE page alignment?

I'm currently investigating about TCP_ZEROCOPY_RECEIVE and I read that it requires header-data split support of NIC. As far as I understand, this feature is to DMA the header (IP, TCP headers) and ...
Sangyeop Lee's user avatar
0 votes
1 answer
28 views

iptables: Reroute incoming TCP traffic on port to IP inside VPN network

I have a remote server with an open port. This server is connected to a VPN network. My local computer is also connected to this VPN network. So, the two computers can communicate. What I'd like to do ...
winwin's user avatar
  • 145
0 votes
0 answers
93 views

How to set default metric on IPv6 route received by RA message

I have two ipv6 interfaces(eth1 and eth2), that receives an IP via DHCP(dhclient is used), but the routes are received via RA messages from switch, to which these interfaces are connected. Since RA ...
lucky_rydar's user avatar
0 votes
0 answers
31 views

How to create a second GUE tunnel on a different port

How can multiple GUE tunnels be created in the same (default) network namespace with the same remote IP address, but different ports? So far, I've been successfully able to create exactly one GUE ...
randunel's user avatar
  • 101
1 vote
1 answer
79 views

Tinyproxy: listening and binding on different NICs (eth0, eth1). Routing issues

On a Linux server I have 2 NICs: eth0 and eth1. The server has the IPs: 192.168.2.200/24 on eth0 192.168.3.200/24 on eth1 Both the networks have the default subnet mask (255.255.255.0) and the ...
Niccolò's user avatar
0 votes
1 answer
87 views

KVM VM on bridge to host not getting IP address

I have a host with 4 ethernet ports. I want to assign eno1 to VM1, eno2 to VM2 and so on... eno1, eno2 , eno3 and eno4 each have static IPs. I want VM01 to have the static IP of eno2. For that purpose ...
rajeev's user avatar
  • 245
1 vote
1 answer
255 views

What does qlen 1000 mean for a noqueue qdisc

ip addr show output from within a Kubernetes pod root@customer-fd99fb7dc-82hrr:/app# ip -c addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ...
goutham's user avatar
  • 113
0 votes
0 answers
107 views

How enable private network for custom linux on contabo?

I have a private network on Contabo VPS publicIP1 10.0.0.1 publicIP2 10.0.0.2 publicIP3 10.0.0.3 and when I used default Linux with cloud-init, contabo added private IP for me, but now I use Talos, ...
batazor's user avatar
  • 101
0 votes
0 answers
16 views

Mixed Loopback/Interface UDP request

I'm not sure if this is the most correct spot for this question, if not please let me know and I'll move it. This is my set up: pihole running in a rootless podman container using slirp4netns. The ...
John's user avatar
  • 1
1 vote
1 answer
147 views

50-udev-default.rules: Unknown builtin command: net_driver, lost internet connection

I'm running an Arch-based distro, and after doing a substantial update lost my internet connection (both wifi and ethernet). I'm able to roll back all of the changes and get it back, but would ...
The Renaissance's user avatar
2 votes
1 answer
137 views

Linux: prevent two default routes from being added

I have a "host" Raspberry Pi with wlan0 and some USB ports. I have another "client" Pi that I connect to the host Pi via USB cable (the client Pi has no other network interfaces ...
rob_7cc's user avatar
  • 381
1 vote
1 answer
165 views

Losing network connectivity when laptop lid is cloed

I have a debian 12 installation in my ASUS ROG G15 laptop. I wanted to configure it so that it doesn't suspend when the laptop lid is closed. The method I tried the first was this which worked. I got ...
Kavishka Gihan's user avatar
0 votes
1 answer
76 views

Network disconnecting and connecting randomly

When I’m working on the computer the network sometimes disconnects and connects again multiple times. This happens irregularly and I cannot reproduce it. Does anyone have an idea how I could approach ...
Bumblebee's user avatar
  • 101
0 votes
3 answers
4k views

MT7902 driver for Ubuntu

I recently purchased a laptop from Asus (Asus X1504VA) and installed Ubuntu 22.04.3 LTS on it.  But I'm having trouble with the Wi-Fi adapter. Specs are follows: Laptop model: Asus X1504VA OS: Ubuntu ...
Loay's user avatar
  • 101
0 votes
0 answers
68 views

Linux interface name changes from eno0 to eno0s1 after kernel upgrade

On Ubuntu 22.04 with kernel v5.16, the network interface is named eno1. However, after upgrading to kernel v6.7, the interface name became eno1s0. Why did this change happen? Can I force the kernel to ...
Karim Manaouil's user avatar
1 vote
1 answer
279 views

Setting MTU does not work from systemd-networkd, but works from 'ip link set mtu'

I'm trying to change an MTU of an interface. I've noticed it does not change correctly when using systemd-networkd, but it works when I use the ip link set mtu command. Current MTU is 1500: 3: eth0: &...
hudac's user avatar
  • 779
0 votes
1 answer
2k views

raise network interfaces - debian 12

I'm trying to add one main IP, two extra IP and one IP6. Here is my interfaces file located at /etc/network/interfaces: source /etc/network/interfaces.d/* auto lo iface lo inet loopback allow-hotplug ...
ramed rafie's user avatar
0 votes
1 answer
106 views

Communicate With Multiple Devices Using One IP

I am working on a project where I have to communicate with multiple devices (same manufacturer, same model) from my Linux (Ubuntu 20.04) computer. For simplicity, I will stick to two devices, named A ...
IAmHereForOneQuestion's user avatar
0 votes
1 answer
55 views

tcpdump doesn't appear to call any libpcap's exported function

Digging into tcpdump implementation, I can see that it actually loads the libpcap.so dynamic library in userspace. However, by use of strace, I can't see any occurrence of calls to any function ...
Carlo C's user avatar
0 votes
0 answers
35 views

Iptables redirect outside requests to 127.0.0.1 (VirtualBox)

I have a guest virtual machine installed with the output: ifconfig: enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 inet6 ...
moninah's user avatar
  • 15
0 votes
0 answers
146 views

driver for RTL810xE

I have r8168 installed which I have read is compatible for this device but it is not being accepted :> lsmod | grep r8 r8168 266240 0 Here is the device from lshw. *-network ...
Stephen Boston's user avatar

1
2 3 4 5
29