You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having problems with certain system parameters not being accessible from within a Mininet host even though they are accessible from the host system.
Here are some outputs from both the host system and from within a Mininet host. It seems to be the same output regardless of if sudo or not is used in both cases.
I think it's relevant to note that creating hosts with inNamespace=False:
h1=net.addHost('h1', inNamespace=False) # don't spawn in net namespacesh2=net.addHost('h2', inNamespace=False) # don't spawn in net namespacesr1=net.addHost('r1', inNamespace=False) # don't spawn in net namespaces
results in me being able to see the system parameters from inside a Mininet host by running sysctl -a | grep mptcp. While this solves the access problem it seems to result in the network parameters that you can set for each Mininet host to be ignored.
I think I somehow need to figure out how I can mount the namespace or perhaps the "/proc/sys/net/mptcp" folder. Running mount --bind /proc/sys/net/mptcp from within a Mininet host just results it:
mount: /proc/sys/net/mptcp: mount point does not exist.
Best regards, Rasmus
The text was updated successfully, but these errors were encountered:
Hello,
I am having problems with certain system parameters not being accessible from within a Mininet host even though they are accessible from the host system.
After a clean install with the following:
I get the following output when running
sysctl -a | grep mptcp
outside Mininet:which is correct. But when I do the same from within a Mininet host by starting Mininet with the default topology:
sudo mn
and then running the sysctl command on, for instance, the h1 node:
mininet> h1 sysctl -a | grep mptcp
I dont get any output. In other words, the system parameters can't be found by sysctl -a from within a Mininet host.
Expected/Desired Behavior:
mininet> h1 sysctl -a | grep mptcp
=>
Actual Behavior:
mininet> h1 sysctl -a | grep mptcp
=>
Detailed Steps to Reproduce the Behavior
sudo mn
sysctl -a | grep mptcp
Additional Information
The following people seems to have had the same problem:
Here are some outputs from both the host system and from within a Mininet host. It seems to be the same output regardless of if
sudo
or not is used in both cases.ip netns identify $$
ls /proc/net/mptcp_net/
readlink /proc/self/ns/net
ls /proc/sys/net/mptcp
I think it's relevant to note that creating hosts with
inNamespace=False
:results in me being able to see the system parameters from inside a Mininet host by running
sysctl -a | grep mptcp
. While this solves the access problem it seems to result in the network parameters that you can set for each Mininet host to be ignored.I think I somehow need to figure out how I can mount the namespace or perhaps the "/proc/sys/net/mptcp" folder. Running
mount --bind /proc/sys/net/mptcp
from within a Mininet host just results it:Best regards, Rasmus
The text was updated successfully, but these errors were encountered: