Skip to main content

Questions tagged [network-namespaces]

The tag has no usage guidance.

0 votes
1 answer
24 views

What happens with bridge packets after they arrive at bridge?

Hello I have a simple setup for explanation purposes created with following scripts:` env.sh CON1="con1" CON2="con2" NODE_IP="10.0.0.20" TUNNEL_IP="172.16.1.100&...
TheCoolDrop's user avatar
0 votes
0 answers
18 views

Cannot find how to create network namespace in udev rule

I want to write a udev rule (ACTION=add) that will create a new network namespace, move the newly added device to it and exec some commands inside it. I was using irpoute2 to do so (Inside the rule): ...
Bijan Veyssi-galmiche's user avatar
0 votes
1 answer
27 views

Debian network namespace isolation

I have an AppImage which I need to run 3 instances of, concurrently. Each instance will use it's own profile (Home directory). That's all very easy: HOME=/home/user/home AppName.appimage Now the ...
rogerwhite's user avatar
1 vote
1 answer
98 views

Connecting two network namespaces over a bridge

I'm trying to make one network namespace to be able to ping another namespace via a bridge. Here are the commands I'm executing: # create two namespaces ip netns add ns0 ip netns add ns1 # create a ...
AhmedWas's user avatar
  • 247
0 votes
0 answers
34 views

How does k3s expose nodeports on linux?

I am investigating connectivity issues where k3s nodeport only accepts incommoding connections on one ip/interface but not on others. During this I realized that ports exposed using k3s nodeport do ...
Diydumbster's user avatar
0 votes
0 answers
15 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,848
0 votes
0 answers
22 views

How to forward received data towards network namespace?

My goal is to forward received data to another pc. I have three devices (A, B and C) connected into the same network. A uses pyzmq to publish data in which B is subscribed. Then, B must send this ...
Raúl Parada Medina's user avatar
0 votes
1 answer
233 views

systemd Fails to Create Network Namespace after Debian Update

I'm running my own flavor of Debian (trixie, 6.1.0-9-amd64). I had set up a custom systemd service to establish a network namespace and route VPN traffic through it (which has worked flawlessly for ...
stevo1977's user avatar
2 votes
0 answers
169 views

Application does DNS outside of its Network Namespace?

I am using unshare to create a network namespace: unshare -rn bash I already have the a working setup with veth-interfaces as described in this guide: https://josephmuia.ca/2018-05-16-net-namespaces-...
Aykut's user avatar
  • 21
0 votes
1 answer
709 views

Running Application in Specific Network Namespace Without Sudo?

I am trying to run google-chrome with a specific network namespace, but when I do there is no audio. I run the command so that it is running in the network namespace as follows: sudo ip netns exec ...
Mark's user avatar
  • 11
3 votes
1 answer
651 views

Separate network namespaces for different users?

I'm running Arch Linux on a laptop. What I want to achieve: Multiple users When each user logs in on a tty (which could be while another user is logged in on another tty---they're all me), they're in ...
user747267's user avatar
1 vote
0 answers
107 views

How to forward packets between net namespaces?

I have a lima VM with linux running Ubuntu 23.04 with kernel 6.2 and cgroupsv2. This VM is meant to serve as docker host. When I create docker network in this VM I get an interface in its own ...
Patryk's user avatar
  • 14.3k
2 votes
1 answer
99 views

Redirecting locally originated traffic with DNAT in OUTPUT chain not working as expected

I am having a dumb, and I am hoping you lovely people can jumpstart my brain. I am running a service in a local network namespace. The namespace looks like this: # ip -n ns1 addr 1: lo: <LOOPBACK,...
larsks's user avatar
  • 36k
2 votes
1 answer
388 views

Root network namespace as transit between 2 other net namespaces

I am trying to communicate between two network namespaces that are connected through the root namespaces using veth pairs as seen in the diagram. I am unable to perform a ping from netns A to netns B. ...
Rahul Raj Purohit's user avatar
1 vote
0 answers
67 views

Pipewire sound card hijacked by netns

I sometimes run my browser in a VPN netns, like this: sudo ip netns exec vpnns sudo -u myuser google-chrome & This works great, except sometimes it seems that the netns "steals" the ...
Thomas's user avatar
  • 228

15 30 50 per page
1
2 3 4 5
10