https://github.com/multipath-tcp/mptcp/issues/470
VenkateswaranJ commented on Mar 20, 2022 • edited
Hi, I have created an lxc container (ubuntu 20.04) with privileged mode and my host machine has mptcp kernel installed ubuntu 20.04. For some reason, I don't see the file /proc/sys/net/mptcp_enabled inside the container. I can access the file on my host machine without issue. Please take a look at my container config
You can see that I even mapped the sys and proc files in the config
I even tried with Docker but experienced the same problem.
|
Hi,
I guess you can still mount /proc/sys/net/mptcp in a different directory in your container to be able to read/change values. (not sure it is recommended but well :) ) |
mptcp_net-next (mptcpv1) allows per namespace configuration.. |
This might not be related to mptcp but I'm asking it here as you guys have expertise in the Linux net. As you can see in the above image I have a Debian based docker container that is connected to two networks. So there are two bridges configured in my host and they get connected to the docker network namespace via veth links. I'm running a small program inside a docker container that detect IP change via rtnetlink. So now my task is to consider the bridge like a virtual switch and if I bring down the bridge interface in my host machine I expect the veth link between my host and docker to go down and the program (rtnetlink) inside my docker container detects this link down event. But unfortunately, nothing happens, even the IP address of both bridge and docker interface not removed. Maybe my understanding of veth links are wrong (I thought it react similarly to pulling out lan cable from the physical switch 标签:container,mptcp,image,sys,volatile,net,docker From: https://www.cnblogs.com/ztguang/p/18244934相关文章
|