Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Running application in network namespace

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
metalfan
Posts: 79
Joined: 2011-02-04 14:30

Running application in network namespace

#1 Post by metalfan »

Hi,



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
but this one:

Code: Select all

ifconfig veth-b up 192.168.163.254 netmask 255.255.255.0
fails with:

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?

Post Reply