today ive run some old code that creates a network namespace and allows me to run appliations to capture all traffic they produce with wireshark,
but today the commands did not run without error, its been some time since i last used them
the first four are ok and run without complaining:
Code: Select all
ip netns add test
ip link add veth-a type veth peer name veth-b
ip link set veth-a netns test
ip netns exec test ifconfig veth-a up 192.168.163.1 netmask 255.255.255.0
Code: Select all
ifconfig veth-b up 192.168.163.254 netmask 255.255.255.0
Code: Select all
veth-b: ERROR while getting interface flags: Kein passendes Gerät gefunden
SIOCSIFADDR: Kein passendes Gerät gefunden
veth-b: ERROR while getting interface flags: Kein passendes Gerät gefunden
SIOCSIFNETMASK: Kein passendes Gerät gefunden
now why is that?